[INFO] fetching crate pg-embed-alternative 0.8.0-rc1... [INFO] building pg-embed-alternative-0.8.0-rc1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate pg-embed-alternative 0.8.0-rc1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate pg-embed-alternative 0.8.0-rc1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate pg-embed-alternative 0.8.0-rc1 [INFO] tweaked toml for crates.io crate pg-embed-alternative 0.8.0-rc1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pg-embed-alternative 0.8.0-rc1 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 305 packages to latest compatible versions [INFO] [stderr] Adding dirs v5.0.1 (available: v6.0.0) [INFO] [stderr] Adding env_logger v0.10.2 (available: v0.11.8) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] [stderr] Adding serial_test v2.0.0 (available: v3.2.0) [INFO] [stderr] Adding sqlx v0.6.3 (available: v0.8.6) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding zip v0.6.6 (available: v5.1.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-6-tc1/source/tests/postgres_tokio.rs` found to be present in multiple build targets: [INFO] [stderr] * `integration-test` target `postgres_tokio1` [INFO] [stderr] * `integration-test` target `postgres_tokio2` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xz2 v0.1.7 [INFO] [stderr] Downloaded serial_test_derive v2.0.0 [INFO] [stderr] Downloaded sqlx-rt v0.6.3 [INFO] [stderr] Downloaded serial_test v2.0.0 [INFO] [stderr] Downloaded xattr v1.6.1 [INFO] [stderr] Downloaded sqlx-macros v0.6.3 [INFO] [stderr] Downloaded atoi v1.0.0 [INFO] [stderr] Downloaded sqlx-core v0.6.3 [INFO] [stderr] Downloaded sqlx v0.6.3 [INFO] [stderr] Downloaded futures-intrusive v0.4.2 [INFO] [stderr] Downloaded lzma-sys v0.1.20 [INFO] [stderr] Downloaded sqlformat v0.2.6 [INFO] [stderr] Downloaded tar v0.4.44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82c7c5c98ea19e771dc2aa350e6eb7a6d543af50dd4b9497db57a4f5c61dd4d7 [INFO] running `Command { std: "docker" "start" "-a" "82c7c5c98ea19e771dc2aa350e6eb7a6d543af50dd4b9497db57a4f5c61dd4d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82c7c5c98ea19e771dc2aa350e6eb7a6d543af50dd4b9497db57a4f5c61dd4d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82c7c5c98ea19e771dc2aa350e6eb7a6d543af50dd4b9497db57a4f5c61dd4d7", kill_on_drop: false }` [INFO] [stdout] 82c7c5c98ea19e771dc2aa350e6eb7a6d543af50dd4b9497db57a4f5c61dd4d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 158d868197e771b8d2ee58174cb21e72d77e61e3f5a73de4a4c534cd663c836a [INFO] running `Command { std: "docker" "start" "-a" "158d868197e771b8d2ee58174cb21e72d77e61e3f5a73de4a4c534cd663c836a", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/tests/postgres_tokio.rs` found to be present in multiple build targets: [INFO] [stderr] * `integration-test` target `postgres_tokio1` [INFO] [stderr] * `integration-test` target `postgres_tokio2` [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling sqlx-rt v0.6.3 [INFO] [stderr] Compiling xattr v1.6.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling sqlx-core v0.6.3 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling sqlx-macros v0.6.3 [INFO] [stderr] Compiling sqlx v0.6.3 [INFO] [stderr] Compiling pg-embed-alternative v0.8.0-rc1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_actix_migrate` [INFO] [stdout] --> src/lib.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | feature = "rt_actix_migrate", [INFO] [stdout] | ^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rt_tokio_migrate"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_actix_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_actix` [INFO] [stdout] --> src/lib.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | feature = "rt_actix", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_actix` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std_migrate` [INFO] [stdout] --> src/lib.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | feature = "rt_async_std_migrate", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std` [INFO] [stdout] --> src/lib.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | feature = "rt_async_std", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std` [INFO] [stdout] --> src/lib.rs:168:31 [INFO] [stdout] | [INFO] [stdout] 168 | all(feature = "rt_tokio", feature = "rt_async_std"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std_migrate` [INFO] [stdout] --> src/lib.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | all(feature = "rt_tokio", feature = "rt_async_std_migrate"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std` [INFO] [stdout] --> src/lib.rs:170:39 [INFO] [stdout] | [INFO] [stdout] 170 | all(feature = "rt_tokio_migrate", feature = "rt_async_std"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std_migrate` [INFO] [stdout] --> src/lib.rs:171:39 [INFO] [stdout] | [INFO] [stdout] 171 | all(feature = "rt_tokio_migrate", feature = "rt_async_std_migrate"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std_migrate` [INFO] [stdout] --> src/postgres.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | feature = "rt_async_std_migrate", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_actix_migrate` [INFO] [stdout] --> src/postgres.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | feature = "rt_actix_migrate" [INFO] [stdout] | ^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rt_tokio_migrate"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_actix_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std_migrate` [INFO] [stdout] --> src/postgres.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | feature = "rt_async_std_migrate", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_actix_migrate` [INFO] [stdout] --> src/postgres.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | feature = "rt_actix_migrate" [INFO] [stdout] | ^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rt_tokio_migrate"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_actix_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std_migrate` [INFO] [stdout] --> src/postgres.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | feature = "rt_async_std_migrate", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_actix_migrate` [INFO] [stdout] --> src/postgres.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | feature = "rt_actix_migrate" [INFO] [stdout] | ^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rt_tokio_migrate"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_actix_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std_migrate` [INFO] [stdout] --> src/postgres.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | feature = "rt_async_std_migrate", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_actix_migrate` [INFO] [stdout] --> src/postgres.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | feature = "rt_actix_migrate" [INFO] [stdout] | ^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rt_tokio_migrate"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_actix_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-core v0.6.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "158d868197e771b8d2ee58174cb21e72d77e61e3f5a73de4a4c534cd663c836a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "158d868197e771b8d2ee58174cb21e72d77e61e3f5a73de4a4c534cd663c836a", kill_on_drop: false }` [INFO] [stdout] 158d868197e771b8d2ee58174cb21e72d77e61e3f5a73de4a4c534cd663c836a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 212b9a73116bfff1786ddf2dca8cf78e5f122dcd0eda32a4d2e45220575519e8 [INFO] running `Command { std: "docker" "start" "-a" "212b9a73116bfff1786ddf2dca8cf78e5f122dcd0eda32a4d2e45220575519e8", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/tests/postgres_tokio.rs` found to be present in multiple build targets: [INFO] [stderr] * `integration-test` target `postgres_tokio1` [INFO] [stderr] * `integration-test` target `postgres_tokio2` [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_actix_migrate` [INFO] [stdout] --> src/lib.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | feature = "rt_actix_migrate", [INFO] [stdout] | ^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rt_tokio_migrate"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_actix_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_actix` [INFO] [stdout] --> src/lib.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | feature = "rt_actix", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_actix` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std_migrate` [INFO] [stdout] --> src/lib.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | feature = "rt_async_std_migrate", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std` [INFO] [stdout] --> src/lib.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | feature = "rt_async_std", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std` [INFO] [stdout] --> src/lib.rs:168:31 [INFO] [stdout] | [INFO] [stdout] 168 | all(feature = "rt_tokio", feature = "rt_async_std"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std_migrate` [INFO] [stdout] --> src/lib.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | all(feature = "rt_tokio", feature = "rt_async_std_migrate"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std` [INFO] [stdout] --> src/lib.rs:170:39 [INFO] [stdout] | [INFO] [stdout] 170 | all(feature = "rt_tokio_migrate", feature = "rt_async_std"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std_migrate` [INFO] [stdout] --> src/lib.rs:171:39 [INFO] [stdout] | [INFO] [stdout] 171 | all(feature = "rt_tokio_migrate", feature = "rt_async_std_migrate"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std_migrate` [INFO] [stdout] --> src/postgres.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | feature = "rt_async_std_migrate", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_actix_migrate` [INFO] [stdout] --> src/postgres.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | feature = "rt_actix_migrate" [INFO] [stdout] | ^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rt_tokio_migrate"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_actix_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std_migrate` [INFO] [stdout] --> src/postgres.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | feature = "rt_async_std_migrate", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_actix_migrate` [INFO] [stdout] --> src/postgres.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | feature = "rt_actix_migrate" [INFO] [stdout] | ^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rt_tokio_migrate"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_actix_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std_migrate` [INFO] [stdout] --> src/postgres.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | feature = "rt_async_std_migrate", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_actix_migrate` [INFO] [stdout] --> src/postgres.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | feature = "rt_actix_migrate" [INFO] [stdout] | ^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rt_tokio_migrate"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_actix_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std_migrate` [INFO] [stdout] --> src/postgres.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | feature = "rt_async_std_migrate", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_actix_migrate` [INFO] [stdout] --> src/postgres.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | feature = "rt_actix_migrate" [INFO] [stdout] | ^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rt_tokio_migrate"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_actix_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serial_test v2.0.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling pg-embed-alternative v0.8.0-rc1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] --> tests/common.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use pg_embed::pg_enums::PgAuthMethod; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pg_embed`, use `cargo add pg_embed` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] --> tests/common.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use pg_embed::pg_errors::PgEmbedError; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pg_embed`, use `cargo add pg_embed` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] --> tests/common.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use pg_embed::pg_fetch::{PgFetchSettings, PG_V15}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pg_embed`, use `cargo add pg_embed` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] --> tests/common.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use pg_embed::postgres::{PgEmbed, PgSettings}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pg_embed`, use `cargo add pg_embed` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut pg = PgEmbed::new(pg_settings, fetch_settings).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 35 | pg.setup().await?; [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `pg` an explicit type [INFO] [stdout] | [INFO] [stdout] 34 | let mut pg: /* Type */ = PgEmbed::new(pg_settings, fetch_settings).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pg-embed-alternative` (test "common") due to 5 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] --> tests/postgres_tokio.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use pg_embed::pg_access::PgAccess; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pg_embed`, use `cargo add pg_embed` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] --> tests/postgres_tokio.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use pg_embed::pg_enums::{PgAuthMethod, PgServerStatus}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pg_embed`, use `cargo add pg_embed` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] --> tests/postgres_tokio.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use pg_embed::pg_errors::PgEmbedError; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pg_embed`, use `cargo add pg_embed` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] --> tests/postgres_tokio.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use pg_embed::pg_fetch::{PgFetchSettings, PG_V15}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pg_embed`, use `cargo add pg_embed` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] --> tests/postgres_tokio.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use pg_embed::postgres::{PgEmbed, PgSettings}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pg_embed`, use `cargo add pg_embed` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] --> tests/common.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use pg_embed::pg_enums::PgAuthMethod; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pg_embed`, use `cargo add pg_embed` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] --> tests/common.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use pg_embed::pg_errors::PgEmbedError; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pg_embed`, use `cargo add pg_embed` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] --> tests/common.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use pg_embed::pg_fetch::{PgFetchSettings, PG_V15}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pg_embed`, use `cargo add pg_embed` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] --> tests/common.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use pg_embed::postgres::{PgEmbed, PgSettings}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pg_embed`, use `cargo add pg_embed` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut pg = PgEmbed::new(pg_settings, fetch_settings).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 35 | pg.setup().await?; [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `pg` an explicit type [INFO] [stdout] | [INFO] [stdout] 34 | let mut pg: /* Type */ = PgEmbed::new(pg_settings, fetch_settings).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres_tokio.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut pg = common::setup(5432, db_path.clone(), false, None).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | pg.start_db().await?; [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `pg` an explicit type [INFO] [stdout] | [INFO] [stdout] 47 | let mut pg: /* Type */ = common::setup(5432, db_path.clone(), false, None).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres_tokio.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_actix_migrate` [INFO] [stdout] --> src/lib.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | feature = "rt_actix_migrate", [INFO] [stdout] | ^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rt_tokio_migrate"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_actix_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_actix` [INFO] [stdout] --> src/lib.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | feature = "rt_actix", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_actix` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std_migrate` [INFO] [stdout] --> src/lib.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | feature = "rt_async_std_migrate", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std` [INFO] [stdout] --> src/lib.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | feature = "rt_async_std", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std` [INFO] [stdout] --> src/lib.rs:168:31 [INFO] [stdout] | [INFO] [stdout] 168 | all(feature = "rt_tokio", feature = "rt_async_std"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std_migrate` [INFO] [stdout] --> src/lib.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | all(feature = "rt_tokio", feature = "rt_async_std_migrate"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std` [INFO] [stdout] --> src/lib.rs:170:39 [INFO] [stdout] | [INFO] [stdout] 170 | all(feature = "rt_tokio_migrate", feature = "rt_async_std"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std_migrate` [INFO] [stdout] --> src/lib.rs:171:39 [INFO] [stdout] | [INFO] [stdout] 171 | all(feature = "rt_tokio_migrate", feature = "rt_async_std_migrate"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std_migrate` [INFO] [stdout] --> src/postgres.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | feature = "rt_async_std_migrate", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_actix_migrate` [INFO] [stdout] --> src/postgres.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | feature = "rt_actix_migrate" [INFO] [stdout] | ^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rt_tokio_migrate"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_actix_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std_migrate` [INFO] [stdout] --> src/postgres.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | feature = "rt_async_std_migrate", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_actix_migrate` [INFO] [stdout] --> src/postgres.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | feature = "rt_actix_migrate" [INFO] [stdout] | ^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rt_tokio_migrate"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_actix_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std_migrate` [INFO] [stdout] --> src/postgres.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | feature = "rt_async_std_migrate", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_actix_migrate` [INFO] [stdout] --> src/postgres.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | feature = "rt_actix_migrate" [INFO] [stdout] | ^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rt_tokio_migrate"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_actix_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_async_std_migrate` [INFO] [stdout] --> src/postgres.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | feature = "rt_async_std_migrate", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_async_std_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt_actix_migrate` [INFO] [stdout] --> src/postgres.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | feature = "rt_actix_migrate" [INFO] [stdout] | ^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rt_tokio_migrate"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `rt_actix_migrate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres_tokio.rs:77:37 [INFO] [stdout] | [INFO] [stdout] 77 | .for_each_concurrent(None, |pg| async move { [INFO] [stdout] | ^^ [INFO] [stdout] 78 | let mut pg = pg.lock().await; [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 77 | .for_each_concurrent(None, |pg: /* Type */| async move { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres_tokio.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | let mut pg = pg.lock().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 79 | let _ = pg.start_db().await; [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `pg` an explicit type [INFO] [stdout] | [INFO] [stdout] 78 | let mut pg: /* Type */ = pg.lock().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] --> tests/migration_tokio.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pg_embed::pg_errors::{PgEmbedError, PgEmbedErrorType}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pg_embed`, use `cargo add pg_embed` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] --> tests/common.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use pg_embed::pg_enums::PgAuthMethod; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pg_embed`, use `cargo add pg_embed` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] --> tests/common.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use pg_embed::pg_errors::PgEmbedError; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pg_embed`, use `cargo add pg_embed` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] --> tests/common.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use pg_embed::pg_fetch::{PgFetchSettings, PG_V15}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pg_embed`, use `cargo add pg_embed` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] --> tests/common.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use pg_embed::postgres::{PgEmbed, PgSettings}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pg_embed` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pg_embed`, use `cargo add pg_embed` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres_tokio.rs:88:37 [INFO] [stdout] | [INFO] [stdout] 88 | .for_each_concurrent(None, |pg| async move { [INFO] [stdout] | ^^ [INFO] [stdout] 89 | let mut pg = pg.lock().await; [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 88 | .for_each_concurrent(None, |pg: /* Type */| async move { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres_tokio.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let mut pg = pg.lock().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 90 | let _ = pg.stop_db().await; [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `pg` an explicit type [INFO] [stdout] | [INFO] [stdout] 89 | let mut pg: /* Type */ = pg.lock().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sqlx_actix` [INFO] [stdout] --> tests/migration_tokio.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "sqlx_actix")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `sqlx_actix` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sqlx_async_std` [INFO] [stdout] --> tests/migration_tokio.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "sqlx_async_std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `reqwest`, `rt_tokio`, `rt_tokio_migrate`, `sqlx_tokio`, and `tokio` [INFO] [stdout] = help: consider adding `sqlx_async_std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres_tokio.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | let mut pg = PgEmbed::new(pg_settings, fetch_settings).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 162 | let _ = pg.setup().await; [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `pg` an explicit type [INFO] [stdout] | [INFO] [stdout] 161 | let mut pg: /* Type */ = PgEmbed::new(pg_settings, fetch_settings).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres_tokio.rs:164:35 [INFO] [stdout] | [INFO] [stdout] 164 | let res = pg.start_db().await.err().map(|e| e.message).flatten(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut pg = PgEmbed::new(pg_settings, fetch_settings).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 35 | pg.setup().await?; [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `pg` an explicit type [INFO] [stdout] | [INFO] [stdout] 34 | let mut pg: /* Type */ = PgEmbed::new(pg_settings, fetch_settings).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/migration_tokio.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut pg = common::setup(5432, PathBuf::from("data_test/db"), false, None).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | pg.start_db().await?; [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `pg` an explicit type [INFO] [stdout] | [INFO] [stdout] 19 | let mut pg: /* Type */ = common::setup(5432, PathBuf::from("data_test/db"), false, None).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/migration_tokio.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut pg = common::setup(5432, PathBuf::from("data_test/db"), false, None).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | pg.start_db().await?; [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `pg` an explicit type [INFO] [stdout] | [INFO] [stdout] 31 | let mut pg: /* Type */ = common::setup(5432, PathBuf::from("data_test/db"), false, None).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pg-embed-alternative` (test "postgres_tokio2") due to 18 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/migration_tokio.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut pg = common::setup( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pg.start_db().await?; [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `pg` an explicit type [INFO] [stdout] | [INFO] [stdout] 46 | let mut pg: /* Type */ = common::setup( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/migration_tokio.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | .map_err(|_| PgEmbedError { [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/migration_tokio.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | .map_err(|_| PgEmbedError { [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pg-embed-alternative` (test "migration_tokio") due to 11 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "212b9a73116bfff1786ddf2dca8cf78e5f122dcd0eda32a4d2e45220575519e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "212b9a73116bfff1786ddf2dca8cf78e5f122dcd0eda32a4d2e45220575519e8", kill_on_drop: false }` [INFO] [stdout] 212b9a73116bfff1786ddf2dca8cf78e5f122dcd0eda32a4d2e45220575519e8