[INFO] cloning repository https://github.com/jeff-hiner/diesel_async_tests [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeff-hiner/diesel_async_tests" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeff-hiner%2Fdiesel_async_tests", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeff-hiner%2Fdiesel_async_tests'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e3971d6acb4d499974dfff03ff00386a3f6f00e [INFO] checking jeff-hiner/diesel_async_tests against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeff-hiner%2Fdiesel_async_tests" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jeff-hiner/diesel_async_tests [INFO] finished tweaking git repo https://github.com/jeff-hiner/diesel_async_tests [INFO] tweaked toml for git repo https://github.com/jeff-hiner/diesel_async_tests written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jeff-hiner/diesel_async_tests on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jeff-hiner/diesel_async_tests 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 972c7e4a1bdd265c61a17932a891b66dcbace49e8a51a8d0a2ea09b86ae1b3b5 [INFO] running `Command { std: "docker" "start" "-a" "972c7e4a1bdd265c61a17932a891b66dcbace49e8a51a8d0a2ea09b86ae1b3b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "972c7e4a1bdd265c61a17932a891b66dcbace49e8a51a8d0a2ea09b86ae1b3b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "972c7e4a1bdd265c61a17932a891b66dcbace49e8a51a8d0a2ea09b86ae1b3b5", kill_on_drop: false }` [INFO] [stdout] 972c7e4a1bdd265c61a17932a891b66dcbace49e8a51a8d0a2ea09b86ae1b3b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac22196faa56cc22452a63555df3b672709cc077e73df59c1ae8ad63bbdf2882 [INFO] running `Command { std: "docker" "start" "-a" "ac22196faa56cc22452a63555df3b672709cc077e73df59c1ae8ad63bbdf2882", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking whoami v1.4.1 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking scoped-futures v0.1.3 [INFO] [stderr] Checking stringprep v0.1.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking postgres-protocol v0.6.6 [INFO] [stderr] Checking postgres-types v0.2.6 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling diesel_derives v2.1.2 [INFO] [stderr] Checking tokio v1.34.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking bb8 v0.8.1 [INFO] [stderr] Checking diesel v2.1.4 [INFO] [stderr] Checking tokio-postgres v0.7.10 [INFO] [stderr] Checking diesel-async v0.4.1 [INFO] [stderr] Checking diesel_async v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `sqlite` [INFO] [stdout] --> src/doctest_setup.rs:168:15 [INFO] [stdout] | [INFO] [stdout] 168 | #[cfg(not(feature = "sqlite"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `sqlite` 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: `sqlite` [INFO] [stdout] --> src/doctest_setup.rs:168:15 [INFO] [stdout] | [INFO] [stdout] 168 | #[cfg(not(feature = "sqlite"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `sqlite` 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] error[E0597]: `conn` does not live long enough [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut conn = pool.get().await.unwrap(); [INFO] [stdout] | -------- binding `conn` declared here [INFO] [stdout] 30 | [INFO] [stdout] 31 | conn.test_transaction::<_, Error, _>(|conn| { [INFO] [stdout] | ^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 50 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `conn` dropped here while still borrowed [INFO] [stdout] | borrow might be used here, when `conn` is dropped and runs the `Drop` code for type `bb8::api::PooledConnection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `conn` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:48:59 [INFO] [stdout] | [INFO] [stdout] 31 | conn.test_transaction::<_, Error, _>(|conn| { [INFO] [stdout] | ---- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 48 | let all_names = users.select(name).load::(&mut conn).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | second mutable borrow occurs here [INFO] [stdout] | first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `diesel_async` (bin "diesel_async" test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ac22196faa56cc22452a63555df3b672709cc077e73df59c1ae8ad63bbdf2882", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac22196faa56cc22452a63555df3b672709cc077e73df59c1ae8ad63bbdf2882", kill_on_drop: false }` [INFO] [stdout] ac22196faa56cc22452a63555df3b672709cc077e73df59c1ae8ad63bbdf2882