[INFO] fetching crate diesel-async 0.6.1... [INFO] checking diesel-async-0.6.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate diesel-async 0.6.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate diesel-async 0.6.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate diesel-async 0.6.1 [INFO] tweaked toml for crates.io crate diesel-async 0.6.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate diesel-async 0.6.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate diesel-async 0.6.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded migrations_internals v2.2.0 [INFO] [stderr] Downloaded diesel_migrations v2.2.0 [INFO] [stderr] Downloaded diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Downloaded migrations_macros v2.2.0 [INFO] [stderr] Downloaded scoped-futures v0.1.4 [INFO] [stderr] Downloaded lru v0.14.0 [INFO] [stderr] Downloaded keyed_priority_queue v0.4.2 [INFO] [stderr] Downloaded bb8 v0.9.0 [INFO] [stderr] Downloaded dsl_auto_type v0.1.3 [INFO] [stderr] Downloaded diesel_derives v2.2.6 [INFO] [stderr] Downloaded mysql_async v0.36.1 [INFO] [stderr] Downloaded mysql_common v0.35.4 [INFO] [stderr] Downloaded diesel v2.2.11 [INFO] [stderr] Downloaded libsqlite3-sys v0.33.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a48413920e5fd540f68cac2f8bab764f7f4f12e666b4225cc9f13619706b2e8d [INFO] running `Command { std: "docker" "start" "-a" "a48413920e5fd540f68cac2f8bab764f7f4f12e666b4225cc9f13619706b2e8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a48413920e5fd540f68cac2f8bab764f7f4f12e666b4225cc9f13619706b2e8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a48413920e5fd540f68cac2f8bab764f7f4f12e666b4225cc9f13619706b2e8d", kill_on_drop: false }` [INFO] [stdout] a48413920e5fd540f68cac2f8bab764f7f4f12e666b4225cc9f13619706b2e8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec030a6e097f604161b94070b48e56069b213e655b2d1e80fc4b26879a46d2d2 [INFO] running `Command { std: "docker" "start" "-a" "ec030a6e097f604161b94070b48e56069b213e655b2d1e80fc4b26879a46d2d2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking scoped-futures v0.1.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Compiling diesel_derives v2.2.6 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking diesel v2.2.11 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking migrations_internals v2.2.0 [INFO] [stderr] Compiling migrations_macros v2.2.0 [INFO] [stderr] Checking diesel_migrations v2.2.0 [INFO] [stderr] Checking diesel-async v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::TestConnection` [INFO] [stdout] --> tests/instrumentation.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::TestConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `TestConnection` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/lib.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 95 | type TestConnection = AsyncMysqlConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/lib.rs:97:6 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 97 | type TestConnection = AsyncPgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/lib.rs:99:6 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 99 | type TestConnection = [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::TestConnection` [INFO] [stdout] --> tests/type_check.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{connection, TestConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `TestConnection` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/lib.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 95 | type TestConnection = AsyncMysqlConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/lib.rs:97:6 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 97 | type TestConnection = AsyncPgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/lib.rs:99:6 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 99 | type TestConnection = [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestConnection` in this scope [INFO] [stdout] --> tests/lib.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | type TestBackend = ::Backend; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/lib.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 95 | type TestConnection = AsyncMysqlConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/lib.rs:97:6 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 97 | type TestConnection = AsyncPgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/lib.rs:99:6 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 99 | type TestConnection = [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestConnection` in this scope [INFO] [stdout] --> tests/lib.rs:206:26 [INFO] [stdout] | [INFO] [stdout] 206 | async fn connection() -> TestConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/lib.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 95 | type TestConnection = AsyncMysqlConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/lib.rs:97:6 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 97 | type TestConnection = AsyncPgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/lib.rs:99:6 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 99 | type TestConnection = [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestConnection` in this scope [INFO] [stdout] --> tests/lib.rs:222:46 [INFO] [stdout] | [INFO] [stdout] 222 | async fn connection_without_transaction() -> TestConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/lib.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 95 | type TestConnection = AsyncMysqlConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/lib.rs:97:6 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 97 | type TestConnection = AsyncPgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/lib.rs:99:6 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 99 | type TestConnection = [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `_: Sized` [INFO] [stdout] --> tests/lib.rs:23:53 [INFO] [stdout] | [INFO] [stdout] 23 | let users: Vec = users::table.load(conn).await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`integration_tests`) [INFO] [stdout] = note: required for `SelectStatement>` to implement `QueryFragment<_>` [INFO] [stdout] = note: 126 redundant requirements hidden [INFO] [stdout] = note: required for `SelectStatement>` to implement `QueryFragment<_>` [INFO] [stdout] = note: required for `table` to implement `diesel_async::methods::LoadQuery<'_, _, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup` in this scope [INFO] [stdout] --> tests/lib.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | setup(&mut conn).await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/lib.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 167 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 168 | async fn setup(connection: &mut TestConnection) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/lib.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 180 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 181 | async fn setup(connection: &mut TestConnection) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/lib.rs:194:10 [INFO] [stdout] | [INFO] [stdout] 193 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 194 | async fn setup(connection: &mut TestConnection) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestConnection` [INFO] [stdout] --> tests/lib.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | TestConnection::establish(&db_url).await.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TestConnection` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/lib.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 95 | type TestConnection = AsyncMysqlConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/lib.rs:97:6 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 97 | type TestConnection = AsyncPgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/lib.rs:99:6 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 99 | type TestConnection = [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0275, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stderr] error: could not compile `diesel-async` (test "integration_tests") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ec030a6e097f604161b94070b48e56069b213e655b2d1e80fc4b26879a46d2d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec030a6e097f604161b94070b48e56069b213e655b2d1e80fc4b26879a46d2d2", kill_on_drop: false }` [INFO] [stdout] ec030a6e097f604161b94070b48e56069b213e655b2d1e80fc4b26879a46d2d2