[INFO] fetching crate latitude 0.0.4... [INFO] testing latitude-0.0.4 against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] extracting crate latitude 0.0.4 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate latitude 0.0.4 on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate latitude 0.0.4 [INFO] finished tweaking crates.io crate latitude 0.0.4 [INFO] tweaked toml for crates.io crate latitude 0.0.4 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded barrel v0.6.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f7029e6df746f579bbd3a74119945108b8a1cac7ff1a06617a0423e8e59c19aa [INFO] running `Command { std: "docker" "start" "-a" "f7029e6df746f579bbd3a74119945108b8a1cac7ff1a06617a0423e8e59c19aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7029e6df746f579bbd3a74119945108b8a1cac7ff1a06617a0423e8e59c19aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7029e6df746f579bbd3a74119945108b8a1cac7ff1a06617a0423e8e59c19aa", kill_on_drop: false }` [INFO] [stdout] f7029e6df746f579bbd3a74119945108b8a1cac7ff1a06617a0423e8e59c19aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] df59da1bb404e9cd63091fc1bd772e62c127499861c246d34ab43a9cce8b2d30 [INFO] running `Command { std: "docker" "start" "-a" "df59da1bb404e9cd63091fc1bd772e62c127499861c246d34ab43a9cce8b2d30", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling barrel v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling ahash v0.6.3 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling num-bigint-dig v0.6.1 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling sqlformat v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling tokio-rustls v0.14.1 [INFO] [stderr] Compiling sqlx-rt v0.2.0 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling cargo-platform v0.1.1 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rust_decimal v1.14.3 [INFO] [stderr] Compiling cargo_metadata v0.12.3 [INFO] [stderr] Compiling rsa v0.3.0 [INFO] [stderr] Compiling sqlx-core v0.4.2 [INFO] [stderr] Compiling sqlx-macros v0.4.2 [INFO] [stderr] Compiling sqlx v0.4.2 [INFO] [stderr] Compiling latitude v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Database`, `any::AnyPool` [INFO] [stdout] --> src/lib.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | use sqlx::{any::AnyKind, any::AnyPool, Any, Database, Executor}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/lib.rs:46:55 [INFO] [stdout] | [INFO] [stdout] 46 | use sqlx::{any::AnyKind, any::AnyPool, Any, Database, Executor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `if_exists` [INFO] [stdout] --> src/lib.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | pub(crate) if_exists: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 38s [INFO] running `Command { std: "docker" "inspect" "df59da1bb404e9cd63091fc1bd772e62c127499861c246d34ab43a9cce8b2d30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df59da1bb404e9cd63091fc1bd772e62c127499861c246d34ab43a9cce8b2d30", kill_on_drop: false }` [INFO] [stdout] df59da1bb404e9cd63091fc1bd772e62c127499861c246d34ab43a9cce8b2d30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b68ecad3b9630e6711e0d2ee6cb2e2b6bc1148f3594f3b4e7d4fbe97dfa4c19f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b68ecad3b9630e6711e0d2ee6cb2e2b6bc1148f3594f3b4e7d4fbe97dfa4c19f", kill_on_drop: false }` [INFO] [stderr] Compiling latitude v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Database`, `any::AnyPool` [INFO] [stdout] --> src/lib.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | use sqlx::{any::AnyKind, any::AnyPool, Any, Database, Executor}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/lib.rs:46:55 [INFO] [stdout] | [INFO] [stdout] 46 | use sqlx::{any::AnyKind, any::AnyPool, Any, Database, Executor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `if_exists` [INFO] [stdout] --> src/lib.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | pub(crate) if_exists: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Database`, `any::AnyPool` [INFO] [stdout] --> src/lib.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | use sqlx::{any::AnyKind, any::AnyPool, Any, Database, Executor}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/lib.rs:46:55 [INFO] [stdout] | [INFO] [stdout] 46 | use sqlx::{any::AnyKind, any::AnyPool, Any, Database, Executor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `if_exists` [INFO] [stdout] --> src/lib.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | pub(crate) if_exists: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.23s [INFO] running `Command { std: "docker" "inspect" "b68ecad3b9630e6711e0d2ee6cb2e2b6bc1148f3594f3b4e7d4fbe97dfa4c19f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b68ecad3b9630e6711e0d2ee6cb2e2b6bc1148f3594f3b4e7d4fbe97dfa4c19f", kill_on_drop: false }` [INFO] [stdout] b68ecad3b9630e6711e0d2ee6cb2e2b6bc1148f3594f3b4e7d4fbe97dfa4c19f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 029fbfb7049dcf1ca926eb5d4b6ca4663eae1532b1cbab158dbe5948afc35854 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "029fbfb7049dcf1ca926eb5d4b6ca4663eae1532b1cbab158dbe5948afc35854", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Database`, `any::AnyPool` [INFO] [stderr] --> src/lib.rs:46:26 [INFO] [stderr] | [INFO] [stderr] 46 | use sqlx::{any::AnyKind, any::AnyPool, Any, Database, Executor}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str::FromStr` [INFO] [stderr] --> src/lib.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | use std::str::FromStr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Executor` [INFO] [stderr] --> src/lib.rs:46:55 [INFO] [stderr] | [INFO] [stderr] 46 | use sqlx::{any::AnyKind, any::AnyPool, Any, Database, Executor}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `if_exists` [INFO] [stderr] --> src/lib.rs:149:9 [INFO] [stderr] | [INFO] [stderr] 149 | pub(crate) if_exists: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Database`, `any::AnyPool` [INFO] [stderr] --> src/lib.rs:46:26 [INFO] [stderr] | [INFO] [stderr] 46 | use sqlx::{any::AnyKind, any::AnyPool, Any, Database, Executor}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str::FromStr` [INFO] [stderr] --> src/lib.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | use std::str::FromStr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Executor` [INFO] [stderr] --> src/lib.rs:46:55 [INFO] [stderr] | [INFO] [stderr] 46 | use sqlx::{any::AnyKind, any::AnyPool, Any, Database, Executor}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `if_exists` [INFO] [stderr] --> src/lib.rs:149:9 [INFO] [stderr] | [INFO] [stderr] 149 | pub(crate) if_exists: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/latitude-7706c813c69d75a0) [INFO] [stdout] [INFO] [stderr] Doc-tests latitude [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 32) ... FAILED [INFO] [stdout] test src/lib.rs - table::drop (line 164) ... ok [INFO] [stdout] test src/lib.rs - table::create (line 129) ... ok [INFO] [stdout] test src/lib.rs - table (line 91) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 32) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Connection` [INFO] [stdout] --> src/lib.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 6 | let connection = Connection::new("sqlite::memory:").await?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_32_0() { [INFO] [stdout] | ----------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 6 | let connection = Connection::new("sqlite::memory:").await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_32_0() { [INFO] [stdout] | ----------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 8 | / table::create("users") [INFO] [stdout] 9 | | .column("name", varchar(255)) [INFO] [stdout] 10 | | .column("age", integer()) [INFO] [stdout] 11 | | .column("xyx", boolean()) [INFO] [stdout] 12 | | .execute(&connection) [INFO] [stdout] 13 | | .await? [INFO] [stdout] | |____________^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:35:58 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_32_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use latitude::prelude::*; [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | let connection = Connection::new("sqlite::memory:").await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 13 | | .await? [INFO] [stdout] 14 | | } _doctest_main_src_lib_rs_32_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&_: Dialect` is not satisfied [INFO] [stdout] --> src/lib.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 12 | .execute(&connection) [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `Dialect` is not implemented for `&_` [INFO] [stdout] | help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as Dialect> [INFO] [stdout] as Dialect> [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_32_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use latitude::prelude::*; [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | let connection = Connection::new("sqlite::memory:").await?; [INFO] [stdout] ... | [INFO] [stdout] 13 | | .await? [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 14 | | } _doctest_main_src_lib_rs_32_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 32) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.40s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "029fbfb7049dcf1ca926eb5d4b6ca4663eae1532b1cbab158dbe5948afc35854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "029fbfb7049dcf1ca926eb5d4b6ca4663eae1532b1cbab158dbe5948afc35854", kill_on_drop: false }` [INFO] [stdout] 029fbfb7049dcf1ca926eb5d4b6ca4663eae1532b1cbab158dbe5948afc35854