[INFO] cloning repository https://github.com/Meonako/sqlx-to-json
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Meonako/sqlx-to-json" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMeonako%2Fsqlx-to-json", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMeonako%2Fsqlx-to-json'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3b238a6b73e7dd72d3829be5521d8672c4f75869
[INFO] testing Meonako/sqlx-to-json against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMeonako%2Fsqlx-to-json" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Meonako/sqlx-to-json on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Meonako/sqlx-to-json
[INFO] finished tweaking git repo https://github.com/Meonako/sqlx-to-json
[INFO] tweaked toml for git repo https://github.com/Meonako/sqlx-to-json written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Meonako/sqlx-to-json already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c9deb2e2550361580308ba09c7015fc2a34f1bd3d2c019b212361ac6b5267365
[INFO] running `Command { std: "docker" "start" "-a" "c9deb2e2550361580308ba09c7015fc2a34f1bd3d2c019b212361ac6b5267365", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c9deb2e2550361580308ba09c7015fc2a34f1bd3d2c019b212361ac6b5267365", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9deb2e2550361580308ba09c7015fc2a34f1bd3d2c019b212361ac6b5267365", kill_on_drop: false }`
[INFO] [stdout] c9deb2e2550361580308ba09c7015fc2a34f1bd3d2c019b212361ac6b5267365
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9b35f52e32988e79a4643d00bda926b84d1f06ce27cc8aa60a97b1fafaa299c7
[INFO] running `Command { std: "docker" "start" "-a" "9b35f52e32988e79a4643d00bda926b84d1f06ce27cc8aa60a97b1fafaa299c7", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling const-oid v0.9.6
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling cc v1.0.87
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling smallvec v1.13.1
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling zerocopy v0.7.32
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling ahash v0.8.9
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling allocator-api2 v0.2.16
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling zeroize v1.7.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling base64ct v1.6.0
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling rustls v0.21.10
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling serde_json v1.0.114
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling thiserror v1.0.57
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling syn v2.0.50
[INFO] [stderr]    Compiling time-macros v0.2.17
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling der v0.7.8
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling ryu v1.0.17
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling crc v3.0.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling num-iter v0.1.44
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling socket2 v0.5.6
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling finl_unicode v1.2.0
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling stringprep v0.1.4
[INFO] [stderr]    Compiling tokio v1.36.0
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling time v0.3.34
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling whoami v1.4.1
[INFO] [stderr]    Compiling indexmap v2.2.3
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling fastrand v2.0.1
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling rsa v0.9.6
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling thiserror-impl v1.0.57
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tokio-stream v0.1.14
[INFO] [stderr]    Compiling either v1.10.0
[INFO] [stderr]    Compiling bitflags v2.4.2
[INFO] [stderr]    Compiling nix v0.27.1
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling atomic-write-file v0.1.2
[INFO] [stderr]    Compiling sqlformat v0.2.3
[INFO] [stderr]    Compiling tempfile v3.10.0
[INFO] [stderr]    Compiling sqlx-core v0.7.3
[INFO] [stderr]    Compiling sqlx-postgres v0.7.3
[INFO] [stderr]    Compiling sqlx-mysql v0.7.3
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.3
[INFO] [stderr]    Compiling sqlx-macros v0.7.3
[INFO] [stderr]    Compiling sqlx v0.7.3
[INFO] [stderr]    Compiling sqlx-to-json v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.61s
[INFO] running `Command { std: "docker" "inspect" "9b35f52e32988e79a4643d00bda926b84d1f06ce27cc8aa60a97b1fafaa299c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b35f52e32988e79a4643d00bda926b84d1f06ce27cc8aa60a97b1fafaa299c7", kill_on_drop: false }`
[INFO] [stdout] 9b35f52e32988e79a4643d00bda926b84d1f06ce27cc8aa60a97b1fafaa299c7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 29daed97bf4c5451bf7b6116527566a798d0417674e22ceb6a92a765b934aef9
[INFO] running `Command { std: "docker" "start" "-a" "29daed97bf4c5451bf7b6116527566a798d0417674e22ceb6a92a765b934aef9", kill_on_drop: false }`
[INFO] [stderr]    Compiling sqlx-to-json v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s
[INFO] running `Command { std: "docker" "inspect" "29daed97bf4c5451bf7b6116527566a798d0417674e22ceb6a92a765b934aef9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29daed97bf4c5451bf7b6116527566a798d0417674e22ceb6a92a765b934aef9", kill_on_drop: false }`
[INFO] [stdout] 29daed97bf4c5451bf7b6116527566a798d0417674e22ceb6a92a765b934aef9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b6af140996c2a80c18a8968341c7d88e0f4fab98cbba57d4870365a2b32e6b15
[INFO] running `Command { std: "docker" "start" "-a" "b6af140996c2a80c18a8968341c7d88e0f4fab98cbba57d4870365a2b32e6b15", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sqlx_to_json-7512b66d0d56ef6d)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests sqlx_to_json
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/postgres.rs - postgres::rows_to_json (line 12) ... FAILED
[INFO] [stdout] test src/mysql.rs - mysql::rows_to_json (line 10) ... FAILED
[INFO] [stdout] test src/postgres.rs - postgres::row_value_to_json (line 43) ... FAILED
[INFO] [stdout] test src/mysql.rs - mysql::row_value_to_json (line 41) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/postgres.rs - postgres::rows_to_json (line 12) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `conn` in this scope
[INFO] [stdout]  --> src/postgres.rs:17:71
[INFO] [stdout]   |
[INFO] [stdout] 8 | let rows = sqlx::query("SELECT * FROM users LIMIT 10").fetch_all(&mut conn).await.unwrap();
[INFO] [stdout]   |                                                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/postgres.rs:17:77
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_postgres_rs_12_0() {
[INFO] [stdout]   |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let rows = sqlx::query("SELECT * FROM users LIMIT 10").fetch_all(&mut conn).await.unwrap();
[INFO] [stdout]   |                                                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/mysql.rs - mysql::rows_to_json (line 10) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `conn` in this scope
[INFO] [stdout]  --> src/mysql.rs:15:71
[INFO] [stdout]   |
[INFO] [stdout] 8 | let rows = sqlx::query("SELECT * FROM users LIMIT 10").fetch_all(&mut conn).await.unwrap();
[INFO] [stdout]   |                                                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/mysql.rs:15:77
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_mysql_rs_10_0() {
[INFO] [stdout]   |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let rows = sqlx::query("SELECT * FROM users LIMIT 10").fetch_all(&mut conn).await.unwrap();
[INFO] [stdout]   |                                                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/postgres.rs - postgres::row_value_to_json (line 43) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `conn` in this scope
[INFO] [stdout]  --> src/postgres.rs:48:71
[INFO] [stdout]   |
[INFO] [stdout] 8 | let rows = sqlx::query("SELECT * FROM users LIMIT 10").fetch_all(&mut conn).await.unwrap();
[INFO] [stdout]   |                                                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/postgres.rs:48:77
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_postgres_rs_43_0() {
[INFO] [stdout]   |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let rows = sqlx::query("SELECT * FROM users LIMIT 10").fetch_all(&mut conn).await.unwrap();
[INFO] [stdout]   |                                                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/mysql.rs - mysql::row_value_to_json (line 41) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `conn` in this scope
[INFO] [stdout]  --> src/mysql.rs:46:71
[INFO] [stdout]   |
[INFO] [stdout] 8 | let rows = sqlx::query("SELECT * FROM users LIMIT 10").fetch_all(&mut conn).await.unwrap();
[INFO] [stdout]   |                                                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `to_json` in module `sqlx_to_json::mysql`
[INFO] [stdout]   --> src/mysql.rs:54:47
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let value_json = sqlx_to_json::mysql::to_json(row_value).unwrap();
[INFO] [stdout]    |                                               ^^^^^^^ not found in `sqlx_to_json::mysql`
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/mysql.rs:46:77
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_mysql_rs_41_0() {
[INFO] [stdout]   |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let rows = sqlx::query("SELECT * FROM users LIMIT 10").fetch_all(&mut conn).await.unwrap();
[INFO] [stdout]   |                                                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/mysql.rs - mysql::row_value_to_json (line 41)
[INFO] [stdout]     src/mysql.rs - mysql::rows_to_json (line 10)
[INFO] [stdout]     src/postgres.rs - postgres::row_value_to_json (line 43)
[INFO] [stdout]     src/postgres.rs - postgres::rows_to_json (line 12)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "b6af140996c2a80c18a8968341c7d88e0f4fab98cbba57d4870365a2b32e6b15", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b6af140996c2a80c18a8968341c7d88e0f4fab98cbba57d4870365a2b32e6b15", kill_on_drop: false }`
[INFO] [stdout] b6af140996c2a80c18a8968341c7d88e0f4fab98cbba57d4870365a2b32e6b15
[INFO] testing Meonako/sqlx-to-json against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMeonako%2Fsqlx-to-json" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Meonako/sqlx-to-json on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Meonako/sqlx-to-json
[INFO] finished tweaking git repo https://github.com/Meonako/sqlx-to-json
[INFO] tweaked toml for git repo https://github.com/Meonako/sqlx-to-json written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Meonako/sqlx-to-json already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 46d24d9bbaedcc9c75ebb5dd78b7014d51747ae424e86766394afb3f1e0fa9f3
[INFO] running `Command { std: "docker" "start" "-a" "46d24d9bbaedcc9c75ebb5dd78b7014d51747ae424e86766394afb3f1e0fa9f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "46d24d9bbaedcc9c75ebb5dd78b7014d51747ae424e86766394afb3f1e0fa9f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "46d24d9bbaedcc9c75ebb5dd78b7014d51747ae424e86766394afb3f1e0fa9f3", kill_on_drop: false }`
[INFO] [stdout] 46d24d9bbaedcc9c75ebb5dd78b7014d51747ae424e86766394afb3f1e0fa9f3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 575962bb8694cca6cff1b0c19124563524f2ab0bb1501321557b2d4398080300
[INFO] running `Command { std: "docker" "start" "-a" "575962bb8694cca6cff1b0c19124563524f2ab0bb1501321557b2d4398080300", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling const-oid v0.9.6
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling cc v1.0.87
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling smallvec v1.13.1
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling ahash v0.8.9
[INFO] [stderr]    Compiling zerocopy v0.7.32
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling allocator-api2 v0.2.16
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling zeroize v1.7.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling rustls v0.21.10
[INFO] [stderr]    Compiling base64ct v1.6.0
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling thiserror v1.0.57
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling serde_json v1.0.114
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling time-macros v0.2.17
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling der v0.7.8
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling syn v2.0.50
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling ryu v1.0.17
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling crc v3.0.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling num-iter v0.1.44
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling socket2 v0.5.6
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling finl_unicode v1.2.0
[INFO] [stderr]    Compiling time v0.3.34
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling tokio v1.36.0
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling stringprep v0.1.4
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling whoami v1.4.1
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling indexmap v2.2.3
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]    Compiling fastrand v2.0.1
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling rsa v0.9.6
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling thiserror-impl v1.0.57
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tokio-stream v0.1.14
[INFO] [stderr]    Compiling either v1.10.0
[INFO] [stderr]    Compiling bitflags v2.4.2
[INFO] [stderr]    Compiling nix v0.27.1
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling atomic-write-file v0.1.2
[INFO] [stderr]    Compiling sqlformat v0.2.3
[INFO] [stderr]    Compiling tempfile v3.10.0
[INFO] [stderr]    Compiling sqlx-core v0.7.3
[INFO] [stderr]    Compiling sqlx-mysql v0.7.3
[INFO] [stderr]    Compiling sqlx-postgres v0.7.3
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.3
[INFO] [stderr]    Compiling sqlx-macros v0.7.3
[INFO] [stderr]    Compiling sqlx v0.7.3
[INFO] [stderr]    Compiling sqlx-to-json v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.19s
[INFO] running `Command { std: "docker" "inspect" "575962bb8694cca6cff1b0c19124563524f2ab0bb1501321557b2d4398080300", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "575962bb8694cca6cff1b0c19124563524f2ab0bb1501321557b2d4398080300", kill_on_drop: false }`
[INFO] [stdout] 575962bb8694cca6cff1b0c19124563524f2ab0bb1501321557b2d4398080300
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f8a9cf878d27ac28ec82620b5ce5989b9730ffeeca5fc5c269a43c7f8133452d
[INFO] running `Command { std: "docker" "start" "-a" "f8a9cf878d27ac28ec82620b5ce5989b9730ffeeca5fc5c269a43c7f8133452d", kill_on_drop: false }`
[INFO] [stderr]    Compiling sqlx-to-json v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s
[INFO] running `Command { std: "docker" "inspect" "f8a9cf878d27ac28ec82620b5ce5989b9730ffeeca5fc5c269a43c7f8133452d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8a9cf878d27ac28ec82620b5ce5989b9730ffeeca5fc5c269a43c7f8133452d", kill_on_drop: false }`
[INFO] [stdout] f8a9cf878d27ac28ec82620b5ce5989b9730ffeeca5fc5c269a43c7f8133452d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] aeb055a160f98fbfef7f8796557d698fd620ce4d8b49b83ea5218807bedf03a3
[INFO] running `Command { std: "docker" "start" "-a" "aeb055a160f98fbfef7f8796557d698fd620ce4d8b49b83ea5218807bedf03a3", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sqlx_to_json-7512b66d0d56ef6d)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests sqlx_to_json
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/mysql.rs - mysql::row_value_to_json (line 41) ... FAILED
[INFO] [stdout] test src/postgres.rs - postgres::rows_to_json (line 12) ... FAILED
[INFO] [stdout] test src/mysql.rs - mysql::rows_to_json (line 10) ... FAILED
[INFO] [stdout] test src/postgres.rs - postgres::row_value_to_json (line 43) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/mysql.rs - mysql::row_value_to_json (line 41) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `conn` in this scope
[INFO] [stdout]  --> src/mysql.rs:46:71
[INFO] [stdout]   |
[INFO] [stdout] 8 | let rows = sqlx::query("SELECT * FROM users LIMIT 10").fetch_all(&mut conn).await.unwrap();
[INFO] [stdout]   |                                                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `to_json` in module `sqlx_to_json::mysql`
[INFO] [stdout]   --> src/mysql.rs:54:47
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let value_json = sqlx_to_json::mysql::to_json(row_value).unwrap();
[INFO] [stdout]    |                                               ^^^^^^^ not found in `sqlx_to_json::mysql`
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/mysql.rs:46:77
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_mysql_rs_41_0() {
[INFO] [stdout]   |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let rows = sqlx::query("SELECT * FROM users LIMIT 10").fetch_all(&mut conn).await.unwrap();
[INFO] [stdout]   |                                                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/postgres.rs - postgres::rows_to_json (line 12) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `conn` in this scope
[INFO] [stdout]  --> src/postgres.rs:17:71
[INFO] [stdout]   |
[INFO] [stdout] 8 | let rows = sqlx::query("SELECT * FROM users LIMIT 10").fetch_all(&mut conn).await.unwrap();
[INFO] [stdout]   |                                                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/postgres.rs:17:77
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_postgres_rs_12_0() {
[INFO] [stdout]   |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let rows = sqlx::query("SELECT * FROM users LIMIT 10").fetch_all(&mut conn).await.unwrap();
[INFO] [stdout]   |                                                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/mysql.rs - mysql::rows_to_json (line 10) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `conn` in this scope
[INFO] [stdout]  --> src/mysql.rs:15:71
[INFO] [stdout]   |
[INFO] [stdout] 8 | let rows = sqlx::query("SELECT * FROM users LIMIT 10").fetch_all(&mut conn).await.unwrap();
[INFO] [stdout]   |                                                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/mysql.rs:15:77
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_mysql_rs_10_0() {
[INFO] [stdout]   |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let rows = sqlx::query("SELECT * FROM users LIMIT 10").fetch_all(&mut conn).await.unwrap();
[INFO] [stdout]   |                                                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/postgres.rs - postgres::row_value_to_json (line 43) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `conn` in this scope
[INFO] [stdout]  --> src/postgres.rs:48:71
[INFO] [stdout]   |
[INFO] [stdout] 8 | let rows = sqlx::query("SELECT * FROM users LIMIT 10").fetch_all(&mut conn).await.unwrap();
[INFO] [stdout]   |                                                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/postgres.rs:48:77
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_postgres_rs_43_0() {
[INFO] [stdout]   |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let rows = sqlx::query("SELECT * FROM users LIMIT 10").fetch_all(&mut conn).await.unwrap();
[INFO] [stdout]   |                                                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/mysql.rs - mysql::row_value_to_json (line 41)
[INFO] [stdout]     src/mysql.rs - mysql::rows_to_json (line 10)
[INFO] [stdout]     src/postgres.rs - postgres::row_value_to_json (line 43)
[INFO] [stdout]     src/postgres.rs - postgres::rows_to_json (line 12)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "aeb055a160f98fbfef7f8796557d698fd620ce4d8b49b83ea5218807bedf03a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aeb055a160f98fbfef7f8796557d698fd620ce4d8b49b83ea5218807bedf03a3", kill_on_drop: false }`
[INFO] [stdout] aeb055a160f98fbfef7f8796557d698fd620ce4d8b49b83ea5218807bedf03a3
