[INFO] cloning repository https://github.com/bencord0/postgres-client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bencord0/postgres-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbencord0%2Fpostgres-client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbencord0%2Fpostgres-client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6429f5381831b99653f117913e6d78fa4e463641 [INFO] checking bencord0/postgres-client against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbencord0%2Fpostgres-client" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bencord0/postgres-client on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bencord0/postgres-client [INFO] finished tweaking git repo https://github.com/bencord0/postgres-client [INFO] tweaked toml for git repo https://github.com/bencord0/postgres-client written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bencord0/postgres-client 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a2de85be6aa48e8d462416db0de9c3ddef9307ba21ff22f5fc2199ad164d5cd [INFO] running `Command { std: "docker" "start" "-a" "5a2de85be6aa48e8d462416db0de9c3ddef9307ba21ff22f5fc2199ad164d5cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a2de85be6aa48e8d462416db0de9c3ddef9307ba21ff22f5fc2199ad164d5cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a2de85be6aa48e8d462416db0de9c3ddef9307ba21ff22f5fc2199ad164d5cd", kill_on_drop: false }` [INFO] [stdout] 5a2de85be6aa48e8d462416db0de9c3ddef9307ba21ff22f5fc2199ad164d5cd [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca9ea546bd8cfc3b50f83c824e7c0297a36757f9920a42fc460565a2234147dd [INFO] running `Command { std: "docker" "start" "-a" "ca9ea546bd8cfc3b50f83c824e7c0297a36757f9920a42fc460565a2234147dd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking rustyline v13.0.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking rpsql v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.66s [INFO] running `Command { std: "docker" "inspect" "ca9ea546bd8cfc3b50f83c824e7c0297a36757f9920a42fc460565a2234147dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca9ea546bd8cfc3b50f83c824e7c0297a36757f9920a42fc460565a2234147dd", kill_on_drop: false }` [INFO] [stdout] ca9ea546bd8cfc3b50f83c824e7c0297a36757f9920a42fc460565a2234147dd [INFO] checking bencord0/postgres-client against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbencord0%2Fpostgres-client" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bencord0/postgres-client on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bencord0/postgres-client [INFO] finished tweaking git repo https://github.com/bencord0/postgres-client [INFO] tweaked toml for git repo https://github.com/bencord0/postgres-client written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bencord0/postgres-client 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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f23b3a8cc1c13f5c792e8ff631c413b35a6ba4069b8bac47b4f8740c50a38fdd [INFO] running `Command { std: "docker" "start" "-a" "f23b3a8cc1c13f5c792e8ff631c413b35a6ba4069b8bac47b4f8740c50a38fdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f23b3a8cc1c13f5c792e8ff631c413b35a6ba4069b8bac47b4f8740c50a38fdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f23b3a8cc1c13f5c792e8ff631c413b35a6ba4069b8bac47b4f8740c50a38fdd", kill_on_drop: false }` [INFO] [stdout] f23b3a8cc1c13f5c792e8ff631c413b35a6ba4069b8bac47b4f8740c50a38fdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 536276e34afe26f9d83f9ffafaec1daf5a7ed5c3b30c1d0aa77d5793e7238d18 [INFO] running `Command { std: "docker" "start" "-a" "536276e34afe26f9d83f9ffafaec1daf5a7ed5c3b30c1d0aa77d5793e7238d18", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking rustyline v13.0.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking rpsql v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/server.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/client.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/async_client.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/proxy.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.18s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking rpsql v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0499]: cannot borrow `frontend` as mutable more than once at a time [INFO] [stdout] --> src/bin/server.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 21 | for startup_request in frontend.read_startup_messages()? { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 26 | frontend.send_message(ssl_response)?; [INFO] [stdout] | ^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 38 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow>, impl Iterator>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `frontend` as mutable more than once at a time [INFO] [stdout] --> src/bin/server.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 21 | for startup_request in frontend.read_startup_messages()? { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 30 | frontend.send_message(Authentication::Ok)?; [INFO] [stdout] | ^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 38 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow>, impl Iterator>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `frontend` as mutable more than once at a time [INFO] [stdout] --> src/bin/server.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 21 | for startup_request in frontend.read_startup_messages()? { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 32 | frontend.send_message(ReadyForQuery { [INFO] [stdout] | ^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 38 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow>, impl Iterator>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `frontend` as mutable more than once at a time [INFO] [stdout] --> src/bin/server.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 40 | for message in frontend.read_messages()? { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 47 | frontend.send_message(row_description)?; [INFO] [stdout] | ^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 61 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow>, impl Iterator>` [INFO] [stdout] | [INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped [INFO] [stdout] | [INFO] [stdout] 61 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `frontend` as mutable more than once at a time [INFO] [stdout] --> src/bin/server.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 40 | for message in frontend.read_messages()? { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 50 | frontend.send_message(data_row)?; [INFO] [stdout] | ^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 61 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow>, impl Iterator>` [INFO] [stdout] | [INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped [INFO] [stdout] | [INFO] [stdout] 61 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `frontend` as mutable more than once at a time [INFO] [stdout] --> src/bin/proxy.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 22 | for startup_request in frontend.read_startup_messages()? { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 26 | frontend.send_message(startup_response)?; [INFO] [stdout] | ^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] 27 | } [INFO] [stdout] 28 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow>, impl Iterator>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `frontend` as mutable more than once at a time [INFO] [stdout] --> src/bin/server.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 40 | for message in frontend.read_messages()? { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 53 | frontend.send_message(command_complete)?; [INFO] [stdout] | ^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 61 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow>, impl Iterator>` [INFO] [stdout] | [INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped [INFO] [stdout] | [INFO] [stdout] 61 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `frontend` as mutable more than once at a time [INFO] [stdout] --> src/bin/proxy.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 30 | for frontend_message in frontend.read_messages()? { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 38 | frontend.send_message(backend_message)?; [INFO] [stdout] | ^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] 39 | } [INFO] [stdout] 40 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow>, impl Iterator>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `frontend` as mutable more than once at a time [INFO] [stdout] --> src/bin/server.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 40 | for message in frontend.read_messages()? { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 55 | frontend.send_message(ReadyForQuery { [INFO] [stdout] | ^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 61 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow>, impl Iterator>` [INFO] [stdout] | [INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped [INFO] [stdout] | [INFO] [stdout] 61 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `frontend` as mutable more than once at a time [INFO] [stdout] --> src/bin/server.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 21 | for startup_request in frontend.read_startup_messages()? { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 26 | frontend.send_message(ssl_response)?; [INFO] [stdout] | ^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 38 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow>, impl Iterator>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `frontend` as mutable more than once at a time [INFO] [stdout] --> src/bin/server.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 21 | for startup_request in frontend.read_startup_messages()? { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 30 | frontend.send_message(Authentication::Ok)?; [INFO] [stdout] | ^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 38 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow>, impl Iterator>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `frontend` as mutable more than once at a time [INFO] [stdout] --> src/bin/server.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 21 | for startup_request in frontend.read_startup_messages()? { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 32 | frontend.send_message(ReadyForQuery { [INFO] [stdout] | ^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 38 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow>, impl Iterator>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `frontend` as mutable more than once at a time [INFO] [stdout] --> src/bin/server.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 40 | for message in frontend.read_messages()? { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 47 | frontend.send_message(row_description)?; [INFO] [stdout] | ^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 61 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow>, impl Iterator>` [INFO] [stdout] | [INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped [INFO] [stdout] | [INFO] [stdout] 61 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `frontend` as mutable more than once at a time [INFO] [stdout] --> src/bin/server.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 40 | for message in frontend.read_messages()? { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 50 | frontend.send_message(data_row)?; [INFO] [stdout] | ^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 61 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow>, impl Iterator>` [INFO] [stdout] | [INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped [INFO] [stdout] | [INFO] [stdout] 61 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `frontend` as mutable more than once at a time [INFO] [stdout] --> src/bin/server.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 40 | for message in frontend.read_messages()? { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 53 | frontend.send_message(command_complete)?; [INFO] [stdout] | ^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 61 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow>, impl Iterator>` [INFO] [stdout] | [INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped [INFO] [stdout] | [INFO] [stdout] 61 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `frontend` as mutable more than once at a time [INFO] [stdout] --> src/bin/server.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 40 | for message in frontend.read_messages()? { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 55 | frontend.send_message(ReadyForQuery { [INFO] [stdout] | ^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 61 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow>, impl Iterator>` [INFO] [stdout] | [INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped [INFO] [stdout] | [INFO] [stdout] 61 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rpsql` (bin "server") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rpsql` (bin "proxy" test) due to 3 previous errors [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rpsql` (bin "server" test) due to 8 previous errors [INFO] [stdout] error[E0499]: cannot borrow `frontend` as mutable more than once at a time [INFO] [stdout] --> src/bin/proxy.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 22 | for startup_request in frontend.read_startup_messages()? { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 26 | frontend.send_message(startup_response)?; [INFO] [stdout] | ^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] 27 | } [INFO] [stdout] 28 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow>, impl Iterator>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `frontend` as mutable more than once at a time [INFO] [stdout] --> src/bin/proxy.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 30 | for frontend_message in frontend.read_messages()? { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | a temporary with access to the first borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 38 | frontend.send_message(backend_message)?; [INFO] [stdout] | ^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] 39 | } [INFO] [stdout] 40 | } [INFO] [stdout] | - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `ControlFlow>, impl Iterator>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rpsql` (bin "proxy") due to 3 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "536276e34afe26f9d83f9ffafaec1daf5a7ed5c3b30c1d0aa77d5793e7238d18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "536276e34afe26f9d83f9ffafaec1daf5a7ed5c3b30c1d0aa77d5793e7238d18", kill_on_drop: false }` [INFO] [stdout] 536276e34afe26f9d83f9ffafaec1daf5a7ed5c3b30c1d0aa77d5793e7238d18