[INFO] fetching crate latitude 0.0.4... [INFO] testing latitude-0.0.4 against 1.60.0 for beta-1.61-1 [INFO] extracting crate latitude 0.0.4 into /workspace/builds/worker-118/source [INFO] validating manifest of crates.io crate latitude 0.0.4 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-118/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded build_const v0.2.2 [INFO] [stderr] Downloaded atoi v0.4.0 [INFO] [stderr] Downloaded sqlx v0.4.2 [INFO] [stderr] Downloaded hashlink v0.6.0 [INFO] [stderr] Downloaded ahash v0.6.3 [INFO] [stderr] Downloaded sqlformat v0.1.8 [INFO] [stderr] Downloaded whoami v1.2.1 [INFO] [stderr] Downloaded sqlx-core v0.4.2 [INFO] [stderr] Downloaded sqlx-macros v0.4.2 [INFO] [stderr] Downloaded num-bigint-dig v0.6.1 [INFO] [stderr] Downloaded barrel v0.6.5 [INFO] [stderr] Downloaded rsa v0.3.0 [INFO] [stderr] Downloaded sqlx-rt v0.2.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.20.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b2c59cd62475317bc0f552de3aac4271ddc4489cb61090e145af7c4d0f0b4bd [INFO] running `Command { std: "docker" "start" "-a" "2b2c59cd62475317bc0f552de3aac4271ddc4489cb61090e145af7c4d0f0b4bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b2c59cd62475317bc0f552de3aac4271ddc4489cb61090e145af7c4d0f0b4bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b2c59cd62475317bc0f552de3aac4271ddc4489cb61090e145af7c4d0f0b4bd", kill_on_drop: false }` [INFO] [stdout] 2b2c59cd62475317bc0f552de3aac4271ddc4489cb61090e145af7c4d0f0b4bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98a80fa38d558562fe70b3ec7dc13b3cc4e00176d55ac14b2d1b83759ea9b39d [INFO] running `Command { std: "docker" "start" "-a" "98a80fa38d558562fe70b3ec7dc13b3cc4e00176d55ac14b2d1b83759ea9b39d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling rust_decimal v1.23.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling barrel v0.6.5 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ahash v0.6.3 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-bigint-dig v0.6.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling sha-1 v0.9.8 [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 synstructure v0.12.6 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling zeroize v1.5.4 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tokio-rustls v0.14.1 [INFO] [stderr] Compiling sqlx-rt v0.2.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling cargo-platform v0.1.2 [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 56.99s [INFO] running `Command { std: "docker" "inspect" "98a80fa38d558562fe70b3ec7dc13b3cc4e00176d55ac14b2d1b83759ea9b39d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98a80fa38d558562fe70b3ec7dc13b3cc4e00176d55ac14b2d1b83759ea9b39d", kill_on_drop: false }` [INFO] [stdout] 98a80fa38d558562fe70b3ec7dc13b3cc4e00176d55ac14b2d1b83759ea9b39d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ec968a61ee9b4d6ebe635c6150ce3198cc20f60643755726deac8c0a4bb8c5a [INFO] running `Command { std: "docker" "start" "-a" "0ec968a61ee9b4d6ebe635c6150ce3198cc20f60643755726deac8c0a4bb8c5a", 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: 3 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.85s [INFO] running `Command { std: "docker" "inspect" "0ec968a61ee9b4d6ebe635c6150ce3198cc20f60643755726deac8c0a4bb8c5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ec968a61ee9b4d6ebe635c6150ce3198cc20f60643755726deac8c0a4bb8c5a", kill_on_drop: false }` [INFO] [stdout] 0ec968a61ee9b4d6ebe635c6150ce3198cc20f60643755726deac8c0a4bb8c5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9ad872dc69770b05691188687ce0fe3ab53af1d02f01c2c28bcdf0011bc1daf2 [INFO] running `Command { std: "docker" "start" "-a" "9ad872dc69770b05691188687ce0fe3ab53af1d02f01c2c28bcdf0011bc1daf2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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: `latitude` (lib) generated 3 warnings [INFO] [stderr] warning: `latitude` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.66s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/latitude-07b7bb323532cff6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests latitude [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 (line 91) ... ok [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] test src/lib.rs - table::create (line 129) ... 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:52 [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:41:28 [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] 12 | .execute(&connection) [INFO] [stdout] | ____________________________^ [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] [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] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `latitude::Statement::execute` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 225 | async fn execute(self, conn: D) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^ required by this bound in `latitude::Statement::execute` [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] [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.33s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9ad872dc69770b05691188687ce0fe3ab53af1d02f01c2c28bcdf0011bc1daf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ad872dc69770b05691188687ce0fe3ab53af1d02f01c2c28bcdf0011bc1daf2", kill_on_drop: false }` [INFO] [stdout] 9ad872dc69770b05691188687ce0fe3ab53af1d02f01c2c28bcdf0011bc1daf2