Files
boc/aamos-ledger-rust/target/debug/.fingerprint/aamos-api-c01c261d5a5f0296/output-bin-aamos-api
T
Bernt bae705aa97 ARCHITECTURE: NFC roadmap, edge AI, audit logging
- Add NFC ePassport roadmap (ICAO 9303, eIDAS)
- Add TensorFlow.js edge face detection (BlazeFace)
- Add structured audit logger (GDPR-compliant)
- Risk scoring support

Part of KYC Apple Native UX v1.1.0
2026-06-29 16:24:48 +00:00

199 lines
785 KiB
Plaintext

{"$message_type":"diagnostic","message":"set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache","code":null,"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":15762,"byte_end":15813,"line_start":317,"line_end":317,"column_start":9,"column_end":60,"is_primary":true,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query)","highlight_start":9,"highlight_end":60}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":15762,"byte_end":15813,"line_start":317,"line_end":317,"column_start":9,"column_end":60,"is_primary":false,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query)","highlight_start":9,"highlight_end":60}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"crates/aamos-api/src/routes/payroll.rs","byte_start":852,"byte_end":1141,"line_start":41,"line_end":49,"column_start":16,"column_end":6,"is_primary":false,"text":[{"text":" let rows = sqlx::query!(","highlight_start":16,"highlight_end":29},{"text":" r#\"","highlight_start":1,"highlight_end":12},{"text":" SELECT id, tenant_id, period, run_date, status,","highlight_start":1,"highlight_end":56},{"text":" total_gross, total_tax, total_net, total_employer_fees,","highlight_start":1,"highlight_end":71},{"text":" journal_entry_id, created_at, updated_at","highlight_start":1,"highlight_end":56},{"text":" FROM ledger_payroll_runs","highlight_start":1,"highlight_end":33},{"text":" ORDER BY run_date DESC","highlight_start":1,"highlight_end":31},{"text":" \"#","highlight_start":1,"highlight_end":11},{"text":" )","highlight_start":1,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"sqlx::query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":15636,"byte_end":15654,"line_start":314,"line_end":314,"column_start":1,"column_end":19,"is_primary":false,"text":[{"text":"macro_rules! query (","highlight_start":1,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"$crate::sqlx_macros::expand_query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-macros-0.8.6/src/lib.rs","byte_start":116,"byte_end":170,"line_start":9,"line_end":9,"column_start":1,"column_end":55,"is_primary":false,"text":[{"text":"pub fn expand_query(input: TokenStream) -> TokenStream {","highlight_start":1,"highlight_end":55}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}}],"children":[],"rendered":"\u001b[1m\u001b[91merror\u001b[0m\u001b[1m: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/payroll.rs:41:16\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m41\u001b[0m \u001b[1m\u001b[94m|\u001b[0m let rows = sqlx::query!(\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m ________________^\u001b[0m\n\u001b[1m\u001b[94m42\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m r#\"\n\u001b[1m\u001b[94m43\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m SELECT id, tenant_id, period, run_date, status,\n\u001b[1m\u001b[94m44\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m total_gross, total_tax, total_net, total_employer_fees,\n\u001b[1m\u001b[94m...\u001b[0m \u001b[1m\u001b[91m|\u001b[0m\n\u001b[1m\u001b[94m48\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m \"#\n\u001b[1m\u001b[94m49\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m )\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|_____^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)\n\n"}
{"$message_type":"diagnostic","message":"set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache","code":null,"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":16544,"byte_end":16615,"line_start":328,"line_end":328,"column_start":9,"column_end":80,"is_primary":true,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query, args = [$($args)*])","highlight_start":9,"highlight_end":80}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":16544,"byte_end":16615,"line_start":328,"line_end":328,"column_start":9,"column_end":80,"is_primary":false,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query, args = [$($args)*])","highlight_start":9,"highlight_end":80}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"crates/aamos-api/src/routes/payroll.rs","byte_start":2160,"byte_end":2452,"line_start":85,"line_end":94,"column_start":15,"column_end":6,"is_primary":false,"text":[{"text":" let row = sqlx::query!(","highlight_start":15,"highlight_end":28},{"text":" r#\"","highlight_start":1,"highlight_end":12},{"text":" SELECT id, tenant_id, period, run_date, status,","highlight_start":1,"highlight_end":56},{"text":" total_gross, total_tax, total_net, total_employer_fees,","highlight_start":1,"highlight_end":71},{"text":" journal_entry_id, created_at, updated_at","highlight_start":1,"highlight_end":56},{"text":" FROM ledger_payroll_runs","highlight_start":1,"highlight_end":33},{"text":" WHERE id = $1","highlight_start":1,"highlight_end":22},{"text":" \"#,","highlight_start":1,"highlight_end":12},{"text":" id","highlight_start":1,"highlight_end":11},{"text":" )","highlight_start":1,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"sqlx::query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":15636,"byte_end":15654,"line_start":314,"line_end":314,"column_start":1,"column_end":19,"is_primary":false,"text":[{"text":"macro_rules! query (","highlight_start":1,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"$crate::sqlx_macros::expand_query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-macros-0.8.6/src/lib.rs","byte_start":116,"byte_end":170,"line_start":9,"line_end":9,"column_start":1,"column_end":55,"is_primary":false,"text":[{"text":"pub fn expand_query(input: TokenStream) -> TokenStream {","highlight_start":1,"highlight_end":55}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}}],"children":[],"rendered":"\u001b[1m\u001b[91merror\u001b[0m\u001b[1m: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/payroll.rs:85:15\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m85\u001b[0m \u001b[1m\u001b[94m|\u001b[0m let row = sqlx::query!(\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m _______________^\u001b[0m\n\u001b[1m\u001b[94m86\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m r#\"\n\u001b[1m\u001b[94m87\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m SELECT id, tenant_id, period, run_date, status,\n\u001b[1m\u001b[94m88\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m total_gross, total_tax, total_net, total_employer_fees,\n\u001b[1m\u001b[94m...\u001b[0m \u001b[1m\u001b[91m|\u001b[0m\n\u001b[1m\u001b[94m93\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m id\n\u001b[1m\u001b[94m94\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m )\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|_____^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)\n\n"}
{"$message_type":"diagnostic","message":"set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache","code":null,"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":16544,"byte_end":16615,"line_start":328,"line_end":328,"column_start":9,"column_end":80,"is_primary":true,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query, args = [$($args)*])","highlight_start":9,"highlight_end":80}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":16544,"byte_end":16615,"line_start":328,"line_end":328,"column_start":9,"column_end":80,"is_primary":false,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query, args = [$($args)*])","highlight_start":9,"highlight_end":80}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"crates/aamos-api/src/routes/payroll.rs","byte_start":2572,"byte_end":2779,"line_start":99,"line_end":106,"column_start":21,"column_end":6,"is_primary":false,"text":[{"text":" let employees = sqlx::query!(","highlight_start":21,"highlight_end":34},{"text":" r#\"","highlight_start":1,"highlight_end":12},{"text":" SELECT employee_id, name, gross_salary, tax_deduction, net_salary, employer_fees","highlight_start":1,"highlight_end":89},{"text":" FROM ledger_payroll_employees","highlight_start":1,"highlight_end":38},{"text":" WHERE run_id = $1","highlight_start":1,"highlight_end":26},{"text":" \"#,","highlight_start":1,"highlight_end":12},{"text":" id","highlight_start":1,"highlight_end":11},{"text":" )","highlight_start":1,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"sqlx::query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":15636,"byte_end":15654,"line_start":314,"line_end":314,"column_start":1,"column_end":19,"is_primary":false,"text":[{"text":"macro_rules! query (","highlight_start":1,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"$crate::sqlx_macros::expand_query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-macros-0.8.6/src/lib.rs","byte_start":116,"byte_end":170,"line_start":9,"line_end":9,"column_start":1,"column_end":55,"is_primary":false,"text":[{"text":"pub fn expand_query(input: TokenStream) -> TokenStream {","highlight_start":1,"highlight_end":55}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}}],"children":[],"rendered":"\u001b[1m\u001b[91merror\u001b[0m\u001b[1m: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/payroll.rs:99:21\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 99\u001b[0m \u001b[1m\u001b[94m|\u001b[0m let employees = sqlx::query!(\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m _____________________^\u001b[0m\n\u001b[1m\u001b[94m100\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m r#\"\n\u001b[1m\u001b[94m101\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m SELECT employee_id, name, gross_salary, tax_deduction, net_salary, employer_fees\n\u001b[1m\u001b[94m102\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m FROM ledger_payroll_employees\n\u001b[1m\u001b[94m...\u001b[0m \u001b[1m\u001b[91m|\u001b[0m\n\u001b[1m\u001b[94m105\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m id\n\u001b[1m\u001b[94m106\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m )\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|_____^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)\n\n"}
{"$message_type":"diagnostic","message":"set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache","code":null,"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":16544,"byte_end":16615,"line_start":328,"line_end":328,"column_start":9,"column_end":80,"is_primary":true,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query, args = [$($args)*])","highlight_start":9,"highlight_end":80}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":16544,"byte_end":16615,"line_start":328,"line_end":328,"column_start":9,"column_end":80,"is_primary":false,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query, args = [$($args)*])","highlight_start":9,"highlight_end":80}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"crates/aamos-api/src/routes/payroll.rs","byte_start":4663,"byte_end":5023,"line_start":160,"line_end":172,"column_start":5,"column_end":6,"is_primary":false,"text":[{"text":" sqlx::query!(","highlight_start":5,"highlight_end":18},{"text":" r#\"","highlight_start":1,"highlight_end":12},{"text":" INSERT INTO ledger_payroll_runs","highlight_start":1,"highlight_end":40},{"text":" (id, tenant_id, period, run_date, status, total_gross, total_tax,","highlight_start":1,"highlight_end":76},{"text":" total_net, total_employer_fees, trace_id)","highlight_start":1,"highlight_end":53},{"text":" VALUES ($1, $2, $3, $4, 'draft', 0, 0, 0, 0, $5)","highlight_start":1,"highlight_end":57},{"text":" \"#,","highlight_start":1,"highlight_end":12},{"text":" id,","highlight_start":1,"highlight_end":12},{"text":" req.tenant_id,","highlight_start":1,"highlight_end":23},{"text":" req.period,","highlight_start":1,"highlight_end":20},{"text":" run_date,","highlight_start":1,"highlight_end":18},{"text":" trace_id,","highlight_start":1,"highlight_end":18},{"text":" )","highlight_start":1,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"sqlx::query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":15636,"byte_end":15654,"line_start":314,"line_end":314,"column_start":1,"column_end":19,"is_primary":false,"text":[{"text":"macro_rules! query (","highlight_start":1,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"$crate::sqlx_macros::expand_query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-macros-0.8.6/src/lib.rs","byte_start":116,"byte_end":170,"line_start":9,"line_end":9,"column_start":1,"column_end":55,"is_primary":false,"text":[{"text":"pub fn expand_query(input: TokenStream) -> TokenStream {","highlight_start":1,"highlight_end":55}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}}],"children":[],"rendered":"\u001b[1m\u001b[91merror\u001b[0m\u001b[1m: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/payroll.rs:160:5\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m160\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m/\u001b[0m sqlx::query!(\n\u001b[1m\u001b[94m161\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m r#\"\n\u001b[1m\u001b[94m162\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m INSERT INTO ledger_payroll_runs\n\u001b[1m\u001b[94m163\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m (id, tenant_id, period, run_date, status, total_gross, total_tax,\n\u001b[1m\u001b[94m...\u001b[0m \u001b[1m\u001b[91m|\u001b[0m\n\u001b[1m\u001b[94m171\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m trace_id,\n\u001b[1m\u001b[94m172\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m )\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|_____^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)\n\n"}
{"$message_type":"diagnostic","message":"set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache","code":null,"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":16544,"byte_end":16615,"line_start":328,"line_end":328,"column_start":9,"column_end":80,"is_primary":true,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query, args = [$($args)*])","highlight_start":9,"highlight_end":80}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":16544,"byte_end":16615,"line_start":328,"line_end":328,"column_start":9,"column_end":80,"is_primary":false,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query, args = [$($args)*])","highlight_start":9,"highlight_end":80}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"crates/aamos-api/src/routes/payroll.rs","byte_start":5756,"byte_end":5944,"line_start":204,"line_end":211,"column_start":21,"column_end":6,"is_primary":false,"text":[{"text":" let employees = sqlx::query!(","highlight_start":21,"highlight_end":34},{"text":" r#\"","highlight_start":1,"highlight_end":12},{"text":" SELECT gross_salary, tax_deduction, net_salary, employer_fees","highlight_start":1,"highlight_end":70},{"text":" FROM ledger_payroll_employees","highlight_start":1,"highlight_end":38},{"text":" WHERE run_id = $1","highlight_start":1,"highlight_end":26},{"text":" \"#,","highlight_start":1,"highlight_end":12},{"text":" id","highlight_start":1,"highlight_end":11},{"text":" )","highlight_start":1,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"sqlx::query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":15636,"byte_end":15654,"line_start":314,"line_end":314,"column_start":1,"column_end":19,"is_primary":false,"text":[{"text":"macro_rules! query (","highlight_start":1,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"$crate::sqlx_macros::expand_query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-macros-0.8.6/src/lib.rs","byte_start":116,"byte_end":170,"line_start":9,"line_end":9,"column_start":1,"column_end":55,"is_primary":false,"text":[{"text":"pub fn expand_query(input: TokenStream) -> TokenStream {","highlight_start":1,"highlight_end":55}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}}],"children":[],"rendered":"\u001b[1m\u001b[91merror\u001b[0m\u001b[1m: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/payroll.rs:204:21\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m204\u001b[0m \u001b[1m\u001b[94m|\u001b[0m let employees = sqlx::query!(\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m _____________________^\u001b[0m\n\u001b[1m\u001b[94m205\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m r#\"\n\u001b[1m\u001b[94m206\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m SELECT gross_salary, tax_deduction, net_salary, employer_fees\n\u001b[1m\u001b[94m207\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m FROM ledger_payroll_employees\n\u001b[1m\u001b[94m...\u001b[0m \u001b[1m\u001b[91m|\u001b[0m\n\u001b[1m\u001b[94m210\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m id\n\u001b[1m\u001b[94m211\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m )\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|_____^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)\n\n"}
{"$message_type":"diagnostic","message":"set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache","code":null,"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":16544,"byte_end":16615,"line_start":328,"line_end":328,"column_start":9,"column_end":80,"is_primary":true,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query, args = [$($args)*])","highlight_start":9,"highlight_end":80}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":16544,"byte_end":16615,"line_start":328,"line_end":328,"column_start":9,"column_end":80,"is_primary":false,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query, args = [$($args)*])","highlight_start":9,"highlight_end":80}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"crates/aamos-api/src/routes/payroll.rs","byte_start":6348,"byte_end":6705,"line_start":221,"line_end":236,"column_start":5,"column_end":6,"is_primary":false,"text":[{"text":" sqlx::query!(","highlight_start":5,"highlight_end":18},{"text":" r#\"","highlight_start":1,"highlight_end":12},{"text":" UPDATE ledger_payroll_runs","highlight_start":1,"highlight_end":35},{"text":" SET status = 'processed',","highlight_start":1,"highlight_end":34},{"text":" total_gross = $2,","highlight_start":1,"highlight_end":30},{"text":" total_tax = $3,","highlight_start":1,"highlight_end":28},{"text":" total_net = $4,","highlight_start":1,"highlight_end":28},{"text":" total_employer_fees = $5","highlight_start":1,"highlight_end":37},{"text":" WHERE id = $1","highlight_start":1,"highlight_end":22},{"text":" \"#,","highlight_start":1,"highlight_end":12},{"text":" id,","highlight_start":1,"highlight_end":12},{"text":" total_gross,","highlight_start":1,"highlight_end":21},{"text":" total_tax,","highlight_start":1,"highlight_end":19},{"text":" total_net,","highlight_start":1,"highlight_end":19},{"text":" total_employer_fees,","highlight_start":1,"highlight_end":29},{"text":" )","highlight_start":1,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"sqlx::query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":15636,"byte_end":15654,"line_start":314,"line_end":314,"column_start":1,"column_end":19,"is_primary":false,"text":[{"text":"macro_rules! query (","highlight_start":1,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"$crate::sqlx_macros::expand_query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-macros-0.8.6/src/lib.rs","byte_start":116,"byte_end":170,"line_start":9,"line_end":9,"column_start":1,"column_end":55,"is_primary":false,"text":[{"text":"pub fn expand_query(input: TokenStream) -> TokenStream {","highlight_start":1,"highlight_end":55}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}}],"children":[],"rendered":"\u001b[1m\u001b[91merror\u001b[0m\u001b[1m: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/payroll.rs:221:5\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m221\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m/\u001b[0m sqlx::query!(\n\u001b[1m\u001b[94m222\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m r#\"\n\u001b[1m\u001b[94m223\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m UPDATE ledger_payroll_runs\n\u001b[1m\u001b[94m224\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m SET status = 'processed',\n\u001b[1m\u001b[94m...\u001b[0m \u001b[1m\u001b[91m|\u001b[0m\n\u001b[1m\u001b[94m235\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m total_employer_fees,\n\u001b[1m\u001b[94m236\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m )\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|_____^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)\n\n"}
{"$message_type":"diagnostic","message":"set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache","code":null,"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":15762,"byte_end":15813,"line_start":317,"line_end":317,"column_start":9,"column_end":60,"is_primary":true,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query)","highlight_start":9,"highlight_end":60}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":15762,"byte_end":15813,"line_start":317,"line_end":317,"column_start":9,"column_end":60,"is_primary":false,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query)","highlight_start":9,"highlight_end":60}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"crates/aamos-api/src/routes/reconciliation.rs","byte_start":846,"byte_end":1122,"line_start":39,"line_end":46,"column_start":16,"column_end":6,"is_primary":false,"text":[{"text":" let rows = sqlx::query!(","highlight_start":16,"highlight_end":29},{"text":" r#\"","highlight_start":1,"highlight_end":12},{"text":" SELECT id, tenant_id, account_number, period, fiscal_year, status,","highlight_start":1,"highlight_end":75},{"text":" bank_balance, ledger_balance, difference, created_at, completed_at","highlight_start":1,"highlight_end":82},{"text":" FROM ledger_reconciliation_sessions","highlight_start":1,"highlight_end":44},{"text":" ORDER BY created_at DESC","highlight_start":1,"highlight_end":33},{"text":" \"#","highlight_start":1,"highlight_end":11},{"text":" )","highlight_start":1,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"sqlx::query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":15636,"byte_end":15654,"line_start":314,"line_end":314,"column_start":1,"column_end":19,"is_primary":false,"text":[{"text":"macro_rules! query (","highlight_start":1,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"$crate::sqlx_macros::expand_query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-macros-0.8.6/src/lib.rs","byte_start":116,"byte_end":170,"line_start":9,"line_end":9,"column_start":1,"column_end":55,"is_primary":false,"text":[{"text":"pub fn expand_query(input: TokenStream) -> TokenStream {","highlight_start":1,"highlight_end":55}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}}],"children":[],"rendered":"\u001b[1m\u001b[91merror\u001b[0m\u001b[1m: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reconciliation.rs:39:16\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m39\u001b[0m \u001b[1m\u001b[94m|\u001b[0m let rows = sqlx::query!(\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m ________________^\u001b[0m\n\u001b[1m\u001b[94m40\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m r#\"\n\u001b[1m\u001b[94m41\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m SELECT id, tenant_id, account_number, period, fiscal_year, status,\n\u001b[1m\u001b[94m42\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m bank_balance, ledger_balance, difference, created_at, completed_at\n\u001b[1m\u001b[94m...\u001b[0m \u001b[1m\u001b[91m|\u001b[0m\n\u001b[1m\u001b[94m45\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m \"#\n\u001b[1m\u001b[94m46\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m )\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|_____^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)\n\n"}
{"$message_type":"diagnostic","message":"set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache","code":null,"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":16544,"byte_end":16615,"line_start":328,"line_end":328,"column_start":9,"column_end":80,"is_primary":true,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query, args = [$($args)*])","highlight_start":9,"highlight_end":80}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":16544,"byte_end":16615,"line_start":328,"line_end":328,"column_start":9,"column_end":80,"is_primary":false,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query, args = [$($args)*])","highlight_start":9,"highlight_end":80}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"crates/aamos-api/src/routes/reconciliation.rs","byte_start":2133,"byte_end":2410,"line_start":81,"line_end":89,"column_start":15,"column_end":6,"is_primary":false,"text":[{"text":" let row = sqlx::query!(","highlight_start":15,"highlight_end":28},{"text":" r#\"","highlight_start":1,"highlight_end":12},{"text":" SELECT id, tenant_id, account_number, period, fiscal_year, status,","highlight_start":1,"highlight_end":75},{"text":" bank_balance, ledger_balance, difference, created_at, completed_at","highlight_start":1,"highlight_end":82},{"text":" FROM ledger_reconciliation_sessions","highlight_start":1,"highlight_end":44},{"text":" WHERE id = $1","highlight_start":1,"highlight_end":22},{"text":" \"#,","highlight_start":1,"highlight_end":12},{"text":" id","highlight_start":1,"highlight_end":11},{"text":" )","highlight_start":1,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"sqlx::query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":15636,"byte_end":15654,"line_start":314,"line_end":314,"column_start":1,"column_end":19,"is_primary":false,"text":[{"text":"macro_rules! query (","highlight_start":1,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"$crate::sqlx_macros::expand_query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-macros-0.8.6/src/lib.rs","byte_start":116,"byte_end":170,"line_start":9,"line_end":9,"column_start":1,"column_end":55,"is_primary":false,"text":[{"text":"pub fn expand_query(input: TokenStream) -> TokenStream {","highlight_start":1,"highlight_end":55}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}}],"children":[],"rendered":"\u001b[1m\u001b[91merror\u001b[0m\u001b[1m: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reconciliation.rs:81:15\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m81\u001b[0m \u001b[1m\u001b[94m|\u001b[0m let row = sqlx::query!(\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m _______________^\u001b[0m\n\u001b[1m\u001b[94m82\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m r#\"\n\u001b[1m\u001b[94m83\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m SELECT id, tenant_id, account_number, period, fiscal_year, status,\n\u001b[1m\u001b[94m84\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m bank_balance, ledger_balance, difference, created_at, completed_at\n\u001b[1m\u001b[94m...\u001b[0m \u001b[1m\u001b[91m|\u001b[0m\n\u001b[1m\u001b[94m88\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m id\n\u001b[1m\u001b[94m89\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m )\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|_____^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)\n\n"}
{"$message_type":"diagnostic","message":"set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache","code":null,"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":16544,"byte_end":16615,"line_start":328,"line_end":328,"column_start":9,"column_end":80,"is_primary":true,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query, args = [$($args)*])","highlight_start":9,"highlight_end":80}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":16544,"byte_end":16615,"line_start":328,"line_end":328,"column_start":9,"column_end":80,"is_primary":false,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query, args = [$($args)*])","highlight_start":9,"highlight_end":80}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"crates/aamos-api/src/routes/reconciliation.rs","byte_start":3532,"byte_end":4036,"line_start":124,"line_end":140,"column_start":5,"column_end":6,"is_primary":false,"text":[{"text":" sqlx::query!(","highlight_start":5,"highlight_end":18},{"text":" r#\"","highlight_start":1,"highlight_end":12},{"text":" INSERT INTO ledger_reconciliation_sessions","highlight_start":1,"highlight_end":51},{"text":" (id, tenant_id, account_number, period, fiscal_year, status,","highlight_start":1,"highlight_end":71},{"text":" bank_balance, ledger_balance, difference, trace_id, metadata)","highlight_start":1,"highlight_end":73},{"text":" VALUES ($1, $2, $3, $4, $5, 'open', $6, $7, $8, $9, '{}')","highlight_start":1,"highlight_end":66},{"text":" \"#,","highlight_start":1,"highlight_end":12},{"text":" id,","highlight_start":1,"highlight_end":12},{"text":" req.tenant_id,","highlight_start":1,"highlight_end":23},{"text":" req.account_number,","highlight_start":1,"highlight_end":28},{"text":" req.period,","highlight_start":1,"highlight_end":20},{"text":" req.fiscal_year,","highlight_start":1,"highlight_end":25},{"text":" req.bank_balance,","highlight_start":1,"highlight_end":26},{"text":" req.ledger_balance,","highlight_start":1,"highlight_end":28},{"text":" difference,","highlight_start":1,"highlight_end":20},{"text":" trace_id,","highlight_start":1,"highlight_end":18},{"text":" )","highlight_start":1,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"sqlx::query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":15636,"byte_end":15654,"line_start":314,"line_end":314,"column_start":1,"column_end":19,"is_primary":false,"text":[{"text":"macro_rules! query (","highlight_start":1,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"$crate::sqlx_macros::expand_query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-macros-0.8.6/src/lib.rs","byte_start":116,"byte_end":170,"line_start":9,"line_end":9,"column_start":1,"column_end":55,"is_primary":false,"text":[{"text":"pub fn expand_query(input: TokenStream) -> TokenStream {","highlight_start":1,"highlight_end":55}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}}],"children":[],"rendered":"\u001b[1m\u001b[91merror\u001b[0m\u001b[1m: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reconciliation.rs:124:5\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m124\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m/\u001b[0m sqlx::query!(\n\u001b[1m\u001b[94m125\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m r#\"\n\u001b[1m\u001b[94m126\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m INSERT INTO ledger_reconciliation_sessions\n\u001b[1m\u001b[94m127\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m (id, tenant_id, account_number, period, fiscal_year, status,\n\u001b[1m\u001b[94m...\u001b[0m \u001b[1m\u001b[91m|\u001b[0m\n\u001b[1m\u001b[94m139\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m trace_id,\n\u001b[1m\u001b[94m140\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m )\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|_____^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)\n\n"}
{"$message_type":"diagnostic","message":"set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache","code":null,"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":16544,"byte_end":16615,"line_start":328,"line_end":328,"column_start":9,"column_end":80,"is_primary":true,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query, args = [$($args)*])","highlight_start":9,"highlight_end":80}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":16544,"byte_end":16615,"line_start":328,"line_end":328,"column_start":9,"column_end":80,"is_primary":false,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query, args = [$($args)*])","highlight_start":9,"highlight_end":80}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"crates/aamos-api/src/routes/reconciliation.rs","byte_start":4941,"byte_end":5091,"line_start":174,"line_end":178,"column_start":9,"column_end":10,"is_primary":false,"text":[{"text":" sqlx::query!(","highlight_start":9,"highlight_end":22},{"text":" \"UPDATE ledger_bank_transactions SET session_id = $2 WHERE transaction_id = $1\",","highlight_start":1,"highlight_end":93},{"text":" tx_id,","highlight_start":1,"highlight_end":19},{"text":" id","highlight_start":1,"highlight_end":15},{"text":" )","highlight_start":1,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"sqlx::query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":15636,"byte_end":15654,"line_start":314,"line_end":314,"column_start":1,"column_end":19,"is_primary":false,"text":[{"text":"macro_rules! query (","highlight_start":1,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"$crate::sqlx_macros::expand_query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-macros-0.8.6/src/lib.rs","byte_start":116,"byte_end":170,"line_start":9,"line_end":9,"column_start":1,"column_end":55,"is_primary":false,"text":[{"text":"pub fn expand_query(input: TokenStream) -> TokenStream {","highlight_start":1,"highlight_end":55}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}}],"children":[],"rendered":"\u001b[1m\u001b[91merror\u001b[0m\u001b[1m: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reconciliation.rs:174:9\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m174\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m/\u001b[0m sqlx::query!(\n\u001b[1m\u001b[94m175\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m \"UPDATE ledger_bank_transactions SET session_id = $2 WHERE transaction_id = $1\",\n\u001b[1m\u001b[94m176\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m tx_id,\n\u001b[1m\u001b[94m177\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m id\n\u001b[1m\u001b[94m178\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m )\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|_________^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)\n\n"}
{"$message_type":"diagnostic","message":"set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache","code":null,"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":16544,"byte_end":16615,"line_start":328,"line_end":328,"column_start":9,"column_end":80,"is_primary":true,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query, args = [$($args)*])","highlight_start":9,"highlight_end":80}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":16544,"byte_end":16615,"line_start":328,"line_end":328,"column_start":9,"column_end":80,"is_primary":false,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query, args = [$($args)*])","highlight_start":9,"highlight_end":80}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"crates/aamos-api/src/routes/reconciliation.rs","byte_start":5443,"byte_end":5603,"line_start":192,"line_end":196,"column_start":5,"column_end":6,"is_primary":false,"text":[{"text":" sqlx::query!(","highlight_start":5,"highlight_end":18},{"text":" \"UPDATE ledger_reconciliation_sessions SET status = 'completed', completed_at = $2 WHERE id = $1\",","highlight_start":1,"highlight_end":107},{"text":" id,","highlight_start":1,"highlight_end":12},{"text":" completed_at,","highlight_start":1,"highlight_end":22},{"text":" )","highlight_start":1,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"sqlx::query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":15636,"byte_end":15654,"line_start":314,"line_end":314,"column_start":1,"column_end":19,"is_primary":false,"text":[{"text":"macro_rules! query (","highlight_start":1,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"$crate::sqlx_macros::expand_query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-macros-0.8.6/src/lib.rs","byte_start":116,"byte_end":170,"line_start":9,"line_end":9,"column_start":1,"column_end":55,"is_primary":false,"text":[{"text":"pub fn expand_query(input: TokenStream) -> TokenStream {","highlight_start":1,"highlight_end":55}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}}],"children":[],"rendered":"\u001b[1m\u001b[91merror\u001b[0m\u001b[1m: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reconciliation.rs:192:5\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m192\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m/\u001b[0m sqlx::query!(\n\u001b[1m\u001b[94m193\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m \"UPDATE ledger_reconciliation_sessions SET status = 'completed', completed_at = $2 WHERE id = $1\",\n\u001b[1m\u001b[94m194\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m id,\n\u001b[1m\u001b[94m195\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m completed_at,\n\u001b[1m\u001b[94m196\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m )\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|_____^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)\n\n"}
{"$message_type":"diagnostic","message":"set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache","code":null,"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":16544,"byte_end":16615,"line_start":328,"line_end":328,"column_start":9,"column_end":80,"is_primary":true,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query, args = [$($args)*])","highlight_start":9,"highlight_end":80}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":16544,"byte_end":16615,"line_start":328,"line_end":328,"column_start":9,"column_end":80,"is_primary":false,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query, args = [$($args)*])","highlight_start":9,"highlight_end":80}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"crates/aamos-api/src/routes/tax.rs","byte_start":558,"byte_end":1035,"line_start":28,"line_end":43,"column_start":25,"column_end":6,"is_primary":false,"text":[{"text":" let utgaende_rows = sqlx::query!(","highlight_start":25,"highlight_end":38},{"text":" r#\"","highlight_start":1,"highlight_end":12},{"text":" SELECT","highlight_start":1,"highlight_end":15},{"text":" l.account_number,","highlight_start":1,"highlight_end":28},{"text":" COALESCE(SUM(l.credit), 0) - COALESCE(SUM(l.debit), 0) as net_amount","highlight_start":1,"highlight_end":79},{"text":" FROM ledger_journal_lines l","highlight_start":1,"highlight_end":36},{"text":" JOIN ledger_journal_entries e ON e.id = l.entry_id","highlight_start":1,"highlight_end":59},{"text":" WHERE e.tenant_id = $1","highlight_start":1,"highlight_end":31},{"text":" AND e.period = $2","highlight_start":1,"highlight_end":28},{"text":" AND e.status = 'posted'","highlight_start":1,"highlight_end":34},{"text":" AND l.account_number LIKE '26%'","highlight_start":1,"highlight_end":42},{"text":" GROUP BY l.account_number","highlight_start":1,"highlight_end":34},{"text":" \"#,","highlight_start":1,"highlight_end":12},{"text":" params.tenant_id,","highlight_start":1,"highlight_end":26},{"text":" params.period","highlight_start":1,"highlight_end":22},{"text":" )","highlight_start":1,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"sqlx::query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":15636,"byte_end":15654,"line_start":314,"line_end":314,"column_start":1,"column_end":19,"is_primary":false,"text":[{"text":"macro_rules! query (","highlight_start":1,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"$crate::sqlx_macros::expand_query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-macros-0.8.6/src/lib.rs","byte_start":116,"byte_end":170,"line_start":9,"line_end":9,"column_start":1,"column_end":55,"is_primary":false,"text":[{"text":"pub fn expand_query(input: TokenStream) -> TokenStream {","highlight_start":1,"highlight_end":55}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}}],"children":[],"rendered":"\u001b[1m\u001b[91merror\u001b[0m\u001b[1m: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/tax.rs:28:25\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m28\u001b[0m \u001b[1m\u001b[94m|\u001b[0m let utgaende_rows = sqlx::query!(\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m _________________________^\u001b[0m\n\u001b[1m\u001b[94m29\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m r#\"\n\u001b[1m\u001b[94m30\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m SELECT\n\u001b[1m\u001b[94m31\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m l.account_number,\n\u001b[1m\u001b[94m...\u001b[0m \u001b[1m\u001b[91m|\u001b[0m\n\u001b[1m\u001b[94m42\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m params.period\n\u001b[1m\u001b[94m43\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m )\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|_____^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)\n\n"}
{"$message_type":"diagnostic","message":"set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache","code":null,"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":16544,"byte_end":16615,"line_start":328,"line_end":328,"column_start":9,"column_end":80,"is_primary":true,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query, args = [$($args)*])","highlight_start":9,"highlight_end":80}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":16544,"byte_end":16615,"line_start":328,"line_end":328,"column_start":9,"column_end":80,"is_primary":false,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query, args = [$($args)*])","highlight_start":9,"highlight_end":80}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"crates/aamos-api/src/routes/tax.rs","byte_start":1153,"byte_end":1556,"line_start":48,"line_end":60,"column_start":24,"column_end":6,"is_primary":false,"text":[{"text":" let ingaende_row = sqlx::query!(","highlight_start":24,"highlight_end":37},{"text":" r#\"","highlight_start":1,"highlight_end":12},{"text":" SELECT COALESCE(SUM(l.debit), 0) - COALESCE(SUM(l.credit), 0) as net_amount","highlight_start":1,"highlight_end":84},{"text":" FROM ledger_journal_lines l","highlight_start":1,"highlight_end":36},{"text":" JOIN ledger_journal_entries e ON e.id = l.entry_id","highlight_start":1,"highlight_end":59},{"text":" WHERE e.tenant_id = $1","highlight_start":1,"highlight_end":31},{"text":" AND e.period = $2","highlight_start":1,"highlight_end":28},{"text":" AND e.status = 'posted'","highlight_start":1,"highlight_end":34},{"text":" AND l.account_number = '2640'","highlight_start":1,"highlight_end":40},{"text":" \"#,","highlight_start":1,"highlight_end":12},{"text":" params.tenant_id,","highlight_start":1,"highlight_end":26},{"text":" params.period","highlight_start":1,"highlight_end":22},{"text":" )","highlight_start":1,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"sqlx::query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":15636,"byte_end":15654,"line_start":314,"line_end":314,"column_start":1,"column_end":19,"is_primary":false,"text":[{"text":"macro_rules! query (","highlight_start":1,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"$crate::sqlx_macros::expand_query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-macros-0.8.6/src/lib.rs","byte_start":116,"byte_end":170,"line_start":9,"line_end":9,"column_start":1,"column_end":55,"is_primary":false,"text":[{"text":"pub fn expand_query(input: TokenStream) -> TokenStream {","highlight_start":1,"highlight_end":55}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}}],"children":[],"rendered":"\u001b[1m\u001b[91merror\u001b[0m\u001b[1m: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/tax.rs:48:24\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m48\u001b[0m \u001b[1m\u001b[94m|\u001b[0m let ingaende_row = sqlx::query!(\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m ________________________^\u001b[0m\n\u001b[1m\u001b[94m49\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m r#\"\n\u001b[1m\u001b[94m50\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m SELECT COALESCE(SUM(l.debit), 0) - COALESCE(SUM(l.credit), 0) as net_amount\n\u001b[1m\u001b[94m51\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m FROM ledger_journal_lines l\n\u001b[1m\u001b[94m...\u001b[0m \u001b[1m\u001b[91m|\u001b[0m\n\u001b[1m\u001b[94m59\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m params.period\n\u001b[1m\u001b[94m60\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m )\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|_____^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)\n\n"}
{"$message_type":"diagnostic","message":"set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache","code":null,"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":16544,"byte_end":16615,"line_start":328,"line_end":328,"column_start":9,"column_end":80,"is_primary":true,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query, args = [$($args)*])","highlight_start":9,"highlight_end":80}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":16544,"byte_end":16615,"line_start":328,"line_end":328,"column_start":9,"column_end":80,"is_primary":false,"text":[{"text":" $crate::sqlx_macros::expand_query!(source = $query, args = [$($args)*])","highlight_start":9,"highlight_end":80}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"crates/aamos-api/src/routes/tax.rs","byte_start":2998,"byte_end":3526,"line_start":106,"line_end":122,"column_start":16,"column_end":6,"is_primary":false,"text":[{"text":" let rows = sqlx::query!(","highlight_start":16,"highlight_end":29},{"text":" r#\"","highlight_start":1,"highlight_end":12},{"text":" SELECT","highlight_start":1,"highlight_end":15},{"text":" l.account_number,","highlight_start":1,"highlight_end":28},{"text":" COALESCE(SUM(l.debit), 0) as total_debit,","highlight_start":1,"highlight_end":52},{"text":" COALESCE(SUM(l.credit), 0) as total_credit","highlight_start":1,"highlight_end":53},{"text":" FROM ledger_journal_lines l","highlight_start":1,"highlight_end":36},{"text":" JOIN ledger_journal_entries e ON e.id = l.entry_id","highlight_start":1,"highlight_end":59},{"text":" WHERE e.tenant_id = $1","highlight_start":1,"highlight_end":31},{"text":" AND e.period = $2","highlight_start":1,"highlight_end":28},{"text":" AND e.status = 'posted'","highlight_start":1,"highlight_end":34},{"text":" AND l.account_number IN ('7010', '7510', '2012', '2013')","highlight_start":1,"highlight_end":67},{"text":" GROUP BY l.account_number","highlight_start":1,"highlight_end":34},{"text":" \"#,","highlight_start":1,"highlight_end":12},{"text":" params.tenant_id,","highlight_start":1,"highlight_end":26},{"text":" params.period","highlight_start":1,"highlight_end":22},{"text":" )","highlight_start":1,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"sqlx::query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/macros/mod.rs","byte_start":15636,"byte_end":15654,"line_start":314,"line_end":314,"column_start":1,"column_end":19,"is_primary":false,"text":[{"text":"macro_rules! query (","highlight_start":1,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"$crate::sqlx_macros::expand_query!","def_site_span":{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-macros-0.8.6/src/lib.rs","byte_start":116,"byte_end":170,"line_start":9,"line_end":9,"column_start":1,"column_end":55,"is_primary":false,"text":[{"text":"pub fn expand_query(input: TokenStream) -> TokenStream {","highlight_start":1,"highlight_end":55}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}}],"children":[],"rendered":"\u001b[1m\u001b[91merror\u001b[0m\u001b[1m: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/tax.rs:106:16\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m106\u001b[0m \u001b[1m\u001b[94m|\u001b[0m let rows = sqlx::query!(\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m ________________^\u001b[0m\n\u001b[1m\u001b[94m107\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m r#\"\n\u001b[1m\u001b[94m108\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m SELECT\n\u001b[1m\u001b[94m109\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m l.account_number,\n\u001b[1m\u001b[94m...\u001b[0m \u001b[1m\u001b[91m|\u001b[0m\n\u001b[1m\u001b[94m121\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m params.period\n\u001b[1m\u001b[94m122\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m )\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|_____^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)\n\n"}
{"$message_type":"diagnostic","message":"unused import: `axum::Router`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"crates/aamos-api/src/main.rs","byte_start":140,"byte_end":152,"line_start":5,"line_end":5,"column_start":5,"column_end":17,"is_primary":true,"text":[{"text":"use axum::Router;","highlight_start":5,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"remove the whole `use` item","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/main.rs","byte_start":136,"byte_end":154,"line_start":5,"line_end":6,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::Router;","highlight_start":1,"highlight_end":18},{"text":"use std::sync::Arc;","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[33mwarning\u001b[0m\u001b[1m: unused import: `axum::Router`\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/main.rs:5:5\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m5\u001b[0m \u001b[1m\u001b[94m|\u001b[0m use axum::Router;\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m^^^^^^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default\n\n"}
{"$message_type":"diagnostic","message":"unused imports: `delete` and `put`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"crates/aamos-api/src/routes/mod.rs","byte_start":26,"byte_end":32,"line_start":2,"line_end":2,"column_start":15,"column_end":21,"is_primary":true,"text":[{"text":" routing::{delete, get, post, put},","highlight_start":15,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/mod.rs","byte_start":45,"byte_end":48,"line_start":2,"line_end":2,"column_start":34,"column_end":37,"is_primary":true,"text":[{"text":" routing::{delete, get, post, put},","highlight_start":34,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"remove the unused imports","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/mod.rs","byte_start":26,"byte_end":34,"line_start":2,"line_end":2,"column_start":15,"column_end":23,"is_primary":true,"text":[{"text":" routing::{delete, get, post, put},","highlight_start":15,"highlight_end":23}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null},{"file_name":"crates/aamos-api/src/routes/mod.rs","byte_start":43,"byte_end":48,"line_start":2,"line_end":2,"column_start":32,"column_end":37,"is_primary":true,"text":[{"text":" routing::{delete, get, post, put},","highlight_start":32,"highlight_end":37}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[33mwarning\u001b[0m\u001b[1m: unused imports: `delete` and `put`\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/mod.rs:2:15\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m2\u001b[0m \u001b[1m\u001b[94m|\u001b[0m routing::{delete, get, post, put},\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m^^^^^^\u001b[0m \u001b[1m\u001b[33m^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"unused import: `serde_json::json`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"crates/aamos-api/src/routes/bank_import.rs","byte_start":93,"byte_end":109,"line_start":3,"line_end":3,"column_start":5,"column_end":21,"is_primary":true,"text":[{"text":"use serde_json::json;","highlight_start":5,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"remove the whole `use` item","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/bank_import.rs","byte_start":89,"byte_end":111,"line_start":3,"line_end":4,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use serde_json::json;","highlight_start":1,"highlight_end":22},{"text":"use std::sync::Arc;","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[33mwarning\u001b[0m\u001b[1m: unused import: `serde_json::json`\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/bank_import.rs:3:5\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m3\u001b[0m \u001b[1m\u001b[94m|\u001b[0m use serde_json::json;\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m^^^^^^^^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"unused import: `chrono::Utc`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"crates/aamos-api/src/routes/payroll.rs","byte_start":79,"byte_end":90,"line_start":6,"line_end":6,"column_start":5,"column_end":16,"is_primary":true,"text":[{"text":"use chrono::Utc;","highlight_start":5,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"remove the whole `use` item","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/payroll.rs","byte_start":75,"byte_end":92,"line_start":6,"line_end":7,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use chrono::Utc;","highlight_start":1,"highlight_end":17},{"text":"use serde::{Deserialize, Serialize};","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[33mwarning\u001b[0m\u001b[1m: unused import: `chrono::Utc`\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/payroll.rs:6:5\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m6\u001b[0m \u001b[1m\u001b[94m|\u001b[0m use chrono::Utc;\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m^^^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":1605,"byte_end":1608,"line_start":62,"line_end":62,"column_start":25,"column_end":28,"is_primary":true,"text":[{"text":" \"id\": r.get::<Uuid, _>(\"id\"),","highlight_start":25,"highlight_end":28}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/accounts.rs:62:25\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m62\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"id\": r.get::<Uuid, _>(\"id\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":1658,"byte_end":1661,"line_start":63,"line_end":63,"column_start":32,"column_end":35,"is_primary":true,"text":[{"text":" \"tenant_id\": r.get::<String, _>(\"tenant_id\"),","highlight_start":32,"highlight_end":35}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/accounts.rs:63:32\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m63\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"tenant_id\": r.get::<String, _>(\"tenant_id\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":1725,"byte_end":1728,"line_start":64,"line_end":64,"column_start":37,"column_end":40,"is_primary":true,"text":[{"text":" \"account_number\": r.get::<String, _>(\"account_number\"),","highlight_start":37,"highlight_end":40}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/accounts.rs:64:37\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m64\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"account_number\": r.get::<String, _>(\"account_number\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":1787,"byte_end":1790,"line_start":65,"line_end":65,"column_start":27,"column_end":30,"is_primary":true,"text":[{"text":" \"name\": r.get::<String, _>(\"name\"),","highlight_start":27,"highlight_end":30}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/accounts.rs:65:27\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m65\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"name\": r.get::<String, _>(\"name\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":1847,"byte_end":1850,"line_start":66,"line_end":66,"column_start":35,"column_end":38,"is_primary":true,"text":[{"text":" \"account_type\": r.get::<String, _>(\"account_type\"),","highlight_start":35,"highlight_end":38}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/accounts.rs:66:35\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m66\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"account_type\": r.get::<String, _>(\"account_type\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":1917,"byte_end":1920,"line_start":67,"line_end":67,"column_start":37,"column_end":40,"is_primary":true,"text":[{"text":" \"normal_balance\": r.get::<String, _>(\"normal_balance\"),","highlight_start":37,"highlight_end":40}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/accounts.rs:67:37\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m67\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"normal_balance\": r.get::<String, _>(\"normal_balance\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":1987,"byte_end":1990,"line_start":68,"line_end":68,"column_start":35,"column_end":38,"is_primary":true,"text":[{"text":" \"coa_standard\": r.get::<String, _>(\"coa_standard\"),","highlight_start":35,"highlight_end":38}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/accounts.rs:68:35\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"coa_standard\": r.get::<String, _>(\"coa_standard\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":2057,"byte_end":2064,"line_start":69,"line_end":69,"column_start":37,"column_end":44,"is_primary":true,"text":[{"text":" \"parent_account\": r.try_get::<String, _>(\"parent_account\").ok(),","highlight_start":37,"highlight_end":44}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":2057,"byte_end":2064,"line_start":69,"line_end":69,"column_start":37,"column_end":44,"is_primary":true,"text":[{"text":" \"parent_account\": r.try_get::<String, _>(\"parent_account\").ok(),","highlight_start":37,"highlight_end":44}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/accounts.rs:69:37\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 69\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"parent_account\": r.try_get::<String, _>(\"parent_account\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 69\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"parent_account\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"parent_account\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":2132,"byte_end":2139,"line_start":70,"line_end":70,"column_start":31,"column_end":38,"is_primary":true,"text":[{"text":" \"vat_code\": r.try_get::<String, _>(\"vat_code\").ok(),","highlight_start":31,"highlight_end":38}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":2132,"byte_end":2139,"line_start":70,"line_end":70,"column_start":31,"column_end":38,"is_primary":true,"text":[{"text":" \"vat_code\": r.try_get::<String, _>(\"vat_code\").ok(),","highlight_start":31,"highlight_end":38}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/accounts.rs:70:31\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 70\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"vat_code\": r.try_get::<String, _>(\"vat_code\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 70\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"vat_code\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"vat_code\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":2202,"byte_end":2205,"line_start":71,"line_end":71,"column_start":32,"column_end":35,"is_primary":true,"text":[{"text":" \"is_active\": r.get::<bool, _>(\"is_active\"),","highlight_start":32,"highlight_end":35}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/accounts.rs:71:32\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m71\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"is_active\": r.get::<bool, _>(\"is_active\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":2261,"byte_end":2264,"line_start":72,"line_end":72,"column_start":31,"column_end":34,"is_primary":true,"text":[{"text":" \"metadata\": r.get::<serde_json::Value, _>(\"metadata\"),","highlight_start":31,"highlight_end":34}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/accounts.rs:72:31\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m72\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"metadata\": r.get::<serde_json::Value, _>(\"metadata\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":2334,"byte_end":2337,"line_start":73,"line_end":73,"column_start":33,"column_end":36,"is_primary":true,"text":[{"text":" \"created_at\": r.get::<chrono::DateTime<chrono::Utc>, _>(\"created_at\"),","highlight_start":33,"highlight_end":36}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/accounts.rs:73:33\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m73\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"created_at\": r.get::<chrono::DateTime<chrono::Utc>, _>(\"created_at\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":2421,"byte_end":2424,"line_start":74,"line_end":74,"column_start":33,"column_end":36,"is_primary":true,"text":[{"text":" \"updated_at\": r.get::<chrono::DateTime<chrono::Utc>, _>(\"updated_at\"),","highlight_start":33,"highlight_end":36}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/accounts.rs:74:33\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m74\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"updated_at\": r.get::<chrono::DateTime<chrono::Utc>, _>(\"updated_at\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":3337,"byte_end":3340,"line_start":108,"line_end":108,"column_start":25,"column_end":28,"is_primary":true,"text":[{"text":" \"id\": r.get::<Uuid, _>(\"id\"),","highlight_start":25,"highlight_end":28}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/accounts.rs:108:25\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m108\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"id\": r.get::<Uuid, _>(\"id\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":3390,"byte_end":3393,"line_start":109,"line_end":109,"column_start":32,"column_end":35,"is_primary":true,"text":[{"text":" \"tenant_id\": r.get::<String, _>(\"tenant_id\"),","highlight_start":32,"highlight_end":35}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/accounts.rs:109:32\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m109\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"tenant_id\": r.get::<String, _>(\"tenant_id\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":3457,"byte_end":3460,"line_start":110,"line_end":110,"column_start":37,"column_end":40,"is_primary":true,"text":[{"text":" \"account_number\": r.get::<String, _>(\"account_number\"),","highlight_start":37,"highlight_end":40}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/accounts.rs:110:37\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m110\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"account_number\": r.get::<String, _>(\"account_number\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":3519,"byte_end":3522,"line_start":111,"line_end":111,"column_start":27,"column_end":30,"is_primary":true,"text":[{"text":" \"name\": r.get::<String, _>(\"name\"),","highlight_start":27,"highlight_end":30}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/accounts.rs:111:27\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"name\": r.get::<String, _>(\"name\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":3579,"byte_end":3582,"line_start":112,"line_end":112,"column_start":35,"column_end":38,"is_primary":true,"text":[{"text":" \"account_type\": r.get::<String, _>(\"account_type\"),","highlight_start":35,"highlight_end":38}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/accounts.rs:112:35\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m112\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"account_type\": r.get::<String, _>(\"account_type\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":3649,"byte_end":3652,"line_start":113,"line_end":113,"column_start":37,"column_end":40,"is_primary":true,"text":[{"text":" \"normal_balance\": r.get::<String, _>(\"normal_balance\"),","highlight_start":37,"highlight_end":40}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/accounts.rs:113:37\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m113\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"normal_balance\": r.get::<String, _>(\"normal_balance\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":3719,"byte_end":3722,"line_start":114,"line_end":114,"column_start":35,"column_end":38,"is_primary":true,"text":[{"text":" \"coa_standard\": r.get::<String, _>(\"coa_standard\"),","highlight_start":35,"highlight_end":38}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/accounts.rs:114:35\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m114\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"coa_standard\": r.get::<String, _>(\"coa_standard\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":3789,"byte_end":3796,"line_start":115,"line_end":115,"column_start":37,"column_end":44,"is_primary":true,"text":[{"text":" \"parent_account\": r.try_get::<String, _>(\"parent_account\").ok(),","highlight_start":37,"highlight_end":44}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":3789,"byte_end":3796,"line_start":115,"line_end":115,"column_start":37,"column_end":44,"is_primary":true,"text":[{"text":" \"parent_account\": r.try_get::<String, _>(\"parent_account\").ok(),","highlight_start":37,"highlight_end":44}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/accounts.rs:115:37\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m115\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"parent_account\": r.try_get::<String, _>(\"parent_account\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m115\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"parent_account\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"parent_account\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":3864,"byte_end":3871,"line_start":116,"line_end":116,"column_start":31,"column_end":38,"is_primary":true,"text":[{"text":" \"vat_code\": r.try_get::<String, _>(\"vat_code\").ok(),","highlight_start":31,"highlight_end":38}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":3864,"byte_end":3871,"line_start":116,"line_end":116,"column_start":31,"column_end":38,"is_primary":true,"text":[{"text":" \"vat_code\": r.try_get::<String, _>(\"vat_code\").ok(),","highlight_start":31,"highlight_end":38}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/accounts.rs:116:31\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m116\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"vat_code\": r.try_get::<String, _>(\"vat_code\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m116\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"vat_code\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"vat_code\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":3934,"byte_end":3937,"line_start":117,"line_end":117,"column_start":32,"column_end":35,"is_primary":true,"text":[{"text":" \"is_active\": r.get::<bool, _>(\"is_active\"),","highlight_start":32,"highlight_end":35}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/accounts.rs:117:32\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m117\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"is_active\": r.get::<bool, _>(\"is_active\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":3993,"byte_end":3996,"line_start":118,"line_end":118,"column_start":31,"column_end":34,"is_primary":true,"text":[{"text":" \"metadata\": r.get::<serde_json::Value, _>(\"metadata\"),","highlight_start":31,"highlight_end":34}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/accounts.rs:118:31\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m118\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"metadata\": r.get::<serde_json::Value, _>(\"metadata\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":4066,"byte_end":4069,"line_start":119,"line_end":119,"column_start":33,"column_end":36,"is_primary":true,"text":[{"text":" \"created_at\": r.get::<chrono::DateTime<chrono::Utc>, _>(\"created_at\"),","highlight_start":33,"highlight_end":36}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/accounts.rs:119:33\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m119\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"created_at\": r.get::<chrono::DateTime<chrono::Utc>, _>(\"created_at\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":4153,"byte_end":4156,"line_start":120,"line_end":120,"column_start":33,"column_end":36,"is_primary":true,"text":[{"text":" \"updated_at\": r.get::<chrono::DateTime<chrono::Utc>, _>(\"updated_at\"),","highlight_start":33,"highlight_end":36}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/accounts.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/accounts.rs:120:33\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m120\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"updated_at\": r.get::<chrono::DateTime<chrono::Utc>, _>(\"updated_at\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":2378,"byte_end":2381,"line_start":82,"line_end":82,"column_start":25,"column_end":28,"is_primary":true,"text":[{"text":" \"id\": r.get::<Uuid, _>(\"id\"),","highlight_start":25,"highlight_end":28}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:82:25\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m82\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"id\": r.get::<Uuid, _>(\"id\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":2431,"byte_end":2434,"line_start":83,"line_end":83,"column_start":32,"column_end":35,"is_primary":true,"text":[{"text":" \"tenant_id\": r.get::<String, _>(\"tenant_id\"),","highlight_start":32,"highlight_end":35}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:83:32\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m83\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"tenant_id\": r.get::<String, _>(\"tenant_id\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":2488,"byte_end":2491,"line_start":84,"line_end":84,"column_start":27,"column_end":30,"is_primary":true,"text":[{"text":" \"name\": r.get::<String, _>(\"name\"),","highlight_start":27,"highlight_end":30}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:84:27\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m84\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"name\": r.get::<String, _>(\"name\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":2546,"byte_end":2553,"line_start":85,"line_end":85,"column_start":33,"column_end":40,"is_primary":true,"text":[{"text":" \"org_number\": r.try_get::<String, _>(\"org_number\").ok(),","highlight_start":33,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":2546,"byte_end":2553,"line_start":85,"line_end":85,"column_start":33,"column_end":40,"is_primary":true,"text":[{"text":" \"org_number\": r.try_get::<String, _>(\"org_number\").ok(),","highlight_start":33,"highlight_end":40}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:85:33\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 85\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"org_number\": r.try_get::<String, _>(\"org_number\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 85\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"org_number\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"org_number\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":2619,"byte_end":2626,"line_start":86,"line_end":86,"column_start":33,"column_end":40,"is_primary":true,"text":[{"text":" \"vat_number\": r.try_get::<String, _>(\"vat_number\").ok(),","highlight_start":33,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":2619,"byte_end":2626,"line_start":86,"line_end":86,"column_start":33,"column_end":40,"is_primary":true,"text":[{"text":" \"vat_number\": r.try_get::<String, _>(\"vat_number\").ok(),","highlight_start":33,"highlight_end":40}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:86:33\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 86\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"vat_number\": r.try_get::<String, _>(\"vat_number\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 86\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"vat_number\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"vat_number\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":2694,"byte_end":2701,"line_start":87,"line_end":87,"column_start":35,"column_end":42,"is_primary":true,"text":[{"text":" \"contact_name\": r.try_get::<String, _>(\"contact_name\").ok(),","highlight_start":35,"highlight_end":42}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":2694,"byte_end":2701,"line_start":87,"line_end":87,"column_start":35,"column_end":42,"is_primary":true,"text":[{"text":" \"contact_name\": r.try_get::<String, _>(\"contact_name\").ok(),","highlight_start":35,"highlight_end":42}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:87:35\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 87\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"contact_name\": r.try_get::<String, _>(\"contact_name\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 87\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"contact_name\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"contact_name\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":2772,"byte_end":2779,"line_start":88,"line_end":88,"column_start":36,"column_end":43,"is_primary":true,"text":[{"text":" \"contact_email\": r.try_get::<String, _>(\"contact_email\").ok(),","highlight_start":36,"highlight_end":43}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":2772,"byte_end":2779,"line_start":88,"line_end":88,"column_start":36,"column_end":43,"is_primary":true,"text":[{"text":" \"contact_email\": r.try_get::<String, _>(\"contact_email\").ok(),","highlight_start":36,"highlight_end":43}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:88:36\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 88\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"contact_email\": r.try_get::<String, _>(\"contact_email\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 88\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"contact_email\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"contact_email\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":2851,"byte_end":2858,"line_start":89,"line_end":89,"column_start":36,"column_end":43,"is_primary":true,"text":[{"text":" \"contact_phone\": r.try_get::<String, _>(\"contact_phone\").ok(),","highlight_start":36,"highlight_end":43}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":2851,"byte_end":2858,"line_start":89,"line_end":89,"column_start":36,"column_end":43,"is_primary":true,"text":[{"text":" \"contact_phone\": r.try_get::<String, _>(\"contact_phone\").ok(),","highlight_start":36,"highlight_end":43}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:89:36\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 89\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"contact_phone\": r.try_get::<String, _>(\"contact_phone\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 89\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"contact_phone\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"contact_phone\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":2924,"byte_end":2931,"line_start":90,"line_end":90,"column_start":30,"column_end":37,"is_primary":true,"text":[{"text":" \"address\": r.try_get::<String, _>(\"address\").ok(),","highlight_start":30,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":2924,"byte_end":2931,"line_start":90,"line_end":90,"column_start":30,"column_end":37,"is_primary":true,"text":[{"text":" \"address\": r.try_get::<String, _>(\"address\").ok(),","highlight_start":30,"highlight_end":37}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:90:30\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 90\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"address\": r.try_get::<String, _>(\"address\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 90\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"address\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"address\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":2995,"byte_end":3002,"line_start":91,"line_end":91,"column_start":34,"column_end":41,"is_primary":true,"text":[{"text":" \"postal_code\": r.try_get::<String, _>(\"postal_code\").ok(),","highlight_start":34,"highlight_end":41}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":2995,"byte_end":3002,"line_start":91,"line_end":91,"column_start":34,"column_end":41,"is_primary":true,"text":[{"text":" \"postal_code\": r.try_get::<String, _>(\"postal_code\").ok(),","highlight_start":34,"highlight_end":41}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:91:34\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 91\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"postal_code\": r.try_get::<String, _>(\"postal_code\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 91\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"postal_code\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"postal_code\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":3063,"byte_end":3070,"line_start":92,"line_end":92,"column_start":27,"column_end":34,"is_primary":true,"text":[{"text":" \"city\": r.try_get::<String, _>(\"city\").ok(),","highlight_start":27,"highlight_end":34}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":3063,"byte_end":3070,"line_start":92,"line_end":92,"column_start":27,"column_end":34,"is_primary":true,"text":[{"text":" \"city\": r.try_get::<String, _>(\"city\").ok(),","highlight_start":27,"highlight_end":34}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:92:27\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 92\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"city\": r.try_get::<String, _>(\"city\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 92\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"city\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"city\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":3127,"byte_end":3130,"line_start":93,"line_end":93,"column_start":30,"column_end":33,"is_primary":true,"text":[{"text":" \"country\": r.get::<String, _>(\"country\"),","highlight_start":30,"highlight_end":33}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:93:30\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m93\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"country\": r.get::<String, _>(\"country\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":3196,"byte_end":3199,"line_start":94,"line_end":94,"column_start":41,"column_end":44,"is_primary":true,"text":[{"text":" \"payment_terms_days\": r.get::<i32, _>(\"payment_terms_days\"),","highlight_start":41,"highlight_end":44}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:94:41\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m94\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"payment_terms_days\": r.get::<i32, _>(\"payment_terms_days\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":3271,"byte_end":3274,"line_start":95,"line_end":95,"column_start":39,"column_end":42,"is_primary":true,"text":[{"text":" \"default_vat_rate\": r.get::<i32, _>(\"default_vat_rate\"),","highlight_start":39,"highlight_end":42}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:95:39\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m95\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"default_vat_rate\": r.get::<i32, _>(\"default_vat_rate\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":3343,"byte_end":3346,"line_start":96,"line_end":96,"column_start":38,"column_end":41,"is_primary":true,"text":[{"text":" \"default_account\": r.get::<String, _>(\"default_account\"),","highlight_start":38,"highlight_end":41}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:96:38\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m96\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"default_account\": r.get::<String, _>(\"default_account\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":3410,"byte_end":3413,"line_start":97,"line_end":97,"column_start":31,"column_end":34,"is_primary":true,"text":[{"text":" \"currency\": r.get::<String, _>(\"currency\"),","highlight_start":31,"highlight_end":34}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:97:31\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m97\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"currency\": r.get::<String, _>(\"currency\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":3467,"byte_end":3474,"line_start":98,"line_end":98,"column_start":28,"column_end":35,"is_primary":true,"text":[{"text":" \"notes\": r.try_get::<String, _>(\"notes\").ok(),","highlight_start":28,"highlight_end":35}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":3467,"byte_end":3474,"line_start":98,"line_end":98,"column_start":28,"column_end":35,"is_primary":true,"text":[{"text":" \"notes\": r.try_get::<String, _>(\"notes\").ok(),","highlight_start":28,"highlight_end":35}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:98:28\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 98\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"notes\": r.try_get::<String, _>(\"notes\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 98\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"notes\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"notes\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":3531,"byte_end":3534,"line_start":99,"line_end":99,"column_start":29,"column_end":32,"is_primary":true,"text":[{"text":" \"active\": r.get::<bool, _>(\"active\"),","highlight_start":29,"highlight_end":32}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:99:29\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m99\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"active\": r.get::<bool, _>(\"active\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":3589,"byte_end":3592,"line_start":100,"line_end":100,"column_start":33,"column_end":36,"is_primary":true,"text":[{"text":" \"created_at\": r.get::<chrono::DateTime<chrono::Utc>, _>(\"created_at\"),","highlight_start":33,"highlight_end":36}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:100:33\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m100\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"created_at\": r.get::<chrono::DateTime<chrono::Utc>, _>(\"created_at\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":3676,"byte_end":3679,"line_start":101,"line_end":101,"column_start":33,"column_end":36,"is_primary":true,"text":[{"text":" \"updated_at\": r.get::<chrono::DateTime<chrono::Utc>, _>(\"updated_at\"),","highlight_start":33,"highlight_end":36}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:101:33\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m101\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"updated_at\": r.get::<chrono::DateTime<chrono::Utc>, _>(\"updated_at\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":4694,"byte_end":4697,"line_start":136,"line_end":136,"column_start":25,"column_end":28,"is_primary":true,"text":[{"text":" \"id\": r.get::<Uuid, _>(\"id\"),","highlight_start":25,"highlight_end":28}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:136:25\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m136\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"id\": r.get::<Uuid, _>(\"id\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":4747,"byte_end":4750,"line_start":137,"line_end":137,"column_start":32,"column_end":35,"is_primary":true,"text":[{"text":" \"tenant_id\": r.get::<String, _>(\"tenant_id\"),","highlight_start":32,"highlight_end":35}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:137:32\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m137\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"tenant_id\": r.get::<String, _>(\"tenant_id\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":4804,"byte_end":4807,"line_start":138,"line_end":138,"column_start":27,"column_end":30,"is_primary":true,"text":[{"text":" \"name\": r.get::<String, _>(\"name\"),","highlight_start":27,"highlight_end":30}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:138:27\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m138\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"name\": r.get::<String, _>(\"name\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":4862,"byte_end":4869,"line_start":139,"line_end":139,"column_start":33,"column_end":40,"is_primary":true,"text":[{"text":" \"org_number\": r.try_get::<String, _>(\"org_number\").ok(),","highlight_start":33,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":4862,"byte_end":4869,"line_start":139,"line_end":139,"column_start":33,"column_end":40,"is_primary":true,"text":[{"text":" \"org_number\": r.try_get::<String, _>(\"org_number\").ok(),","highlight_start":33,"highlight_end":40}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:139:33\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m139\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"org_number\": r.try_get::<String, _>(\"org_number\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m139\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"org_number\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"org_number\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":4935,"byte_end":4942,"line_start":140,"line_end":140,"column_start":33,"column_end":40,"is_primary":true,"text":[{"text":" \"vat_number\": r.try_get::<String, _>(\"vat_number\").ok(),","highlight_start":33,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":4935,"byte_end":4942,"line_start":140,"line_end":140,"column_start":33,"column_end":40,"is_primary":true,"text":[{"text":" \"vat_number\": r.try_get::<String, _>(\"vat_number\").ok(),","highlight_start":33,"highlight_end":40}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:140:33\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m140\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"vat_number\": r.try_get::<String, _>(\"vat_number\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m140\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"vat_number\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"vat_number\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":5010,"byte_end":5017,"line_start":141,"line_end":141,"column_start":35,"column_end":42,"is_primary":true,"text":[{"text":" \"contact_name\": r.try_get::<String, _>(\"contact_name\").ok(),","highlight_start":35,"highlight_end":42}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":5010,"byte_end":5017,"line_start":141,"line_end":141,"column_start":35,"column_end":42,"is_primary":true,"text":[{"text":" \"contact_name\": r.try_get::<String, _>(\"contact_name\").ok(),","highlight_start":35,"highlight_end":42}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:141:35\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m141\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"contact_name\": r.try_get::<String, _>(\"contact_name\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m141\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"contact_name\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"contact_name\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":5088,"byte_end":5095,"line_start":142,"line_end":142,"column_start":36,"column_end":43,"is_primary":true,"text":[{"text":" \"contact_email\": r.try_get::<String, _>(\"contact_email\").ok(),","highlight_start":36,"highlight_end":43}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":5088,"byte_end":5095,"line_start":142,"line_end":142,"column_start":36,"column_end":43,"is_primary":true,"text":[{"text":" \"contact_email\": r.try_get::<String, _>(\"contact_email\").ok(),","highlight_start":36,"highlight_end":43}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:142:36\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m142\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"contact_email\": r.try_get::<String, _>(\"contact_email\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m142\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"contact_email\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"contact_email\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":5167,"byte_end":5174,"line_start":143,"line_end":143,"column_start":36,"column_end":43,"is_primary":true,"text":[{"text":" \"contact_phone\": r.try_get::<String, _>(\"contact_phone\").ok(),","highlight_start":36,"highlight_end":43}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":5167,"byte_end":5174,"line_start":143,"line_end":143,"column_start":36,"column_end":43,"is_primary":true,"text":[{"text":" \"contact_phone\": r.try_get::<String, _>(\"contact_phone\").ok(),","highlight_start":36,"highlight_end":43}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:143:36\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m143\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"contact_phone\": r.try_get::<String, _>(\"contact_phone\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m143\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"contact_phone\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"contact_phone\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":5240,"byte_end":5247,"line_start":144,"line_end":144,"column_start":30,"column_end":37,"is_primary":true,"text":[{"text":" \"address\": r.try_get::<String, _>(\"address\").ok(),","highlight_start":30,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":5240,"byte_end":5247,"line_start":144,"line_end":144,"column_start":30,"column_end":37,"is_primary":true,"text":[{"text":" \"address\": r.try_get::<String, _>(\"address\").ok(),","highlight_start":30,"highlight_end":37}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:144:30\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m144\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"address\": r.try_get::<String, _>(\"address\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m144\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"address\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"address\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":5311,"byte_end":5318,"line_start":145,"line_end":145,"column_start":34,"column_end":41,"is_primary":true,"text":[{"text":" \"postal_code\": r.try_get::<String, _>(\"postal_code\").ok(),","highlight_start":34,"highlight_end":41}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":5311,"byte_end":5318,"line_start":145,"line_end":145,"column_start":34,"column_end":41,"is_primary":true,"text":[{"text":" \"postal_code\": r.try_get::<String, _>(\"postal_code\").ok(),","highlight_start":34,"highlight_end":41}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:145:34\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m145\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"postal_code\": r.try_get::<String, _>(\"postal_code\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m145\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"postal_code\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"postal_code\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":5379,"byte_end":5386,"line_start":146,"line_end":146,"column_start":27,"column_end":34,"is_primary":true,"text":[{"text":" \"city\": r.try_get::<String, _>(\"city\").ok(),","highlight_start":27,"highlight_end":34}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":5379,"byte_end":5386,"line_start":146,"line_end":146,"column_start":27,"column_end":34,"is_primary":true,"text":[{"text":" \"city\": r.try_get::<String, _>(\"city\").ok(),","highlight_start":27,"highlight_end":34}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:146:27\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m146\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"city\": r.try_get::<String, _>(\"city\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m146\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"city\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"city\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":5443,"byte_end":5446,"line_start":147,"line_end":147,"column_start":30,"column_end":33,"is_primary":true,"text":[{"text":" \"country\": r.get::<String, _>(\"country\"),","highlight_start":30,"highlight_end":33}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:147:30\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m147\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"country\": r.get::<String, _>(\"country\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":5512,"byte_end":5515,"line_start":148,"line_end":148,"column_start":41,"column_end":44,"is_primary":true,"text":[{"text":" \"payment_terms_days\": r.get::<i32, _>(\"payment_terms_days\"),","highlight_start":41,"highlight_end":44}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:148:41\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m148\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"payment_terms_days\": r.get::<i32, _>(\"payment_terms_days\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":5587,"byte_end":5590,"line_start":149,"line_end":149,"column_start":39,"column_end":42,"is_primary":true,"text":[{"text":" \"default_vat_rate\": r.get::<i32, _>(\"default_vat_rate\"),","highlight_start":39,"highlight_end":42}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:149:39\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m149\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"default_vat_rate\": r.get::<i32, _>(\"default_vat_rate\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":5659,"byte_end":5662,"line_start":150,"line_end":150,"column_start":38,"column_end":41,"is_primary":true,"text":[{"text":" \"default_account\": r.get::<String, _>(\"default_account\"),","highlight_start":38,"highlight_end":41}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:150:38\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m150\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"default_account\": r.get::<String, _>(\"default_account\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":5726,"byte_end":5729,"line_start":151,"line_end":151,"column_start":31,"column_end":34,"is_primary":true,"text":[{"text":" \"currency\": r.get::<String, _>(\"currency\"),","highlight_start":31,"highlight_end":34}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:151:31\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m151\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"currency\": r.get::<String, _>(\"currency\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":5783,"byte_end":5790,"line_start":152,"line_end":152,"column_start":28,"column_end":35,"is_primary":true,"text":[{"text":" \"notes\": r.try_get::<String, _>(\"notes\").ok(),","highlight_start":28,"highlight_end":35}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":5783,"byte_end":5790,"line_start":152,"line_end":152,"column_start":28,"column_end":35,"is_primary":true,"text":[{"text":" \"notes\": r.try_get::<String, _>(\"notes\").ok(),","highlight_start":28,"highlight_end":35}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:152:28\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m152\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"notes\": r.try_get::<String, _>(\"notes\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m152\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"notes\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"notes\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":5847,"byte_end":5850,"line_start":153,"line_end":153,"column_start":29,"column_end":32,"is_primary":true,"text":[{"text":" \"active\": r.get::<bool, _>(\"active\"),","highlight_start":29,"highlight_end":32}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:153:29\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m153\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"active\": r.get::<bool, _>(\"active\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":5905,"byte_end":5908,"line_start":154,"line_end":154,"column_start":33,"column_end":36,"is_primary":true,"text":[{"text":" \"created_at\": r.get::<chrono::DateTime<chrono::Utc>, _>(\"created_at\"),","highlight_start":33,"highlight_end":36}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:154:33\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m154\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"created_at\": r.get::<chrono::DateTime<chrono::Utc>, _>(\"created_at\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":5992,"byte_end":5995,"line_start":155,"line_end":155,"column_start":33,"column_end":36,"is_primary":true,"text":[{"text":" \"updated_at\": r.get::<chrono::DateTime<chrono::Utc>, _>(\"updated_at\"),","highlight_start":33,"highlight_end":36}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/customers.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/customers.rs:155:33\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m155\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"updated_at\": r.get::<chrono::DateTime<chrono::Utc>, _>(\"updated_at\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/export.rs","byte_start":2869,"byte_end":2876,"line_start":102,"line_end":102,"column_start":17,"column_end":24,"is_primary":true,"text":[{"text":" row.try_get::<i64, _>(\"entry_number\").map(|n| n.to_string()).unwrap_or_default(),","highlight_start":17,"highlight_end":24}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/export.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/export.rs","byte_start":2869,"byte_end":2876,"line_start":102,"line_end":102,"column_start":17,"column_end":24,"is_primary":true,"text":[{"text":" row.try_get::<i64, _>(\"entry_number\").map(|n| n.to_string()).unwrap_or_default(),","highlight_start":17,"highlight_end":24}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/export.rs:102:17\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m102\u001b[0m \u001b[1m\u001b[94m|\u001b[0m row.try_get::<i64, _>(\"entry_number\").map(|n| n.to_string()).unwrap_or_default(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m102\u001b[0m \u001b[1m\u001b[94m| \u001b[0m row.try_get\u001b[92m_raw\u001b[0m::<i64, _>(\"entry_number\").map(|n| n.to_string()).unwrap_or_default(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/export.rs","byte_start":2963,"byte_end":2966,"line_start":103,"line_end":103,"column_start":17,"column_end":20,"is_primary":true,"text":[{"text":" row.get::<chrono::NaiveDate, _>(\"entry_date\"),","highlight_start":17,"highlight_end":20}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/export.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/export.rs:103:17\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m103\u001b[0m \u001b[1m\u001b[94m|\u001b[0m row.get::<chrono::NaiveDate, _>(\"entry_date\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/export.rs","byte_start":3022,"byte_end":3025,"line_start":104,"line_end":104,"column_start":17,"column_end":20,"is_primary":true,"text":[{"text":" row.get::<String, _>(\"description\").replace(',', \" \"),","highlight_start":17,"highlight_end":20}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/export.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/export.rs:104:17\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m104\u001b[0m \u001b[1m\u001b[94m|\u001b[0m row.get::<String, _>(\"description\").replace(',', \" \"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/export.rs","byte_start":3089,"byte_end":3092,"line_start":105,"line_end":105,"column_start":17,"column_end":20,"is_primary":true,"text":[{"text":" row.get::<String, _>(\"account_number\"),","highlight_start":17,"highlight_end":20}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/export.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/export.rs:105:17\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m105\u001b[0m \u001b[1m\u001b[94m|\u001b[0m row.get::<String, _>(\"account_number\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/export.rs","byte_start":3141,"byte_end":3148,"line_start":106,"line_end":106,"column_start":17,"column_end":24,"is_primary":true,"text":[{"text":" row.try_get::<i64, _>(\"debit\").map(|d| d.to_string()).unwrap_or_default(),","highlight_start":17,"highlight_end":24}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/export.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/export.rs","byte_start":3141,"byte_end":3148,"line_start":106,"line_end":106,"column_start":17,"column_end":24,"is_primary":true,"text":[{"text":" row.try_get::<i64, _>(\"debit\").map(|d| d.to_string()).unwrap_or_default(),","highlight_start":17,"highlight_end":24}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/export.rs:106:17\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m106\u001b[0m \u001b[1m\u001b[94m|\u001b[0m row.try_get::<i64, _>(\"debit\").map(|d| d.to_string()).unwrap_or_default(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m106\u001b[0m \u001b[1m\u001b[94m| \u001b[0m row.try_get\u001b[92m_raw\u001b[0m::<i64, _>(\"debit\").map(|d| d.to_string()).unwrap_or_default(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/export.rs","byte_start":3228,"byte_end":3235,"line_start":107,"line_end":107,"column_start":17,"column_end":24,"is_primary":true,"text":[{"text":" row.try_get::<i64, _>(\"credit\").map(|c| c.to_string()).unwrap_or_default(),","highlight_start":17,"highlight_end":24}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/export.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/export.rs","byte_start":3228,"byte_end":3235,"line_start":107,"line_end":107,"column_start":17,"column_end":24,"is_primary":true,"text":[{"text":" row.try_get::<i64, _>(\"credit\").map(|c| c.to_string()).unwrap_or_default(),","highlight_start":17,"highlight_end":24}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/export.rs:107:17\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m107\u001b[0m \u001b[1m\u001b[94m|\u001b[0m row.try_get::<i64, _>(\"credit\").map(|c| c.to_string()).unwrap_or_default(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m107\u001b[0m \u001b[1m\u001b[94m| \u001b[0m row.try_get\u001b[92m_raw\u001b[0m::<i64, _>(\"credit\").map(|c| c.to_string()).unwrap_or_default(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":1061,"byte_end":1064,"line_start":45,"line_end":45,"column_start":25,"column_end":28,"is_primary":true,"text":[{"text":" \"id\": r.get::<Uuid, _>(\"id\"),","highlight_start":25,"highlight_end":28}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/invoices.rs:45:25\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m45\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"id\": r.get::<Uuid, _>(\"id\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":1114,"byte_end":1117,"line_start":46,"line_end":46,"column_start":32,"column_end":35,"is_primary":true,"text":[{"text":" \"tenant_id\": r.get::<String, _>(\"tenant_id\"),","highlight_start":32,"highlight_end":35}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/invoices.rs:46:32\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m46\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"tenant_id\": r.get::<String, _>(\"tenant_id\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":1180,"byte_end":1183,"line_start":47,"line_end":47,"column_start":36,"column_end":39,"is_primary":true,"text":[{"text":" \"customer_name\": r.get::<String, _>(\"name\"),","highlight_start":36,"highlight_end":39}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/invoices.rs:47:36\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m47\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"customer_name\": r.get::<String, _>(\"name\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":1238,"byte_end":1245,"line_start":48,"line_end":48,"column_start":33,"column_end":40,"is_primary":true,"text":[{"text":" \"org_number\": r.try_get::<String, _>(\"org_number\").ok(),","highlight_start":33,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":1238,"byte_end":1245,"line_start":48,"line_end":48,"column_start":33,"column_end":40,"is_primary":true,"text":[{"text":" \"org_number\": r.try_get::<String, _>(\"org_number\").ok(),","highlight_start":33,"highlight_end":40}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/invoices.rs:48:33\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 48\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"org_number\": r.try_get::<String, _>(\"org_number\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 48\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"org_number\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"org_number\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":1311,"byte_end":1318,"line_start":49,"line_end":49,"column_start":33,"column_end":40,"is_primary":true,"text":[{"text":" \"vat_number\": r.try_get::<String, _>(\"vat_number\").ok(),","highlight_start":33,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":1311,"byte_end":1318,"line_start":49,"line_end":49,"column_start":33,"column_end":40,"is_primary":true,"text":[{"text":" \"vat_number\": r.try_get::<String, _>(\"vat_number\").ok(),","highlight_start":33,"highlight_end":40}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/invoices.rs:49:33\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 49\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"vat_number\": r.try_get::<String, _>(\"vat_number\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 49\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"vat_number\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"vat_number\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":1387,"byte_end":1394,"line_start":50,"line_end":50,"column_start":36,"column_end":43,"is_primary":true,"text":[{"text":" \"contact_email\": r.try_get::<String, _>(\"contact_email\").ok(),","highlight_start":36,"highlight_end":43}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":1387,"byte_end":1394,"line_start":50,"line_end":50,"column_start":36,"column_end":43,"is_primary":true,"text":[{"text":" \"contact_email\": r.try_get::<String, _>(\"contact_email\").ok(),","highlight_start":36,"highlight_end":43}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/invoices.rs:50:36\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 50\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"contact_email\": r.try_get::<String, _>(\"contact_email\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 50\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"contact_email\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"contact_email\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":1461,"byte_end":1464,"line_start":51,"line_end":51,"column_start":31,"column_end":34,"is_primary":true,"text":[{"text":" \"currency\": r.get::<String, _>(\"currency\"),","highlight_start":31,"highlight_end":34}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/invoices.rs:51:31\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m51\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"currency\": r.get::<String, _>(\"currency\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":1519,"byte_end":1522,"line_start":52,"line_end":52,"column_start":29,"column_end":32,"is_primary":true,"text":[{"text":" \"active\": r.get::<bool, _>(\"active\"),","highlight_start":29,"highlight_end":32}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/invoices.rs:52:29\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m52\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"active\": r.get::<bool, _>(\"active\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":2398,"byte_end":2401,"line_start":86,"line_end":86,"column_start":25,"column_end":28,"is_primary":true,"text":[{"text":" \"id\": r.get::<Uuid, _>(\"id\"),","highlight_start":25,"highlight_end":28}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/invoices.rs:86:25\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m86\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"id\": r.get::<Uuid, _>(\"id\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":2451,"byte_end":2454,"line_start":87,"line_end":87,"column_start":32,"column_end":35,"is_primary":true,"text":[{"text":" \"tenant_id\": r.get::<String, _>(\"tenant_id\"),","highlight_start":32,"highlight_end":35}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/invoices.rs:87:32\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m87\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"tenant_id\": r.get::<String, _>(\"tenant_id\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":2517,"byte_end":2520,"line_start":88,"line_end":88,"column_start":36,"column_end":39,"is_primary":true,"text":[{"text":" \"customer_name\": r.get::<String, _>(\"name\"),","highlight_start":36,"highlight_end":39}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/invoices.rs:88:36\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m88\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"customer_name\": r.get::<String, _>(\"name\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":2575,"byte_end":2582,"line_start":89,"line_end":89,"column_start":33,"column_end":40,"is_primary":true,"text":[{"text":" \"org_number\": r.try_get::<String, _>(\"org_number\").ok(),","highlight_start":33,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":2575,"byte_end":2582,"line_start":89,"line_end":89,"column_start":33,"column_end":40,"is_primary":true,"text":[{"text":" \"org_number\": r.try_get::<String, _>(\"org_number\").ok(),","highlight_start":33,"highlight_end":40}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/invoices.rs:89:33\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 89\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"org_number\": r.try_get::<String, _>(\"org_number\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 89\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"org_number\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"org_number\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":2648,"byte_end":2655,"line_start":90,"line_end":90,"column_start":33,"column_end":40,"is_primary":true,"text":[{"text":" \"vat_number\": r.try_get::<String, _>(\"vat_number\").ok(),","highlight_start":33,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":2648,"byte_end":2655,"line_start":90,"line_end":90,"column_start":33,"column_end":40,"is_primary":true,"text":[{"text":" \"vat_number\": r.try_get::<String, _>(\"vat_number\").ok(),","highlight_start":33,"highlight_end":40}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/invoices.rs:90:33\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 90\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"vat_number\": r.try_get::<String, _>(\"vat_number\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 90\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"vat_number\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"vat_number\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":2724,"byte_end":2731,"line_start":91,"line_end":91,"column_start":36,"column_end":43,"is_primary":true,"text":[{"text":" \"contact_email\": r.try_get::<String, _>(\"contact_email\").ok(),","highlight_start":36,"highlight_end":43}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":2724,"byte_end":2731,"line_start":91,"line_end":91,"column_start":36,"column_end":43,"is_primary":true,"text":[{"text":" \"contact_email\": r.try_get::<String, _>(\"contact_email\").ok(),","highlight_start":36,"highlight_end":43}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/invoices.rs:91:36\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 91\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"contact_email\": r.try_get::<String, _>(\"contact_email\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 91\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"contact_email\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"contact_email\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":2798,"byte_end":2801,"line_start":92,"line_end":92,"column_start":31,"column_end":34,"is_primary":true,"text":[{"text":" \"currency\": r.get::<String, _>(\"currency\"),","highlight_start":31,"highlight_end":34}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/invoices.rs:92:31\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m92\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"currency\": r.get::<String, _>(\"currency\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":2856,"byte_end":2859,"line_start":93,"line_end":93,"column_start":29,"column_end":32,"is_primary":true,"text":[{"text":" \"active\": r.get::<bool, _>(\"active\"),","highlight_start":29,"highlight_end":32}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/invoices.rs:93:29\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m93\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"active\": r.get::<bool, _>(\"active\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":2911,"byte_end":2918,"line_start":94,"line_end":94,"column_start":30,"column_end":37,"is_primary":true,"text":[{"text":" \"address\": r.try_get::<String, _>(\"address\").ok(),","highlight_start":30,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":2911,"byte_end":2918,"line_start":94,"line_end":94,"column_start":30,"column_end":37,"is_primary":true,"text":[{"text":" \"address\": r.try_get::<String, _>(\"address\").ok(),","highlight_start":30,"highlight_end":37}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/invoices.rs:94:30\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 94\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"address\": r.try_get::<String, _>(\"address\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 94\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"address\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"address\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":2982,"byte_end":2989,"line_start":95,"line_end":95,"column_start":34,"column_end":41,"is_primary":true,"text":[{"text":" \"postal_code\": r.try_get::<String, _>(\"postal_code\").ok(),","highlight_start":34,"highlight_end":41}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":2982,"byte_end":2989,"line_start":95,"line_end":95,"column_start":34,"column_end":41,"is_primary":true,"text":[{"text":" \"postal_code\": r.try_get::<String, _>(\"postal_code\").ok(),","highlight_start":34,"highlight_end":41}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/invoices.rs:95:34\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 95\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"postal_code\": r.try_get::<String, _>(\"postal_code\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 95\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"postal_code\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"postal_code\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":3050,"byte_end":3057,"line_start":96,"line_end":96,"column_start":27,"column_end":34,"is_primary":true,"text":[{"text":" \"city\": r.try_get::<String, _>(\"city\").ok(),","highlight_start":27,"highlight_end":34}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":3050,"byte_end":3057,"line_start":96,"line_end":96,"column_start":27,"column_end":34,"is_primary":true,"text":[{"text":" \"city\": r.try_get::<String, _>(\"city\").ok(),","highlight_start":27,"highlight_end":34}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/invoices.rs:96:27\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 96\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"city\": r.try_get::<String, _>(\"city\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 96\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"city\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"city\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":3114,"byte_end":3117,"line_start":97,"line_end":97,"column_start":30,"column_end":33,"is_primary":true,"text":[{"text":" \"country\": r.get::<String, _>(\"country\"),","highlight_start":30,"highlight_end":33}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/invoices.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/invoices.rs:97:30\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m97\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"country\": r.get::<String, _>(\"country\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":1904,"byte_end":1907,"line_start":75,"line_end":75,"column_start":25,"column_end":28,"is_primary":true,"text":[{"text":" \"id\": r.get::<Uuid, _>(\"id\"),","highlight_start":25,"highlight_end":28}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:75:25\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m75\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"id\": r.get::<Uuid, _>(\"id\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":1957,"byte_end":1960,"line_start":76,"line_end":76,"column_start":32,"column_end":35,"is_primary":true,"text":[{"text":" \"tenant_id\": r.get::<String, _>(\"tenant_id\"),","highlight_start":32,"highlight_end":35}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:76:32\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m76\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"tenant_id\": r.get::<String, _>(\"tenant_id\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":2022,"byte_end":2029,"line_start":77,"line_end":77,"column_start":35,"column_end":42,"is_primary":true,"text":[{"text":" \"entry_number\": r.try_get::<i64, _>(\"entry_number\").ok(),","highlight_start":35,"highlight_end":42}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":2022,"byte_end":2029,"line_start":77,"line_end":77,"column_start":35,"column_end":42,"is_primary":true,"text":[{"text":" \"entry_number\": r.try_get::<i64, _>(\"entry_number\").ok(),","highlight_start":35,"highlight_end":42}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:77:35\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 77\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"entry_number\": r.try_get::<i64, _>(\"entry_number\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 77\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"entry_number\": r.try_get\u001b[92m_raw\u001b[0m::<i64, _>(\"entry_number\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":2095,"byte_end":2098,"line_start":78,"line_end":78,"column_start":34,"column_end":37,"is_primary":true,"text":[{"text":" \"fiscal_year\": r.get::<i32, _>(\"fiscal_year\"),","highlight_start":34,"highlight_end":37}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:78:34\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m78\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"fiscal_year\": r.get::<i32, _>(\"fiscal_year\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":2153,"byte_end":2156,"line_start":79,"line_end":79,"column_start":29,"column_end":32,"is_primary":true,"text":[{"text":" \"period\": r.get::<String, _>(\"period\"),","highlight_start":29,"highlight_end":32}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:79:29\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m79\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"period\": r.get::<String, _>(\"period\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":2213,"byte_end":2216,"line_start":80,"line_end":80,"column_start":33,"column_end":36,"is_primary":true,"text":[{"text":" \"entry_date\": r.get::<chrono::NaiveDate, _>(\"entry_date\"),","highlight_start":33,"highlight_end":36}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:80:33\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m80\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"entry_date\": r.get::<chrono::NaiveDate, _>(\"entry_date\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":2289,"byte_end":2292,"line_start":81,"line_end":81,"column_start":34,"column_end":37,"is_primary":true,"text":[{"text":" \"description\": r.get::<String, _>(\"description\"),","highlight_start":34,"highlight_end":37}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:81:34\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m81\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"description\": r.get::<String, _>(\"description\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":2353,"byte_end":2360,"line_start":82,"line_end":82,"column_start":32,"column_end":39,"is_primary":true,"text":[{"text":" \"reference\": r.try_get::<String, _>(\"reference\").ok(),","highlight_start":32,"highlight_end":39}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":2353,"byte_end":2360,"line_start":82,"line_end":82,"column_start":32,"column_end":39,"is_primary":true,"text":[{"text":" \"reference\": r.try_get::<String, _>(\"reference\").ok(),","highlight_start":32,"highlight_end":39}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:82:32\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 82\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"reference\": r.try_get::<String, _>(\"reference\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 82\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"reference\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"reference\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":2426,"byte_end":2429,"line_start":83,"line_end":83,"column_start":34,"column_end":37,"is_primary":true,"text":[{"text":" \"source_type\": r.get::<String, _>(\"source_type\"),","highlight_start":34,"highlight_end":37}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:83:34\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m83\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"source_type\": r.get::<String, _>(\"source_type\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":2487,"byte_end":2490,"line_start":84,"line_end":84,"column_start":29,"column_end":32,"is_primary":true,"text":[{"text":" \"status\": r.get::<String, _>(\"status\"),","highlight_start":29,"highlight_end":32}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:84:29\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m84\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"status\": r.get::<String, _>(\"status\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":2547,"byte_end":2550,"line_start":85,"line_end":85,"column_start":33,"column_end":36,"is_primary":true,"text":[{"text":" \"created_at\": r.get::<chrono::DateTime<chrono::Utc>, _>(\"created_at\"),","highlight_start":33,"highlight_end":36}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:85:33\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m85\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"created_at\": r.get::<chrono::DateTime<chrono::Utc>, _>(\"created_at\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":2633,"byte_end":2640,"line_start":86,"line_end":86,"column_start":32,"column_end":39,"is_primary":true,"text":[{"text":" \"posted_at\": r.try_get::<chrono::DateTime<chrono::Utc>, _>(\"posted_at\").ok(),","highlight_start":32,"highlight_end":39}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":2633,"byte_end":2640,"line_start":86,"line_end":86,"column_start":32,"column_end":39,"is_primary":true,"text":[{"text":" \"posted_at\": r.try_get::<chrono::DateTime<chrono::Utc>, _>(\"posted_at\").ok(),","highlight_start":32,"highlight_end":39}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:86:32\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 86\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"posted_at\": r.try_get::<chrono::DateTime<chrono::Utc>, _>(\"posted_at\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 86\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"posted_at\": r.try_get\u001b[92m_raw\u001b[0m::<chrono::DateTime<chrono::Utc>, _>(\"posted_at\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":4039,"byte_end":4042,"line_start":137,"line_end":137,"column_start":33,"column_end":36,"is_primary":true,"text":[{"text":" \"id\": l.get::<Uuid, _>(\"id\"),","highlight_start":33,"highlight_end":36}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:137:33\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m137\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"id\": l.get::<Uuid, _>(\"id\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":4102,"byte_end":4105,"line_start":138,"line_end":138,"column_start":42,"column_end":45,"is_primary":true,"text":[{"text":" \"line_number\": l.get::<i32, _>(\"line_number\"),","highlight_start":42,"highlight_end":45}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:138:42\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m138\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"line_number\": l.get::<i32, _>(\"line_number\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":4176,"byte_end":4179,"line_start":139,"line_end":139,"column_start":45,"column_end":48,"is_primary":true,"text":[{"text":" \"account_number\": l.get::<String, _>(\"account_number\"),","highlight_start":45,"highlight_end":48}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:139:45\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m139\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"account_number\": l.get::<String, _>(\"account_number\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":4254,"byte_end":4261,"line_start":140,"line_end":140,"column_start":43,"column_end":50,"is_primary":true,"text":[{"text":" \"account_name\": l.try_get::<String, _>(\"account_name\").ok(),","highlight_start":43,"highlight_end":50}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":4254,"byte_end":4261,"line_start":140,"line_end":140,"column_start":43,"column_end":50,"is_primary":true,"text":[{"text":" \"account_name\": l.try_get::<String, _>(\"account_name\").ok(),","highlight_start":43,"highlight_end":50}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:140:43\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m140\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"account_name\": l.try_get::<String, _>(\"account_name\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m140\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"account_name\": l.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"account_name\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":4332,"byte_end":4339,"line_start":141,"line_end":141,"column_start":36,"column_end":43,"is_primary":true,"text":[{"text":" \"debit\": l.try_get::<i64, _>(\"debit\").ok(),","highlight_start":36,"highlight_end":43}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":4332,"byte_end":4339,"line_start":141,"line_end":141,"column_start":36,"column_end":43,"is_primary":true,"text":[{"text":" \"debit\": l.try_get::<i64, _>(\"debit\").ok(),","highlight_start":36,"highlight_end":43}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:141:36\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m141\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"debit\": l.try_get::<i64, _>(\"debit\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m141\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"debit\": l.try_get\u001b[92m_raw\u001b[0m::<i64, _>(\"debit\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":4401,"byte_end":4408,"line_start":142,"line_end":142,"column_start":37,"column_end":44,"is_primary":true,"text":[{"text":" \"credit\": l.try_get::<i64, _>(\"credit\").ok(),","highlight_start":37,"highlight_end":44}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":4401,"byte_end":4408,"line_start":142,"line_end":142,"column_start":37,"column_end":44,"is_primary":true,"text":[{"text":" \"credit\": l.try_get::<i64, _>(\"credit\").ok(),","highlight_start":37,"highlight_end":44}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:142:37\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m142\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"credit\": l.try_get::<i64, _>(\"credit\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m142\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"credit\": l.try_get\u001b[92m_raw\u001b[0m::<i64, _>(\"credit\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":4473,"byte_end":4476,"line_start":143,"line_end":143,"column_start":39,"column_end":42,"is_primary":true,"text":[{"text":" \"currency\": l.get::<String, _>(\"currency\"),","highlight_start":39,"highlight_end":42}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:143:39\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m143\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"currency\": l.get::<String, _>(\"currency\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":4541,"byte_end":4548,"line_start":144,"line_end":144,"column_start":39,"column_end":46,"is_primary":true,"text":[{"text":" \"vat_code\": l.try_get::<String, _>(\"vat_code\").ok(),","highlight_start":39,"highlight_end":46}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":4541,"byte_end":4548,"line_start":144,"line_end":144,"column_start":39,"column_end":46,"is_primary":true,"text":[{"text":" \"vat_code\": l.try_get::<String, _>(\"vat_code\").ok(),","highlight_start":39,"highlight_end":46}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:144:39\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m144\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"vat_code\": l.try_get::<String, _>(\"vat_code\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m144\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"vat_code\": l.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"vat_code\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":4621,"byte_end":4628,"line_start":145,"line_end":145,"column_start":42,"column_end":49,"is_primary":true,"text":[{"text":" \"cost_center\": l.try_get::<String, _>(\"cost_center\").ok(),","highlight_start":42,"highlight_end":49}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":4621,"byte_end":4628,"line_start":145,"line_end":145,"column_start":42,"column_end":49,"is_primary":true,"text":[{"text":" \"cost_center\": l.try_get::<String, _>(\"cost_center\").ok(),","highlight_start":42,"highlight_end":49}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:145:42\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m145\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"cost_center\": l.try_get::<String, _>(\"cost_center\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m145\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"cost_center\": l.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"cost_center\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":4705,"byte_end":4712,"line_start":146,"line_end":146,"column_start":43,"column_end":50,"is_primary":true,"text":[{"text":" \"project_code\": l.try_get::<String, _>(\"project_code\").ok(),","highlight_start":43,"highlight_end":50}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":4705,"byte_end":4712,"line_start":146,"line_end":146,"column_start":43,"column_end":50,"is_primary":true,"text":[{"text":" \"project_code\": l.try_get::<String, _>(\"project_code\").ok(),","highlight_start":43,"highlight_end":50}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:146:43\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m146\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"project_code\": l.try_get::<String, _>(\"project_code\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m146\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"project_code\": l.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"project_code\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":4789,"byte_end":4796,"line_start":147,"line_end":147,"column_start":42,"column_end":49,"is_primary":true,"text":[{"text":" \"description\": l.try_get::<String, _>(\"description\").ok(),","highlight_start":42,"highlight_end":49}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":4789,"byte_end":4796,"line_start":147,"line_end":147,"column_start":42,"column_end":49,"is_primary":true,"text":[{"text":" \"description\": l.try_get::<String, _>(\"description\").ok(),","highlight_start":42,"highlight_end":49}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:147:42\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m147\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"description\": l.try_get::<String, _>(\"description\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m147\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"description\": l.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"description\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":5030,"byte_end":5033,"line_start":155,"line_end":155,"column_start":29,"column_end":32,"is_primary":true,"text":[{"text":" \"id\": r.get::<Uuid, _>(\"id\"),","highlight_start":29,"highlight_end":32}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:155:29\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m155\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"id\": r.get::<Uuid, _>(\"id\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":5087,"byte_end":5090,"line_start":156,"line_end":156,"column_start":36,"column_end":39,"is_primary":true,"text":[{"text":" \"tenant_id\": r.get::<String, _>(\"tenant_id\"),","highlight_start":36,"highlight_end":39}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:156:36\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m156\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"tenant_id\": r.get::<String, _>(\"tenant_id\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":5156,"byte_end":5163,"line_start":157,"line_end":157,"column_start":39,"column_end":46,"is_primary":true,"text":[{"text":" \"entry_number\": r.try_get::<i64, _>(\"entry_number\").ok(),","highlight_start":39,"highlight_end":46}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":5156,"byte_end":5163,"line_start":157,"line_end":157,"column_start":39,"column_end":46,"is_primary":true,"text":[{"text":" \"entry_number\": r.try_get::<i64, _>(\"entry_number\").ok(),","highlight_start":39,"highlight_end":46}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:157:39\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m157\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"entry_number\": r.try_get::<i64, _>(\"entry_number\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m157\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"entry_number\": r.try_get\u001b[92m_raw\u001b[0m::<i64, _>(\"entry_number\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":5233,"byte_end":5236,"line_start":158,"line_end":158,"column_start":38,"column_end":41,"is_primary":true,"text":[{"text":" \"fiscal_year\": r.get::<i32, _>(\"fiscal_year\"),","highlight_start":38,"highlight_end":41}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:158:38\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m158\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"fiscal_year\": r.get::<i32, _>(\"fiscal_year\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":5295,"byte_end":5298,"line_start":159,"line_end":159,"column_start":33,"column_end":36,"is_primary":true,"text":[{"text":" \"period\": r.get::<String, _>(\"period\"),","highlight_start":33,"highlight_end":36}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:159:33\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m159\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"period\": r.get::<String, _>(\"period\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":5359,"byte_end":5362,"line_start":160,"line_end":160,"column_start":37,"column_end":40,"is_primary":true,"text":[{"text":" \"entry_date\": r.get::<chrono::NaiveDate, _>(\"entry_date\"),","highlight_start":37,"highlight_end":40}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:160:37\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m160\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"entry_date\": r.get::<chrono::NaiveDate, _>(\"entry_date\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":5439,"byte_end":5442,"line_start":161,"line_end":161,"column_start":38,"column_end":41,"is_primary":true,"text":[{"text":" \"description\": r.get::<String, _>(\"description\"),","highlight_start":38,"highlight_end":41}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:161:38\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m161\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"description\": r.get::<String, _>(\"description\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":5507,"byte_end":5514,"line_start":162,"line_end":162,"column_start":36,"column_end":43,"is_primary":true,"text":[{"text":" \"reference\": r.try_get::<String, _>(\"reference\").ok(),","highlight_start":36,"highlight_end":43}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":5507,"byte_end":5514,"line_start":162,"line_end":162,"column_start":36,"column_end":43,"is_primary":true,"text":[{"text":" \"reference\": r.try_get::<String, _>(\"reference\").ok(),","highlight_start":36,"highlight_end":43}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:162:36\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m162\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"reference\": r.try_get::<String, _>(\"reference\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m162\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"reference\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"reference\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":5584,"byte_end":5587,"line_start":163,"line_end":163,"column_start":38,"column_end":41,"is_primary":true,"text":[{"text":" \"source_type\": r.get::<String, _>(\"source_type\"),","highlight_start":38,"highlight_end":41}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:163:38\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m163\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"source_type\": r.get::<String, _>(\"source_type\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":5649,"byte_end":5652,"line_start":164,"line_end":164,"column_start":33,"column_end":36,"is_primary":true,"text":[{"text":" \"status\": r.get::<String, _>(\"status\"),","highlight_start":33,"highlight_end":36}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:164:33\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m164\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"status\": r.get::<String, _>(\"status\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":5713,"byte_end":5716,"line_start":165,"line_end":165,"column_start":37,"column_end":40,"is_primary":true,"text":[{"text":" \"created_at\": r.get::<chrono::DateTime<chrono::Utc>, _>(\"created_at\"),","highlight_start":37,"highlight_end":40}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:165:37\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m165\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"created_at\": r.get::<chrono::DateTime<chrono::Utc>, _>(\"created_at\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":5803,"byte_end":5810,"line_start":166,"line_end":166,"column_start":36,"column_end":43,"is_primary":true,"text":[{"text":" \"posted_at\": r.try_get::<chrono::DateTime<chrono::Utc>, _>(\"posted_at\").ok(),","highlight_start":36,"highlight_end":43}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":5803,"byte_end":5810,"line_start":166,"line_end":166,"column_start":36,"column_end":43,"is_primary":true,"text":[{"text":" \"posted_at\": r.try_get::<chrono::DateTime<chrono::Utc>, _>(\"posted_at\").ok(),","highlight_start":36,"highlight_end":43}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:166:36\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m166\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"posted_at\": r.try_get::<chrono::DateTime<chrono::Utc>, _>(\"posted_at\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m166\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"posted_at\": r.try_get\u001b[92m_raw\u001b[0m::<chrono::DateTime<chrono::Utc>, _>(\"posted_at\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"method `year` is private","code":{"code":"E0624","explanation":"A private item was used outside of its scope.\n\nErroneous code example:\n\n```compile_fail,E0624\nmod inner {\n pub struct Foo;\n\n impl Foo {\n fn method(&self) {}\n }\n}\n\nlet foo = inner::Foo;\nfoo.method(); // error: method `method` is private\n```\n\nTwo possibilities are available to solve this issue:\n\n1. Only use the item in the scope it has been defined:\n\n```\nmod inner {\n pub struct Foo;\n\n impl Foo {\n fn method(&self) {}\n }\n\n pub fn call_method(foo: &Foo) { // We create a public function.\n foo.method(); // Which calls the item.\n }\n}\n\nlet foo = inner::Foo;\ninner::call_method(&foo); // And since the function is public, we can call the\n // method through it.\n```\n\n2. Make the item public:\n\n```\nmod inner {\n pub struct Foo;\n\n impl Foo {\n pub fn method(&self) {} // It's now public.\n }\n}\n\nlet foo = inner::Foo;\nfoo.method(); // Ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":6518,"byte_end":6522,"line_start":186,"line_end":186,"column_start":34,"column_end":38,"is_primary":true,"text":[{"text":" let fiscal_year = entry_date.year();","highlight_start":34,"highlight_end":38}],"label":"private method","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.45/src/naive/date/mod.rs","byte_start":53122,"byte_end":53149,"line_start":1409,"line_end":1409,"column_start":5,"column_end":32,"is_primary":false,"text":[{"text":" const fn year(&self) -> i32 {","highlight_start":5,"highlight_end":32}],"label":"private method defined here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Datelike` which provides `year` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use chrono::Datelike;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0624]\u001b[0m\u001b[1m: method `year` is private\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:186:34\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 186\u001b[0m \u001b[1m\u001b[94m|\u001b[0m let fiscal_year = entry_date.year();\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^\u001b[0m \u001b[1m\u001b[91mprivate method\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.45/src/naive/date/mod.rs:1409:5\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m1409\u001b[0m \u001b[1m\u001b[94m|\u001b[0m const fn year(&self) -> i32 {\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---------------------------\u001b[0m \u001b[1m\u001b[94mprivate method defined here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Datelike` which provides `year` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use chrono::Datelike;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"method `month` is private","code":{"code":"E0624","explanation":"A private item was used outside of its scope.\n\nErroneous code example:\n\n```compile_fail,E0624\nmod inner {\n pub struct Foo;\n\n impl Foo {\n fn method(&self) {}\n }\n}\n\nlet foo = inner::Foo;\nfoo.method(); // error: method `method` is private\n```\n\nTwo possibilities are available to solve this issue:\n\n1. Only use the item in the scope it has been defined:\n\n```\nmod inner {\n pub struct Foo;\n\n impl Foo {\n fn method(&self) {}\n }\n\n pub fn call_method(foo: &Foo) { // We create a public function.\n foo.method(); // Which calls the item.\n }\n}\n\nlet foo = inner::Foo;\ninner::call_method(&foo); // And since the function is public, we can call the\n // method through it.\n```\n\n2. Make the item public:\n\n```\nmod inner {\n pub struct Foo;\n\n impl Foo {\n pub fn method(&self) {} // It's now public.\n }\n}\n\nlet foo = inner::Foo;\nfoo.method(); // Ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":6590,"byte_end":6595,"line_start":187,"line_end":187,"column_start":65,"column_end":70,"is_primary":true,"text":[{"text":" let period = format!(\"{:04}-{:02}\", fiscal_year, entry_date.month());","highlight_start":65,"highlight_end":70}],"label":"private method","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.45/src/naive/date/mod.rs","byte_start":53533,"byte_end":53561,"line_start":1422,"line_end":1422,"column_start":5,"column_end":33,"is_primary":false,"text":[{"text":" const fn month(&self) -> u32 {","highlight_start":5,"highlight_end":33}],"label":"private method defined here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Datelike` which provides `month` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use chrono::Datelike;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0624]\u001b[0m\u001b[1m: method `month` is private\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:187:65\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 187\u001b[0m \u001b[1m\u001b[94m|\u001b[0m let period = format!(\"{:04}-{:02}\", fiscal_year, entry_date.month());\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^\u001b[0m \u001b[1m\u001b[91mprivate method\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.45/src/naive/date/mod.rs:1422:5\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m1422\u001b[0m \u001b[1m\u001b[94m|\u001b[0m const fn month(&self) -> u32 {\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m----------------------------\u001b[0m \u001b[1m\u001b[94mprivate method defined here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Datelike` which provides `month` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use chrono::Datelike;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":9682,"byte_end":9685,"line_start":286,"line_end":286,"column_start":39,"column_end":42,"is_primary":true,"text":[{"text":" let tenant_id: String = entry.get(\"tenant_id\");","highlight_start":39,"highlight_end":42}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/journal.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/journal.rs:286:39\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m286\u001b[0m \u001b[1m\u001b[94m|\u001b[0m let tenant_id: String = entry.get(\"tenant_id\");\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":1134,"byte_end":1137,"line_start":47,"line_end":47,"column_start":25,"column_end":28,"is_primary":true,"text":[{"text":" \"id\": r.get::<Uuid, _>(\"id\"),","highlight_start":25,"highlight_end":28}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/periods.rs:47:25\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m47\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"id\": r.get::<Uuid, _>(\"id\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":1187,"byte_end":1190,"line_start":48,"line_end":48,"column_start":32,"column_end":35,"is_primary":true,"text":[{"text":" \"tenant_id\": r.get::<String, _>(\"tenant_id\"),","highlight_start":32,"highlight_end":35}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/periods.rs:48:32\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m48\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"tenant_id\": r.get::<String, _>(\"tenant_id\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":1251,"byte_end":1254,"line_start":49,"line_end":49,"column_start":34,"column_end":37,"is_primary":true,"text":[{"text":" \"fiscal_year\": r.get::<i32, _>(\"fiscal_year\"),","highlight_start":34,"highlight_end":37}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/periods.rs:49:34\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m49\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"fiscal_year\": r.get::<i32, _>(\"fiscal_year\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":1309,"byte_end":1312,"line_start":50,"line_end":50,"column_start":29,"column_end":32,"is_primary":true,"text":[{"text":" \"period\": r.get::<String, _>(\"period\"),","highlight_start":29,"highlight_end":32}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/periods.rs:50:29\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m50\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"period\": r.get::<String, _>(\"period\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":1365,"byte_end":1368,"line_start":51,"line_end":51,"column_start":29,"column_end":32,"is_primary":true,"text":[{"text":" \"status\": r.get::<String, _>(\"status\"),","highlight_start":29,"highlight_end":32}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/periods.rs:51:29\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m51\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"status\": r.get::<String, _>(\"status\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":1424,"byte_end":1427,"line_start":52,"line_end":52,"column_start":32,"column_end":35,"is_primary":true,"text":[{"text":" \"opened_at\": r.get::<chrono::DateTime<chrono::Utc>, _>(\"opened_at\"),","highlight_start":32,"highlight_end":35}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/periods.rs:52:32\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m52\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"opened_at\": r.get::<chrono::DateTime<chrono::Utc>, _>(\"opened_at\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":1509,"byte_end":1516,"line_start":53,"line_end":53,"column_start":32,"column_end":39,"is_primary":true,"text":[{"text":" \"closed_at\": r.try_get::<chrono::DateTime<chrono::Utc>, _>(\"closed_at\").ok(),","highlight_start":32,"highlight_end":39}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":1509,"byte_end":1516,"line_start":53,"line_end":53,"column_start":32,"column_end":39,"is_primary":true,"text":[{"text":" \"closed_at\": r.try_get::<chrono::DateTime<chrono::Utc>, _>(\"closed_at\").ok(),","highlight_start":32,"highlight_end":39}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/periods.rs:53:32\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 53\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"closed_at\": r.try_get::<chrono::DateTime<chrono::Utc>, _>(\"closed_at\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 53\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"closed_at\": r.try_get\u001b[92m_raw\u001b[0m::<chrono::DateTime<chrono::Utc>, _>(\"closed_at\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":1603,"byte_end":1610,"line_start":54,"line_end":54,"column_start":32,"column_end":39,"is_primary":true,"text":[{"text":" \"closed_by\": r.try_get::<String, _>(\"closed_by\").ok(),","highlight_start":32,"highlight_end":39}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":1603,"byte_end":1610,"line_start":54,"line_end":54,"column_start":32,"column_end":39,"is_primary":true,"text":[{"text":" \"closed_by\": r.try_get::<String, _>(\"closed_by\").ok(),","highlight_start":32,"highlight_end":39}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/periods.rs:54:32\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 54\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"closed_by\": r.try_get::<String, _>(\"closed_by\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 54\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"closed_by\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"closed_by\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":1676,"byte_end":1683,"line_start":55,"line_end":55,"column_start":34,"column_end":41,"is_primary":true,"text":[{"text":" \"workflow_id\": r.try_get::<Uuid, _>(\"workflow_id\").ok(),","highlight_start":34,"highlight_end":41}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":1676,"byte_end":1683,"line_start":55,"line_end":55,"column_start":34,"column_end":41,"is_primary":true,"text":[{"text":" \"workflow_id\": r.try_get::<Uuid, _>(\"workflow_id\").ok(),","highlight_start":34,"highlight_end":41}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/periods.rs:55:34\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 55\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"workflow_id\": r.try_get::<Uuid, _>(\"workflow_id\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 55\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"workflow_id\": r.try_get\u001b[92m_raw\u001b[0m::<Uuid, _>(\"workflow_id\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":1751,"byte_end":1758,"line_start":56,"line_end":56,"column_start":36,"column_end":43,"is_primary":true,"text":[{"text":" \"trial_balance\": r.try_get::<serde_json::Value, _>(\"trial_balance\").ok(),","highlight_start":36,"highlight_end":43}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":1751,"byte_end":1758,"line_start":56,"line_end":56,"column_start":36,"column_end":43,"is_primary":true,"text":[{"text":" \"trial_balance\": r.try_get::<serde_json::Value, _>(\"trial_balance\").ok(),","highlight_start":36,"highlight_end":43}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/periods.rs:56:36\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 56\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"trial_balance\": r.try_get::<serde_json::Value, _>(\"trial_balance\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 56\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"trial_balance\": r.try_get\u001b[92m_raw\u001b[0m::<serde_json::Value, _>(\"trial_balance\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":1836,"byte_end":1839,"line_start":57,"line_end":57,"column_start":31,"column_end":34,"is_primary":true,"text":[{"text":" \"trace_id\": r.get::<Uuid, _>(\"trace_id\"),","highlight_start":31,"highlight_end":34}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/periods.rs:57:31\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m57\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"trace_id\": r.get::<Uuid, _>(\"trace_id\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":1894,"byte_end":1897,"line_start":58,"line_end":58,"column_start":31,"column_end":34,"is_primary":true,"text":[{"text":" \"metadata\": r.get::<serde_json::Value, _>(\"metadata\"),","highlight_start":31,"highlight_end":34}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/periods.rs:58:31\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m58\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"metadata\": r.get::<serde_json::Value, _>(\"metadata\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":2760,"byte_end":2763,"line_start":91,"line_end":91,"column_start":25,"column_end":28,"is_primary":true,"text":[{"text":" \"id\": r.get::<Uuid, _>(\"id\"),","highlight_start":25,"highlight_end":28}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/periods.rs:91:25\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m91\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"id\": r.get::<Uuid, _>(\"id\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":2813,"byte_end":2816,"line_start":92,"line_end":92,"column_start":32,"column_end":35,"is_primary":true,"text":[{"text":" \"tenant_id\": r.get::<String, _>(\"tenant_id\"),","highlight_start":32,"highlight_end":35}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/periods.rs:92:32\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m92\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"tenant_id\": r.get::<String, _>(\"tenant_id\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":2877,"byte_end":2880,"line_start":93,"line_end":93,"column_start":34,"column_end":37,"is_primary":true,"text":[{"text":" \"fiscal_year\": r.get::<i32, _>(\"fiscal_year\"),","highlight_start":34,"highlight_end":37}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/periods.rs:93:34\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m93\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"fiscal_year\": r.get::<i32, _>(\"fiscal_year\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":2935,"byte_end":2938,"line_start":94,"line_end":94,"column_start":29,"column_end":32,"is_primary":true,"text":[{"text":" \"period\": r.get::<String, _>(\"period\"),","highlight_start":29,"highlight_end":32}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/periods.rs:94:29\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m94\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"period\": r.get::<String, _>(\"period\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":2991,"byte_end":2994,"line_start":95,"line_end":95,"column_start":29,"column_end":32,"is_primary":true,"text":[{"text":" \"status\": r.get::<String, _>(\"status\"),","highlight_start":29,"highlight_end":32}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/periods.rs:95:29\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m95\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"status\": r.get::<String, _>(\"status\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":3050,"byte_end":3053,"line_start":96,"line_end":96,"column_start":32,"column_end":35,"is_primary":true,"text":[{"text":" \"opened_at\": r.get::<chrono::DateTime<chrono::Utc>, _>(\"opened_at\"),","highlight_start":32,"highlight_end":35}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/periods.rs:96:32\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m96\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"opened_at\": r.get::<chrono::DateTime<chrono::Utc>, _>(\"opened_at\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":3135,"byte_end":3142,"line_start":97,"line_end":97,"column_start":32,"column_end":39,"is_primary":true,"text":[{"text":" \"closed_at\": r.try_get::<chrono::DateTime<chrono::Utc>, _>(\"closed_at\").ok(),","highlight_start":32,"highlight_end":39}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":3135,"byte_end":3142,"line_start":97,"line_end":97,"column_start":32,"column_end":39,"is_primary":true,"text":[{"text":" \"closed_at\": r.try_get::<chrono::DateTime<chrono::Utc>, _>(\"closed_at\").ok(),","highlight_start":32,"highlight_end":39}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/periods.rs:97:32\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 97\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"closed_at\": r.try_get::<chrono::DateTime<chrono::Utc>, _>(\"closed_at\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 97\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"closed_at\": r.try_get\u001b[92m_raw\u001b[0m::<chrono::DateTime<chrono::Utc>, _>(\"closed_at\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":3229,"byte_end":3236,"line_start":98,"line_end":98,"column_start":32,"column_end":39,"is_primary":true,"text":[{"text":" \"closed_by\": r.try_get::<String, _>(\"closed_by\").ok(),","highlight_start":32,"highlight_end":39}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":3229,"byte_end":3236,"line_start":98,"line_end":98,"column_start":32,"column_end":39,"is_primary":true,"text":[{"text":" \"closed_by\": r.try_get::<String, _>(\"closed_by\").ok(),","highlight_start":32,"highlight_end":39}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/periods.rs:98:32\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 98\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"closed_by\": r.try_get::<String, _>(\"closed_by\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 98\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"closed_by\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"closed_by\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":3302,"byte_end":3309,"line_start":99,"line_end":99,"column_start":34,"column_end":41,"is_primary":true,"text":[{"text":" \"workflow_id\": r.try_get::<Uuid, _>(\"workflow_id\").ok(),","highlight_start":34,"highlight_end":41}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":3302,"byte_end":3309,"line_start":99,"line_end":99,"column_start":34,"column_end":41,"is_primary":true,"text":[{"text":" \"workflow_id\": r.try_get::<Uuid, _>(\"workflow_id\").ok(),","highlight_start":34,"highlight_end":41}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/periods.rs:99:34\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 99\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"workflow_id\": r.try_get::<Uuid, _>(\"workflow_id\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 99\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"workflow_id\": r.try_get\u001b[92m_raw\u001b[0m::<Uuid, _>(\"workflow_id\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":3377,"byte_end":3384,"line_start":100,"line_end":100,"column_start":36,"column_end":43,"is_primary":true,"text":[{"text":" \"trial_balance\": r.try_get::<serde_json::Value, _>(\"trial_balance\").ok(),","highlight_start":36,"highlight_end":43}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":3377,"byte_end":3384,"line_start":100,"line_end":100,"column_start":36,"column_end":43,"is_primary":true,"text":[{"text":" \"trial_balance\": r.try_get::<serde_json::Value, _>(\"trial_balance\").ok(),","highlight_start":36,"highlight_end":43}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/periods.rs:100:36\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m100\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"trial_balance\": r.try_get::<serde_json::Value, _>(\"trial_balance\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m100\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"trial_balance\": r.try_get\u001b[92m_raw\u001b[0m::<serde_json::Value, _>(\"trial_balance\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":3462,"byte_end":3465,"line_start":101,"line_end":101,"column_start":31,"column_end":34,"is_primary":true,"text":[{"text":" \"trace_id\": r.get::<Uuid, _>(\"trace_id\"),","highlight_start":31,"highlight_end":34}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/periods.rs:101:31\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m101\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"trace_id\": r.get::<Uuid, _>(\"trace_id\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":3520,"byte_end":3523,"line_start":102,"line_end":102,"column_start":31,"column_end":34,"is_primary":true,"text":[{"text":" \"metadata\": r.get::<serde_json::Value, _>(\"metadata\"),","highlight_start":31,"highlight_end":34}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/periods.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/periods.rs:102:31\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m102\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"metadata\": r.get::<serde_json::Value, _>(\"metadata\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":1579,"byte_end":1586,"line_start":63,"line_end":63,"column_start":25,"column_end":32,"is_primary":true,"text":[{"text":" let debit = row.try_get::<i64, _>(\"total_debit\").unwrap_or(0);","highlight_start":25,"highlight_end":32}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":1579,"byte_end":1586,"line_start":63,"line_end":63,"column_start":25,"column_end":32,"is_primary":true,"text":[{"text":" let debit = row.try_get::<i64, _>(\"total_debit\").unwrap_or(0);","highlight_start":25,"highlight_end":32}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reports.rs:63:25\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 63\u001b[0m \u001b[1m\u001b[94m|\u001b[0m let debit = row.try_get::<i64, _>(\"total_debit\").unwrap_or(0);\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 63\u001b[0m \u001b[1m\u001b[94m| \u001b[0m let debit = row.try_get\u001b[92m_raw\u001b[0m::<i64, _>(\"total_debit\").unwrap_or(0);\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":1651,"byte_end":1658,"line_start":64,"line_end":64,"column_start":26,"column_end":33,"is_primary":true,"text":[{"text":" let credit = row.try_get::<i64, _>(\"total_credit\").unwrap_or(0);","highlight_start":26,"highlight_end":33}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":1651,"byte_end":1658,"line_start":64,"line_end":64,"column_start":26,"column_end":33,"is_primary":true,"text":[{"text":" let credit = row.try_get::<i64, _>(\"total_credit\").unwrap_or(0);","highlight_start":26,"highlight_end":33}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reports.rs:64:26\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 64\u001b[0m \u001b[1m\u001b[94m|\u001b[0m let credit = row.try_get::<i64, _>(\"total_credit\").unwrap_or(0);\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 64\u001b[0m \u001b[1m\u001b[94m| \u001b[0m let credit = row.try_get\u001b[92m_raw\u001b[0m::<i64, _>(\"total_credit\").unwrap_or(0);\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":1798,"byte_end":1801,"line_start":67,"line_end":67,"column_start":35,"column_end":38,"is_primary":true,"text":[{"text":" \"account_number\": row.get::<String, _>(\"account_number\"),","highlight_start":35,"highlight_end":38}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reports.rs:67:35\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m67\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"account_number\": row.get::<String, _>(\"account_number\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":1866,"byte_end":1873,"line_start":68,"line_end":68,"column_start":33,"column_end":40,"is_primary":true,"text":[{"text":" \"account_name\": row.try_get::<String, _>(\"account_name\").unwrap_or_default(),","highlight_start":33,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":1866,"byte_end":1873,"line_start":68,"line_end":68,"column_start":33,"column_end":40,"is_primary":true,"text":[{"text":" \"account_name\": row.try_get::<String, _>(\"account_name\").unwrap_or_default(),","highlight_start":33,"highlight_end":40}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reports.rs:68:33\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"account_name\": row.try_get::<String, _>(\"account_name\").unwrap_or_default(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"account_name\": row.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"account_name\").unwrap_or_default(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":1987,"byte_end":1994,"line_start":72,"line_end":72,"column_start":19,"column_end":26,"is_primary":true,"text":[{"text":" match row.try_get::<String, _>(\"account_type\").as_deref() {","highlight_start":19,"highlight_end":26}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":1987,"byte_end":1994,"line_start":72,"line_end":72,"column_start":19,"column_end":26,"is_primary":true,"text":[{"text":" match row.try_get::<String, _>(\"account_type\").as_deref() {","highlight_start":19,"highlight_end":26}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reports.rs:72:19\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 72\u001b[0m \u001b[1m\u001b[94m|\u001b[0m match row.try_get::<String, _>(\"account_type\").as_deref() {\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 72\u001b[0m \u001b[1m\u001b[94m| \u001b[0m match row.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"account_type\").as_deref() {\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":3863,"byte_end":3870,"line_start":135,"line_end":135,"column_start":25,"column_end":32,"is_primary":true,"text":[{"text":" let debit = row.try_get::<i64, _>(\"total_debit\").unwrap_or(0);","highlight_start":25,"highlight_end":32}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":3863,"byte_end":3870,"line_start":135,"line_end":135,"column_start":25,"column_end":32,"is_primary":true,"text":[{"text":" let debit = row.try_get::<i64, _>(\"total_debit\").unwrap_or(0);","highlight_start":25,"highlight_end":32}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reports.rs:135:25\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m135\u001b[0m \u001b[1m\u001b[94m|\u001b[0m let debit = row.try_get::<i64, _>(\"total_debit\").unwrap_or(0);\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m135\u001b[0m \u001b[1m\u001b[94m| \u001b[0m let debit = row.try_get\u001b[92m_raw\u001b[0m::<i64, _>(\"total_debit\").unwrap_or(0);\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":3935,"byte_end":3942,"line_start":136,"line_end":136,"column_start":26,"column_end":33,"is_primary":true,"text":[{"text":" let credit = row.try_get::<i64, _>(\"total_credit\").unwrap_or(0);","highlight_start":26,"highlight_end":33}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":3935,"byte_end":3942,"line_start":136,"line_end":136,"column_start":26,"column_end":33,"is_primary":true,"text":[{"text":" let credit = row.try_get::<i64, _>(\"total_credit\").unwrap_or(0);","highlight_start":26,"highlight_end":33}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reports.rs:136:26\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m136\u001b[0m \u001b[1m\u001b[94m|\u001b[0m let credit = row.try_get::<i64, _>(\"total_credit\").unwrap_or(0);\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m136\u001b[0m \u001b[1m\u001b[94m| \u001b[0m let credit = row.try_get\u001b[92m_raw\u001b[0m::<i64, _>(\"total_credit\").unwrap_or(0);\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":4082,"byte_end":4085,"line_start":139,"line_end":139,"column_start":35,"column_end":38,"is_primary":true,"text":[{"text":" \"account_number\": row.get::<String, _>(\"account_number\"),","highlight_start":35,"highlight_end":38}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reports.rs:139:35\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m139\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"account_number\": row.get::<String, _>(\"account_number\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":4150,"byte_end":4157,"line_start":140,"line_end":140,"column_start":33,"column_end":40,"is_primary":true,"text":[{"text":" \"account_name\": row.try_get::<String, _>(\"account_name\").unwrap_or_default(),","highlight_start":33,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":4150,"byte_end":4157,"line_start":140,"line_end":140,"column_start":33,"column_end":40,"is_primary":true,"text":[{"text":" \"account_name\": row.try_get::<String, _>(\"account_name\").unwrap_or_default(),","highlight_start":33,"highlight_end":40}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reports.rs:140:33\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m140\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"account_name\": row.try_get::<String, _>(\"account_name\").unwrap_or_default(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m140\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"account_name\": row.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"account_name\").unwrap_or_default(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":4271,"byte_end":4278,"line_start":144,"line_end":144,"column_start":19,"column_end":26,"is_primary":true,"text":[{"text":" match row.try_get::<String, _>(\"account_type\").as_deref() {","highlight_start":19,"highlight_end":26}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":4271,"byte_end":4278,"line_start":144,"line_end":144,"column_start":19,"column_end":26,"is_primary":true,"text":[{"text":" match row.try_get::<String, _>(\"account_type\").as_deref() {","highlight_start":19,"highlight_end":26}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reports.rs:144:19\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m144\u001b[0m \u001b[1m\u001b[94m|\u001b[0m match row.try_get::<String, _>(\"account_type\").as_deref() {\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m144\u001b[0m \u001b[1m\u001b[94m| \u001b[0m match row.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"account_type\").as_deref() {\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":6006,"byte_end":6009,"line_start":204,"line_end":204,"column_start":28,"column_end":31,"is_primary":true,"text":[{"text":" let entry_id = row.get::<uuid::Uuid, _>(\"id\");","highlight_start":28,"highlight_end":31}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reports.rs:204:28\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m204\u001b[0m \u001b[1m\u001b[94m|\u001b[0m let entry_id = row.get::<uuid::Uuid, _>(\"id\");\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":6571,"byte_end":6574,"line_start":222,"line_end":222,"column_start":41,"column_end":44,"is_primary":true,"text":[{"text":" \"account_number\": l.get::<String, _>(\"account_number\"),","highlight_start":41,"highlight_end":44}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reports.rs:222:41\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m222\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"account_number\": l.get::<String, _>(\"account_number\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":6645,"byte_end":6652,"line_start":223,"line_end":223,"column_start":39,"column_end":46,"is_primary":true,"text":[{"text":" \"account_name\": l.try_get::<String, _>(\"account_name\").ok(),","highlight_start":39,"highlight_end":46}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":6645,"byte_end":6652,"line_start":223,"line_end":223,"column_start":39,"column_end":46,"is_primary":true,"text":[{"text":" \"account_name\": l.try_get::<String, _>(\"account_name\").ok(),","highlight_start":39,"highlight_end":46}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reports.rs:223:39\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m223\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"account_name\": l.try_get::<String, _>(\"account_name\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m223\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"account_name\": l.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"account_name\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":6719,"byte_end":6726,"line_start":224,"line_end":224,"column_start":32,"column_end":39,"is_primary":true,"text":[{"text":" \"debit\": l.try_get::<i64, _>(\"debit\").ok(),","highlight_start":32,"highlight_end":39}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":6719,"byte_end":6726,"line_start":224,"line_end":224,"column_start":32,"column_end":39,"is_primary":true,"text":[{"text":" \"debit\": l.try_get::<i64, _>(\"debit\").ok(),","highlight_start":32,"highlight_end":39}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reports.rs:224:32\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m224\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"debit\": l.try_get::<i64, _>(\"debit\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m224\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"debit\": l.try_get\u001b[92m_raw\u001b[0m::<i64, _>(\"debit\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":6784,"byte_end":6791,"line_start":225,"line_end":225,"column_start":33,"column_end":40,"is_primary":true,"text":[{"text":" \"credit\": l.try_get::<i64, _>(\"credit\").ok(),","highlight_start":33,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":6784,"byte_end":6791,"line_start":225,"line_end":225,"column_start":33,"column_end":40,"is_primary":true,"text":[{"text":" \"credit\": l.try_get::<i64, _>(\"credit\").ok(),","highlight_start":33,"highlight_end":40}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reports.rs:225:33\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m225\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"credit\": l.try_get::<i64, _>(\"credit\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m225\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"credit\": l.try_get\u001b[92m_raw\u001b[0m::<i64, _>(\"credit\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":6938,"byte_end":6945,"line_start":231,"line_end":231,"column_start":33,"column_end":40,"is_primary":true,"text":[{"text":" \"entry_number\": row.try_get::<i64, _>(\"entry_number\").ok(),","highlight_start":33,"highlight_end":40}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":6938,"byte_end":6945,"line_start":231,"line_end":231,"column_start":33,"column_end":40,"is_primary":true,"text":[{"text":" \"entry_number\": row.try_get::<i64, _>(\"entry_number\").ok(),","highlight_start":33,"highlight_end":40}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reports.rs:231:33\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m231\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"entry_number\": row.try_get::<i64, _>(\"entry_number\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m231\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"entry_number\": row.try_get\u001b[92m_raw\u001b[0m::<i64, _>(\"entry_number\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":7008,"byte_end":7011,"line_start":232,"line_end":232,"column_start":31,"column_end":34,"is_primary":true,"text":[{"text":" \"entry_date\": row.get::<chrono::NaiveDate, _>(\"entry_date\"),","highlight_start":31,"highlight_end":34}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reports.rs:232:31\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m232\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"entry_date\": row.get::<chrono::NaiveDate, _>(\"entry_date\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":7082,"byte_end":7085,"line_start":233,"line_end":233,"column_start":32,"column_end":35,"is_primary":true,"text":[{"text":" \"description\": row.get::<String, _>(\"description\"),","highlight_start":32,"highlight_end":35}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reports.rs:233:32\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m233\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"description\": row.get::<String, _>(\"description\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":7144,"byte_end":7151,"line_start":234,"line_end":234,"column_start":30,"column_end":37,"is_primary":true,"text":[{"text":" \"reference\": row.try_get::<String, _>(\"reference\").ok(),","highlight_start":30,"highlight_end":37}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":7144,"byte_end":7151,"line_start":234,"line_end":234,"column_start":30,"column_end":37,"is_primary":true,"text":[{"text":" \"reference\": row.try_get::<String, _>(\"reference\").ok(),","highlight_start":30,"highlight_end":37}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reports.rs:234:30\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m234\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"reference\": row.try_get::<String, _>(\"reference\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m234\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"reference\": row.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"reference\").ok(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":8387,"byte_end":8394,"line_start":277,"line_end":277,"column_start":27,"column_end":34,"is_primary":true,"text":[{"text":" let debit = r.try_get::<i64, _>(\"total_debit\").unwrap_or(0);","highlight_start":27,"highlight_end":34}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":8387,"byte_end":8394,"line_start":277,"line_end":277,"column_start":27,"column_end":34,"is_primary":true,"text":[{"text":" let debit = r.try_get::<i64, _>(\"total_debit\").unwrap_or(0);","highlight_start":27,"highlight_end":34}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reports.rs:277:27\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m277\u001b[0m \u001b[1m\u001b[94m|\u001b[0m let debit = r.try_get::<i64, _>(\"total_debit\").unwrap_or(0);\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m277\u001b[0m \u001b[1m\u001b[94m| \u001b[0m let debit = r.try_get\u001b[92m_raw\u001b[0m::<i64, _>(\"total_debit\").unwrap_or(0);\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":8461,"byte_end":8468,"line_start":278,"line_end":278,"column_start":28,"column_end":35,"is_primary":true,"text":[{"text":" let credit = r.try_get::<i64, _>(\"total_credit\").unwrap_or(0);","highlight_start":28,"highlight_end":35}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":8461,"byte_end":8468,"line_start":278,"line_end":278,"column_start":28,"column_end":35,"is_primary":true,"text":[{"text":" let credit = r.try_get::<i64, _>(\"total_credit\").unwrap_or(0);","highlight_start":28,"highlight_end":35}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reports.rs:278:28\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m278\u001b[0m \u001b[1m\u001b[94m|\u001b[0m let credit = r.try_get::<i64, _>(\"total_credit\").unwrap_or(0);\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m278\u001b[0m \u001b[1m\u001b[94m| \u001b[0m let credit = r.try_get\u001b[92m_raw\u001b[0m::<i64, _>(\"total_credit\").unwrap_or(0);\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":8565,"byte_end":8568,"line_start":280,"line_end":280,"column_start":37,"column_end":40,"is_primary":true,"text":[{"text":" \"account_number\": r.get::<String, _>(\"account_number\"),","highlight_start":37,"highlight_end":40}],"label":"method not found in `PgRow`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":2077,"byte_end":2080,"line_start":68,"line_end":68,"column_start":8,"column_end":11,"is_primary":false,"text":[{"text":" fn get<'r, T, I>(&'r self, index: I) -> T","highlight_start":8,"highlight_end":11}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reports.rs:280:37\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m280\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"account_number\": r.get::<String, _>(\"account_number\"),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `PgRow`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:68:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn get<'r, T, I>(&'r self, index: I) -> T\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `try_get` found for struct `PgRow` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs","byte_start":3687,"byte_end":3694,"line_start":111,"line_end":111,"column_start":8,"column_end":15,"is_primary":false,"text":[{"text":" fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>","highlight_start":8,"highlight_end":15}],"label":"the method is available for `PgRow` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":8635,"byte_end":8642,"line_start":281,"line_end":281,"column_start":35,"column_end":42,"is_primary":true,"text":[{"text":" \"account_name\": r.try_get::<String, _>(\"account_name\").unwrap_or_default(),","highlight_start":35,"highlight_end":42}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use axum::{","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use sqlx::Row;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"there is a method `try_get_raw` with a similar name","code":null,"level":"help","spans":[{"file_name":"crates/aamos-api/src/routes/reports.rs","byte_start":8635,"byte_end":8642,"line_start":281,"line_end":281,"column_start":35,"column_end":42,"is_primary":true,"text":[{"text":" \"account_name\": r.try_get::<String, _>(\"account_name\").unwrap_or_default(),","highlight_start":35,"highlight_end":42}],"label":null,"suggested_replacement":"try_get_raw","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `try_get` found for struct `PgRow` in the current scope\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/aamos-api/src/routes/reports.rs:281:35\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m281\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \"account_name\": r.try_get::<String, _>(\"account_name\").unwrap_or_default(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m::: \u001b[0m/home/bernt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/row.rs:111:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m111\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mthe method is available for `PgRow` here\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is in scope\n\u001b[1m\u001b[96mhelp\u001b[0m: trait `Row` which provides `try_get` is implemented but not in scope; perhaps you want to import it\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use sqlx::Row;\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a method `try_get_raw` with a similar name\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m281\u001b[0m \u001b[1m\u001b[94m| \u001b[0m \"account_name\": r.try_get\u001b[92m_raw\u001b[0m::<String, _>(\"account_name\").unwrap_or_default(),\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"aborting due to 191 previous errors; 4 warnings emitted","code":null,"level":"error","spans":[],"children":[],"rendered":"\u001b[1m\u001b[91merror\u001b[0m\u001b[1m: aborting due to 191 previous errors; 4 warnings emitted\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0599, E0624.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"\u001b[1mSome errors have detailed explanations: E0599, E0624.\u001b[0m\n"}
{"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0599`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"\u001b[1mFor more information about an error, try `rustc --explain E0599`.\u001b[0m\n"}