[INFO] fetching crate msqlx-postgres 0.9.0-msqlx.1... [INFO] testing msqlx-postgres-0.9.0-msqlx.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate msqlx-postgres 0.9.0-msqlx.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate msqlx-postgres 0.9.0-msqlx.1 [INFO] finished tweaking crates.io crate msqlx-postgres 0.9.0-msqlx.1 [INFO] tweaked toml for crates.io crate msqlx-postgres 0.9.0-msqlx.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate msqlx-postgres 0.9.0-msqlx.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate msqlx-postgres 0.9.0-msqlx.1 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded etcetera v0.10.0 [INFO] [stderr] Downloaded rust_decimal v1.37.2 [INFO] [stderr] Downloaded bigdecimal v0.4.8 [INFO] [stderr] Downloaded borsh v1.5.7 [INFO] [stderr] Downloaded ipnetwork v0.21.1 [INFO] [stderr] Downloaded borsh-derive v1.5.7 [INFO] [stderr] Downloaded whoami v2.0.2 [INFO] [stderr] Downloaded msqlx-core v0.9.0-msqlx.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2bffcfccc7fc4638990178e0aa0fb3c8f106d51fdc8de7248d9c97b5f15210fb [INFO] running `Command { std: "docker" "start" "-a" "2bffcfccc7fc4638990178e0aa0fb3c8f106d51fdc8de7248d9c97b5f15210fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2bffcfccc7fc4638990178e0aa0fb3c8f106d51fdc8de7248d9c97b5f15210fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bffcfccc7fc4638990178e0aa0fb3c8f106d51fdc8de7248d9c97b5f15210fb", kill_on_drop: false }` [INFO] [stdout] 2bffcfccc7fc4638990178e0aa0fb3c8f106d51fdc8de7248d9c97b5f15210fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 549de9ae977be3d8cc00d9e309d0512d5e1e409ea1d14b89adfb007aa05c36d1 [INFO] running `Command { std: "docker" "start" "-a" "549de9ae977be3d8cc00d9e309d0512d5e1e409ea1d14b89adfb007aa05c36d1", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling whoami v2.0.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hashlink v0.11.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling msqlx-core v0.9.0-msqlx.1 [INFO] [stderr] Compiling msqlx-postgres v0.9.0-msqlx.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Flush` is never constructed [INFO] [stdout] --> src/message/mod.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub enum FrontendMessageFormat { [INFO] [stdout] | --------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 76 | Flush = b'H', [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FrontendMessageFormat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Flush` is never constructed [INFO] [stdout] --> src/message/flush.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Flush; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.04s [INFO] running `Command { std: "docker" "inspect" "549de9ae977be3d8cc00d9e309d0512d5e1e409ea1d14b89adfb007aa05c36d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "549de9ae977be3d8cc00d9e309d0512d5e1e409ea1d14b89adfb007aa05c36d1", kill_on_drop: false }` [INFO] [stdout] 549de9ae977be3d8cc00d9e309d0512d5e1e409ea1d14b89adfb007aa05c36d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a95e777a2bba10e28505aaea50350d5ec679e454d34e4166928dfa3731728857 [INFO] running `Command { std: "docker" "start" "-a" "a95e777a2bba10e28505aaea50350d5ec679e454d34e4166928dfa3731728857", kill_on_drop: false }` [INFO] [stdout] warning: variant `Flush` is never constructed [INFO] [stdout] --> src/message/mod.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub enum FrontendMessageFormat { [INFO] [stdout] | --------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 76 | Flush = b'H', [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FrontendMessageFormat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Flush` is never constructed [INFO] [stdout] --> src/message/flush.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Flush; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling msqlx-postgres v0.9.0-msqlx.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Flush` is never constructed [INFO] [stdout] --> src/message/mod.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub enum FrontendMessageFormat { [INFO] [stdout] | --------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 76 | Flush = b'H', [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FrontendMessageFormat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Flush` is never constructed [INFO] [stdout] --> src/message/flush.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Flush; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.31s [INFO] running `Command { std: "docker" "inspect" "a95e777a2bba10e28505aaea50350d5ec679e454d34e4166928dfa3731728857", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a95e777a2bba10e28505aaea50350d5ec679e454d34e4166928dfa3731728857", kill_on_drop: false }` [INFO] [stdout] a95e777a2bba10e28505aaea50350d5ec679e454d34e4166928dfa3731728857 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0f7525b6bb91ea801f0b1b428fc07e7ded959cacad8fd9e60db6c58c690e399e [INFO] running `Command { std: "docker" "start" "-a" "0f7525b6bb91ea801f0b1b428fc07e7ded959cacad8fd9e60db6c58c690e399e", kill_on_drop: false }` [INFO] [stderr] warning: variant `Flush` is never constructed [INFO] [stderr] --> src/message/mod.rs:76:5 [INFO] [stderr] | [INFO] [stderr] 68 | pub enum FrontendMessageFormat { [INFO] [stderr] | --------------------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 76 | Flush = b'H', [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FrontendMessageFormat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Flush` is never constructed [INFO] [stderr] --> src/message/flush.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Flush; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `msqlx-postgres` (lib) generated 2 warnings [INFO] [stderr] warning: `msqlx-postgres` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sqlx_postgres-18b66569d5efef30) [INFO] [stdout] [INFO] [stdout] running 145 tests [INFO] [stdout] test listener::test_build_listen_all_query_with_single_channel ... ok [INFO] [stdout] test message::command_complete::test_decode_command_complete_for_begin ... ok [INFO] [stdout] test message::command_complete::test_decode_command_complete_for_update ... ok [INFO] [stdout] test message::command_complete::test_decode_command_complete_for_insert ... ok [INFO] [stdout] test message::describe::tests::test_encode_describe_portal ... ok [INFO] [stdout] test message::describe::tests::test_encode_describe_statement ... ok [INFO] [stdout] test message::backend_key_data::test_decode_backend_key_data ... ok [INFO] [stdout] test connection::stream::tests::test_parse_server_version_num ... ok [INFO] [stdout] test message::describe::tests::test_encode_describe_unnamed_portal ... ok [INFO] [stdout] test message::describe::tests::test_encode_describe_unnamed_statement ... ok [INFO] [stdout] test message::data_row::test_decode_data_row ... ok [INFO] [stdout] test io::statement_id_display_matches_encoding ... ok [INFO] [stdout] test message::execute::tests::test_encode_execute_named_portal ... ok [INFO] [stdout] test message::execute::tests::test_encode_execute_unnamed_portal ... ok [INFO] [stdout] test listener::test_build_listen_all_query_with_multiple_channels ... ok [INFO] [stdout] test message::notification::test_decode_notification_response ... ok [INFO] [stdout] test message::parameter_description::test_decode_empty_parameter_description ... ok [INFO] [stdout] test message::parameter_description::test_decode_parameter_description ... ok [INFO] [stdout] test message::parameter_status::test_decode_parameter_status ... ok [INFO] [stdout] test message::parse::test_encode_parse ... ok [INFO] [stdout] test message::parameter_status::test_decode_parameter_status_response ... ok [INFO] [stdout] test message::query::test_encode_query ... ok [INFO] [stdout] test message::password::tests::test_encode_clear_password ... ok [INFO] [stdout] test message::parse::test_encode_parse_unnamed_statement ... ok [INFO] [stdout] test message::response::test_decode_error_response ... ok [INFO] [stdout] test message::password::tests::test_encode_md5_password ... ok [INFO] [stdout] test message::ready_for_query::test_decode_ready_for_query ... ok [INFO] [stdout] test message::ssl_request::test_encode_ssl_request ... ok [INFO] [stdout] test message::startup::test_encode_startup ... ok [INFO] [stdout] test options::parse::it_parses_password_with_non_ascii_chars_correctly ... ok [INFO] [stdout] test options::parse::it_parses_password_correctly_from_parameter ... ok [INFO] [stdout] test options::parse::built_url_can_be_parsed ... ok [INFO] [stdout] test options::parse::it_parses_username_with_at_sign_correctly ... ok [INFO] [stdout] test options::parse::it_returns_the_parsed_url_when_host ... ok [INFO] [stdout] test options::parse::it_parses_dbname_correctly_from_parameter ... ok [INFO] [stdout] test options::parse::it_parses_port_correctly_from_parameter ... ok [INFO] [stdout] test options::parse::it_parses_hostaddr_host_host_overwrite_from_query_from_parameter ... ok [INFO] [stdout] test options::parse::it_parses_hostaddr_host_separately_from_parameter ... ok [INFO] [stdout] test options::parse::it_parses_application_name_correctly_from_parameter ... ok [INFO] [stdout] test options::parse::it_parses_socket_correctly_from_parameter ... ok [INFO] [stdout] test options::parse::it_parses_socket_correctly_percent_encoded ... ok [INFO] [stdout] test options::parse::it_parses_libpq_options_correctly ... ok [INFO] [stdout] test options::parse::it_parses_user_correctly_from_parameter ... ok [INFO] [stdout] test options::parse::it_parses_socket_correctly_with_username_percent_encoded ... ok [INFO] [stdout] test options::pgpass::tests::test_find_next_field ... ok [INFO] [stdout] test options::parse::it_parses_hostaddr_correctly_from_parameter ... ok [INFO] [stdout] test options::parse::it_parses_host_correctly_from_parameter ... ok [INFO] [stdout] test options::parse::it_returns_the_parsed_url_when_socket ... ok [INFO] [stdout] test options::pgpass::tests::test_load_password_from_line ... ok [INFO] [stdout] test options::test_pg_write_escaped ... ok [INFO] [stdout] test options::test_options_formatting ... ok [INFO] [stdout] test types::cube::cube_tests::can_deserialise_multi_dimension_2_dimension_byte ... ok [INFO] [stdout] test type_info::test_name_eq ... ok [INFO] [stdout] test types::cube::cube_tests::can_deserialise_multi_dimension_2_dimension_string ... ok [INFO] [stdout] test types::cube::cube_tests::can_deserialise_one_dimension_interval_string ... ok [INFO] [stdout] test types::cube::cube_tests::can_deserialise_point_type_str ... ok [INFO] [stdout] test types::cube::cube_tests::can_deserialise_point_type_byes ... ok [INFO] [stdout] test types::cube::cube_tests::can_deserialise_zero_volume_bytes ... ok [INFO] [stdout] test types::cube::cube_tests::can_deserialise_zero_volume_string ... ok [INFO] [stdout] test types::cube::cube_tests::can_deserialise_multi_dimension_3_dimension_string ... ok [INFO] [stdout] test types::cube::cube_tests::can_serialise_multi_dimension_2_dimension ... ok [INFO] [stdout] test options::pgpass::tests::test_load_password_from_reader ... ok [INFO] [stdout] test types::cube::cube_tests::can_deserialise_one_dimension_interval_bytes ... ok [INFO] [stdout] test types::cube::cube_tests::can_serialise_multi_dimension_3_dimension ... ok [INFO] [stdout] test types::cube::cube_tests::can_serialise_one_dimension_interval ... ok [INFO] [stdout] test types::cube::cube_tests::can_serialise_zero_volume ... ok [INFO] [stdout] test types::cube::cube_tests::can_serialise_point_type ... ok [INFO] [stdout] test types::cube::cube_tests::can_deserialise_multi_dimension_3_dimension_bytes ... ok [INFO] [stdout] test types::geometry::circle::circle_tests::can_deserialise_circle_type_bytes ... ok [INFO] [stdout] test types::geometry::circle::circle_tests::can_deserialise_circle_type_str ... ok [INFO] [stdout] test types::geometry::circle::circle_tests::can_deserialise_circle_type_str_float ... ok [INFO] [stdout] test types::geometry::circle::circle_tests::can_deserialise_circle_type_str_fourth_syntax ... ok [INFO] [stdout] test types::geometry::circle::circle_tests::can_deserialise_circle_type_str_second_syntax ... ok [INFO] [stdout] test types::geometry::circle::circle_tests::can_deserialise_circle_type_str_third_syntax ... ok [INFO] [stdout] test types::geometry::circle::circle_tests::can_serialise_circle_type ... ok [INFO] [stdout] test types::geometry::circle::circle_tests::cannot_deserialise_circle_invalid_numbers ... ok [INFO] [stdout] test types::geometry::circle::circle_tests::cannot_deserialise_circle_negative_radius ... ok [INFO] [stdout] test options::parse::it_parses_sqlx_options_correctly ... ok [INFO] [stdout] test types::geometry::line::line_tests::can_deserialise_line_type_bytes ... ok [INFO] [stdout] test types::geometry::line::line_tests::can_deserialise_line_type_str_float ... ok [INFO] [stdout] test types::geometry::line::line_tests::can_serialise_line_type ... ok [INFO] [stdout] test types::geometry::line::line_tests::can_deserialise_line_type_str ... ok [INFO] [stdout] test types::geometry::line::line_tests::cannot_deserialise_line_invalid_numbers ... ok [INFO] [stdout] test types::geometry::line::line_tests::cannot_deserialise_line_too_few_numbers ... ok [INFO] [stdout] test types::geometry::line::line_tests::cannot_deserialise_line_too_many_numbers ... ok [INFO] [stdout] test types::geometry::line_segment::lseg_tests::can_deserialise_lseg_type_str_first_syntax ... ok [INFO] [stdout] test types::geometry::line_segment::lseg_tests::can_deserialise_lseg_type_bytes ... ok [INFO] [stdout] test types::geometry::path::path_tests::can_deserialise_path_type_str_first_syntax ... ok [INFO] [stdout] test types::geometry::line_segment::lseg_tests::can_deserialise_lseg_type_str_float ... ok [INFO] [stdout] test types::geometry::path::path_tests::can_deserialise_path_type_str_float ... ok [INFO] [stdout] test types::geometry::line_segment::lseg_tests::can_deserialise_lseg_type_str_fourth_syntax ... ok [INFO] [stdout] test types::geometry::line_segment::lseg_tests::can_deserialise_lseg_type_str_second_syntax ... ok [INFO] [stdout] test types::geometry::line_segment::lseg_tests::can_deserialise_lseg_type_str_third_syntax ... ok [INFO] [stdout] test types::geometry::line_segment::lseg_tests::can_deserialise_too_few_numbers ... ok [INFO] [stdout] test types::geometry::path::path_tests::can_deserialise_path_type_str_second_syntax ... ok [INFO] [stdout] test types::geometry::line_segment::lseg_tests::can_deserialise_too_many_numbers ... ok [INFO] [stdout] test types::geometry::line_segment::lseg_tests::can_serialise_lseg_type ... ok [INFO] [stdout] test types::geometry::path::path_tests::can_deserialise_path_type_bytes_closed ... ok [INFO] [stdout] test types::geometry::path::path_tests::can_deserialise_path_type_bytes_open ... ok [INFO] [stdout] test types::geometry::line_segment::lseg_tests::can_deserialise_invalid_numbers ... ok [INFO] [stdout] test types::geometry::path::path_tests::can_deserialise_path_type_str_fourth_syntax ... ok [INFO] [stdout] test types::geometry::path::path_tests::can_serialise_path_type ... ok [INFO] [stdout] test types::geometry::path::path_tests::cannot_deserialise_path_type_uneven_point_bytes ... ok [INFO] [stdout] test types::geometry::point::point_tests::can_deserialise_point_type_bytes ... ok [INFO] [stdout] test types::geometry::point::point_tests::can_deserialise_point_type_str_float ... ok [INFO] [stdout] test types::geometry::point::point_tests::can_deserialise_point_type_str ... ok [INFO] [stdout] test types::geometry::path::path_tests::cannot_deserialise_path_type_str_uneven_points_first_syntax ... ok [INFO] [stdout] test types::geometry::polygon::polygon_tests::can_deserialise_polygon_type_str_first_syntax ... ok [INFO] [stdout] test types::geometry::polygon::polygon_tests::can_deserialise_polygon_type_str_float ... ok [INFO] [stdout] test types::geometry::polygon::polygon_tests::can_serialise_polygon_type ... ok [INFO] [stdout] test types::geometry::polygon::polygon_tests::cannot_deserialise_polygon_type_str_invalid_numbers ... ok [INFO] [stdout] test types::geometry::polygon::polygon_tests::can_deserialise_polygon_type_str_second_syntax ... ok [INFO] [stdout] test types::geometry::r#box::box_tests::can_deserialise_box_type_bytes_in_order ... ok [INFO] [stdout] test types::geometry::r#box::box_tests::can_deserialise_box_type_str_first_syntax ... ok [INFO] [stdout] test types::geometry::polygon::polygon_tests::cannot_deserialise_polygon_type_str_uneven_points_first_syntax ... ok [INFO] [stdout] test types::geometry::r#box::box_tests::can_deserialise_box_type_str_float ... ok [INFO] [stdout] test types::geometry::polygon::polygon_tests::can_deserialise_polygon_type_bytes ... ok [INFO] [stdout] test types::geometry::polygon::polygon_tests::can_deserialise_polygon_type_str_fourth_syntax ... ok [INFO] [stdout] test types::geometry::polygon::polygon_tests::can_deserialise_polygon_type_str_third_syntax ... ok [INFO] [stdout] test types::geometry::point::point_tests::can_serialise_point_type ... ok [INFO] [stdout] test types::geometry::r#box::box_tests::can_deserialise_box_type_str_fourth_syntax ... ok [INFO] [stdout] test types::geometry::r#box::box_tests::can_deserialise_box_type_str_second_syntax ... ok [INFO] [stdout] test types::geometry::r#box::box_tests::can_deserialise_box_type_str_third_syntax ... ok [INFO] [stdout] test types::geometry::r#box::box_tests::can_order_box ... ok [INFO] [stdout] test types::geometry::r#box::box_tests::can_serialise_box_type_in_order ... ok [INFO] [stdout] test types::geometry::r#box::box_tests::cannot_deserialise_invalid_numbers ... ok [INFO] [stdout] test types::geometry::r#box::box_tests::can_serialise_box_type_out_of_order ... ok [INFO] [stdout] test types::geometry::r#box::box_tests::cannot_deserialise_too_few_numbers ... ok [INFO] [stdout] test types::hstore::test::hstore_serialize_ok ... ok [INFO] [stdout] test types::money::tests::add_assign_works ... ok [INFO] [stdout] test types::interval::test_pginterval_std ... ok [INFO] [stdout] test types::interval::test_encode_interval ... ok [INFO] [stdout] test types::money::tests::default_value ... ok [INFO] [stdout] test types::geometry::r#box::box_tests::cannot_deserialise_too_many_numbers ... ok [INFO] [stdout] test types::money::tests::sub_assign_works ... ok [INFO] [stdout] test types::hstore::test::hstore_deserialize_ok ... ok [INFO] [stdout] test types::money::tests::subtracting_works ... ok [INFO] [stdout] test types::money::tests::adding_works ... ok [INFO] [stdout] test types::geometry::path::path_tests::can_deserialise_path_type_str_third_syntax ... ok [INFO] [stdout] test types::hstore::test::hstore_deserialize_buffer_length_error - should panic ... ok [INFO] [stdout] test types::money::tests::add_assign_overflow_panics - should panic ... ok [INFO] [stdout] test types::money::tests::add_overflow_panics - should panic ... ok [INFO] [stdout] test types::money::tests::sub_assign_overflow_panics - should panic ... ok [INFO] [stdout] test types::money::tests::sub_overflow_panics - should panic ... ok [INFO] [stdout] test message::parameter_status::test_decode_empty_parameter_status ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 145 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] [stderr] Doc-tests sqlx_postgres [INFO] [stdout] [INFO] [stdout] running 46 tests [INFO] [stdout] test src/advisory_lock.rs - advisory_lock::PgAdvisoryLock::new (line 101) ... FAILED [INFO] [stdout] test src/listener.rs - listener::PgListener::recv (line 211) - compile ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::get_socket (line 555) ... ok [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::get_username (line 569) ... ok [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::get_database (line 583) ... ok [INFO] [stdout] test src/listener.rs - listener::PgListener::try_recv (line 241) - compile ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::get_ssl_mode (line 597) ... ok [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions (line 163) - compile ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::application_name (line 389) ... ok [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::get_port (line 541) ... ok [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::get_host_addr (line 519) ... ok [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::get_host (line 505) ... ok [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::extra_float_digits (line 436) ... ok [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::get_application_name (line 610) ... ok [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::database (line 226) ... ok [INFO] [stdout] test src/bind_iter.rs - bind_iter::PgBindIterExt (line 27) - compile ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::host (line 128) ... ok [INFO] [stdout] test src/types/array.rs - types::array::PgHasArrayType (line 21) ... ignored [INFO] [stdout] test src/types/array.rs - types::array::PgHasArrayType (line 34) ... ignored [INFO] [stdout] test src/types/array.rs - types::array::PgHasArrayType (line 43) ... ignored [INFO] [stdout] test src/types/citext.rs - types::citext::PgCiText (line 27) ... ignored [INFO] [stdout] test src/types/hstore.rs - types::hstore::PgHstore (line 34) ... ignored [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::get_options (line 624) ... ok [INFO] [stdout] test src/types/hstore.rs - types::hstore::PgHstore (line 60) ... ignored [INFO] [stdout] test src/type_info.rs - type_info::PgTypeInfo (line 24) ... FAILED [INFO] [stdout] test src/types/lquery.rs - types::lquery::PgLQuery (line 48) ... ignored [INFO] [stdout] test src/types/ltree.rs - types::ltree::PgLTree (line 84) ... ignored [INFO] [stdout] test src/types/mod.rs - types (line 185) ... ignored [INFO] [stdout] test src/types/mod.rs - types (line 210) ... ignored [INFO] [stdout] test src/types/mod.rs - types (line 220) ... ignored [INFO] [stdout] test src/types/mod.rs - types (line 229) ... ignored [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::host_addr (line 146) ... ok [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::port (line 171) ... ok [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::ssl_client_key (line 320) ... ok [INFO] [stdout] test src/type_info.rs - type_info::PgTypeInfo::with_name (line 295) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::password (line 211) ... ok [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::options (line 459) ... ok [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::ssl_mode (line 246) ... ok [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::ssl_client_cert_from_pem (line 298) ... ok [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::username (line 197) ... ok [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::ssl_root_cert_from_pem (line 362) ... ok [INFO] [stdout] test src/types/hstore.rs - types::hstore::PgHstore (line 40) ... ok [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::ssl_client_cert (line 278) ... ok [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::ssl_client_key_from_pem (line 340) ... ok [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::ssl_root_cert (line 262) ... ok [INFO] [stdout] test src/types/hstore.rs - types::hstore::PgHstore (line 71) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/advisory_lock.rs - advisory_lock::PgAdvisoryLock::new (line 101) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `sqlx` in this scope [INFO] [stdout] --> src/advisory_lock.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | use sqlx::postgres::{PgAdvisoryLock, PgAdvisoryLockKey}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/listener.rs - listener::PgListener::recv (line 211) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `sqlx` in this scope [INFO] [stdout] --> src/listener.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | use sqlx::postgres::PgListener; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `sqlx` in this scope [INFO] [stdout] --> src/listener.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 214 | sqlx::__rt::test_block_on(async move { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `sqlx` in this scope [INFO] [stdout] --> src/listener.rs:222:14 [INFO] [stdout] | [INFO] [stdout] 222 | Result::<(), sqlx::Error>::Ok(()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/listener.rs - listener::PgListener::try_recv (line 241) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `sqlx` in this scope [INFO] [stdout] --> src/listener.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | use sqlx::postgres::PgListener; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `sqlx` in this scope [INFO] [stdout] --> src/listener.rs:244:1 [INFO] [stdout] | [INFO] [stdout] 244 | sqlx::__rt::test_block_on(async move { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `sqlx` in this scope [INFO] [stdout] --> src/listener.rs:254:14 [INFO] [stdout] | [INFO] [stdout] 254 | Result::<(), sqlx::Error>::Ok(()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions (line 163) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `sqlx` in this scope [INFO] [stdout] --> src/options/mod.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | use sqlx::postgres::{PgConnectOptions, PgConnection, PgPool, PgSslMode}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlx` [INFO] [stdout] --> src/options/mod.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | use sqlx::{Connection, ConnectOptions}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `sqlx` in this scope [INFO] [stdout] --> src/options/mod.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 167 | async fn example() -> sqlx::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bind_iter.rs - bind_iter::PgBindIterExt (line 27) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `sqlx` in this scope [INFO] [stdout] --> src/bind_iter.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use sqlx::types::chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `sqlx` in this scope [INFO] [stdout] --> src/bind_iter.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use sqlx::postgres::PgBindIterExt; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlx` [INFO] [stdout] --> src/bind_iter.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use sqlx::Connection; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `sqlx` in this scope [INFO] [stdout] --> src/bind_iter.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(sqlx::FromRow)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `sqlx` in this scope [INFO] [stdout] --> src/bind_iter.rs:28:41 [INFO] [stdout] | [INFO] [stdout] 28 | async fn test_bind_iter() -> Result<(), sqlx::error::BoxDynError> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use sqlx_core::error; [INFO] [stdout] | [INFO] [stdout] help: if you import `error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 28 - async fn test_bind_iter() -> Result<(), sqlx::error::BoxDynError> { [INFO] [stdout] 28 + async fn test_bind_iter() -> Result<(), error::BoxDynError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `sqlx` in this scope [INFO] [stdout] --> src/bind_iter.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | sqlx::query("insert into person(id, name, birthdate) select * from unnest($1, $2, $3)") [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bind_iter` found for struct `Map` in the current scope [INFO] [stdout] --> src/bind_iter.rs:46:39 [INFO] [stdout] | [INFO] [stdout] 46 | .bind(people.iter().map(|p| p.id).bind_iter()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bind_iter.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn bind_iter(self) -> PgBindIter; [INFO] [stdout] | --------- the method is available for `Map, {closure@src/bind_iter.rs:21:29: 21:32}>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `PgBindIterExt` which provides `bind_iter` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 27 + use sqlx_postgres::PgBindIterExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `into_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 46 - .bind(people.iter().map(|p| p.id).bind_iter()) [INFO] [stdout] 46 + .bind(people.iter().map(|p| p.id).into_iter()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bind_iter` found for struct `Map` in the current scope [INFO] [stdout] --> src/bind_iter.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | .bind(people.iter().map(|p| &p.name).bind_iter()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bind_iter.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn bind_iter(self) -> PgBindIter; [INFO] [stdout] | --------- the method is available for `Map, {closure@src/bind_iter.rs:22:29: 22:32}>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `PgBindIterExt` which provides `bind_iter` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 27 + use sqlx_postgres::PgBindIterExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `into_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 47 - .bind(people.iter().map(|p| &p.name).bind_iter()) [INFO] [stdout] 47 + .bind(people.iter().map(|p| &p.name).into_iter()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `sqlx` in this scope [INFO] [stdout] --> src/bind_iter.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | let mut conn = ::Connection::connect("dummyurl").await?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `sqlx` in this scope [INFO] [stdout] --> src/bind_iter.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut conn = ::Connection::connect("dummyurl").await?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/type_info.rs - type_info::PgTypeInfo (line 24) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `sqlx` in this scope [INFO] [stdout] --> src/type_info.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use sqlx::postgres::{types::Oid, PgTypeInfo}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/type_info.rs - type_info::PgTypeInfo::with_name (line 295) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `sqlx` in this scope [INFO] [stdout] --> src/type_info.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 296 | use sqlx::postgres::PgTypeInfo; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlx` [INFO] [stdout] --> src/type_info.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | use sqlx::{Type, TypeInfo}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `sqlx` in this scope [INFO] [stdout] --> src/type_info.rs:300:10 [INFO] [stdout] | [INFO] [stdout] 300 | #[derive(sqlx::Type)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sqlx` in this scope [INFO] [stdout] --> src/type_info.rs:302:3 [INFO] [stdout] | [INFO] [stdout] 302 | #[sqlx(type_name = r#""_foo""#)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `type_info` found for enum `Foo` in the current scope [INFO] [stdout] --> src/type_info.rs:308:17 [INFO] [stdout] | [INFO] [stdout] 303 | enum Foo { [INFO] [stdout] | -------- variant or associated item `type_info` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 308 | assert_eq!(Foo::type_info().name(), r#""_foo""#); [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `Foo` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `type_info`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `sqlx_core::column::Column` [INFO] [stdout] candidate #2: `sqlx_core::types::Type` [INFO] [stdout] candidate #3: `sqlx_core::value::Value` [INFO] [stdout] candidate #4: `sqlx_core::value::ValueRef` [INFO] [stdout] help: there is a method `type_id` with a similar name [INFO] [stdout] | [INFO] [stdout] 308 - assert_eq!(Foo::type_info().name(), r#""_foo""#); [INFO] [stdout] 308 + assert_eq!(Foo::type_id().name(), r#""_foo""#); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/advisory_lock.rs - advisory_lock::PgAdvisoryLock::new (line 101) [INFO] [stdout] src/bind_iter.rs - bind_iter::PgBindIterExt (line 27) [INFO] [stdout] src/listener.rs - listener::PgListener::recv (line 211) [INFO] [stdout] src/listener.rs - listener::PgListener::try_recv (line 241) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions (line 163) [INFO] [stdout] src/type_info.rs - type_info::PgTypeInfo (line 24) [INFO] [stdout] src/type_info.rs - type_info::PgTypeInfo::with_name (line 295) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 27 passed; 7 failed; 12 ignored; 0 measured; 0 filtered out; finished in 2.44s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0f7525b6bb91ea801f0b1b428fc07e7ded959cacad8fd9e60db6c58c690e399e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f7525b6bb91ea801f0b1b428fc07e7ded959cacad8fd9e60db6c58c690e399e", kill_on_drop: false }` [INFO] [stdout] 0f7525b6bb91ea801f0b1b428fc07e7ded959cacad8fd9e60db6c58c690e399e