[INFO] cloning repository https://github.com/destrex271/llmqueue
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/destrex271/llmqueue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdestrex271%2Fllmqueue", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdestrex271%2Fllmqueue'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 540a29ebce531a4116f1119011b03be4c6fc7b90
[INFO] testing destrex271/llmqueue against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdestrex271%2Fllmqueue" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/destrex271/llmqueue
[INFO] finished tweaking git repo https://github.com/destrex271/llmqueue
[INFO] tweaked toml for git repo https://github.com/destrex271/llmqueue written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/destrex271/llmqueue on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/destrex271/llmqueue 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded socket2 v0.5.5
[INFO] [stderr]   Downloaded bytes v1.5.0
[INFO] [stderr]   Downloaded ref-cast-impl v1.0.22
[INFO] [stderr]   Downloaded errno v0.3.8
[INFO] [stderr]   Downloaded is-terminal v0.4.12
[INFO] [stderr]   Downloaded fastrand v2.0.1
[INFO] [stderr]   Downloaded ref-cast v1.0.22
[INFO] [stderr]   Downloaded itoa v1.0.10
[INFO] [stderr]   Downloaded rustversion v1.0.15
[INFO] [stderr]   Downloaded mio v0.8.10
[INFO] [stderr]   Downloaded windows-targets v0.52.0
[INFO] [stderr]   Downloaded unicode-xid v0.2.4
[INFO] [stderr]   Downloaded ryu v1.0.16
[INFO] [stderr]   Downloaded tempfile v3.9.0
[INFO] [stderr]   Downloaded bitflags v2.4.2
[INFO] [stderr]   Downloaded devise v0.4.1
[INFO] [stderr]   Downloaded devise_codegen v0.4.1
[INFO] [stderr]   Downloaded async-stream v0.3.5
[INFO] [stderr]   Downloaded async-stream-impl v0.3.5
[INFO] [stderr]   Downloaded smallvec v1.13.1
[INFO] [stderr]   Downloaded getrandom v0.2.12
[INFO] [stderr]   Downloaded ahash v0.8.7
[INFO] [stderr]   Downloaded devise_core v0.4.1
[INFO] [stderr]   Downloaded parking_lot_core v0.9.9
[INFO] [stderr]   Downloaded lock_api v0.4.11
[INFO] [stderr]   Downloaded multer v2.1.0
[INFO] [stderr]   Downloaded pgmq v0.26.1
[INFO] [stderr]   Downloaded thiserror v1.0.56
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.90
[INFO] [stderr]   Downloaded serde v1.0.196
[INFO] [stderr]   Downloaded priority-queue v2.0.3
[INFO] [stderr]   Downloaded thiserror-impl v1.0.56
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.90
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.90
[INFO] [stderr]   Downloaded serde_derive v1.0.196
[INFO] [stderr]   Downloaded bytemuck v1.15.0
[INFO] [stderr]   Downloaded rocket_http v0.5.0
[INFO] [stderr]   Downloaded base64 v0.22.0
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.90
[INFO] [stderr]   Downloaded indexmap v2.2.2
[INFO] [stderr]   Downloaded http v0.2.11
[INFO] [stderr]   Downloaded figment v0.10.16
[INFO] [stderr]   Downloaded sqlx-sqlite v0.7.2
[INFO] [stderr]   Downloaded sqlx-macros v0.7.2
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.40
[INFO] [stderr]   Downloaded memchr v2.7.1
[INFO] [stderr]   Downloaded num-traits v0.2.17
[INFO] [stderr]   Downloaded pkg-config v0.3.29
[INFO] [stderr]   Downloaded sqlx-macros-core v0.7.2
[INFO] [stderr]   Downloaded pgmq-core v0.8.5
[INFO] [stderr]   Downloaded tokio-util v0.7.10
[INFO] [stderr]   Downloaded toml_edit v0.22.9
[INFO] [stderr]   Downloaded sqlx-core v0.7.2
[INFO] [stderr]   Downloaded js-sys v0.3.67
[INFO] [stderr]   Downloaded ollama-rs v0.1.7
[INFO] [stderr]   Downloaded security-framework-sys v2.9.1
[INFO] [stderr]   Downloaded serde_json v1.0.113
[INFO] [stderr]   Downloaded rocket_codegen v0.5.0
[INFO] [stderr]   Downloaded bumpalo v3.14.0
[INFO] [stderr]   Downloaded sqlx-mysql v0.7.2
[INFO] [stderr]   Downloaded h2 v0.3.24
[INFO] [stderr]   Downloaded syn v2.0.48
[INFO] [stderr]   Downloaded winnow v0.6.6
[INFO] [stderr]   Downloaded sqlx-postgres v0.7.2
[INFO] [stderr]   Downloaded openssl-sys v0.9.99
[INFO] [stderr]   Downloaded sqlx v0.7.2
[INFO] [stderr]   Downloaded security-framework v2.9.2
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.90
[INFO] [stderr]   Downloaded reqwest v0.11.24
[INFO] [stderr]   Downloaded chrono v0.4.33
[INFO] [stderr]   Downloaded rocket v0.5.0
[INFO] [stderr]   Downloaded openssl v0.10.63
[INFO] [stderr]   Downloaded windows_aarch64_gnullvm v0.52.0
[INFO] [stderr]   Downloaded rustix v0.38.31
[INFO] [stderr]   Downloaded windows_x86_64_gnullvm v0.52.0
[INFO] [stderr]   Downloaded tokio v1.36.0
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.52.0
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.52.0
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.52.0
[INFO] [stderr]   Downloaded web-sys v0.3.67
[INFO] [stderr]   Downloaded windows_i686_gnu v0.52.0
[INFO] [stderr]   Downloaded windows_i686_msvc v0.52.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 48b09c747df928092267521a35e6e01697708d3fe6ca315f33812b22430242ff
[INFO] running `Command { std: "docker" "start" "-a" "48b09c747df928092267521a35e6e01697708d3fe6ca315f33812b22430242ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "48b09c747df928092267521a35e6e01697708d3fe6ca315f33812b22430242ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48b09c747df928092267521a35e6e01697708d3fe6ca315f33812b22430242ff", kill_on_drop: false }`
[INFO] [stdout] 48b09c747df928092267521a35e6e01697708d3fe6ca315f33812b22430242ff
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bec8d95ae5d24146333433c1c9ab1a794c6a42c6601f4927cdbe128801567014
[INFO] running `Command { std: "docker" "start" "-a" "bec8d95ae5d24146333433c1c9ab1a794c6a42c6601f4927cdbe128801567014", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]    Compiling ahash v0.8.7
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling zerocopy v0.7.32
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling allocator-api2 v0.2.16
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling bitflags v2.4.2
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling smallvec v1.13.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling ryu v1.0.16
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling serde_json v1.0.113
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling http v0.2.11
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling pkg-config v0.3.29
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling tokio v1.36.0
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling crc v3.0.1
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling indexmap v2.2.2
[INFO] [stderr]    Compiling openssl-sys v0.9.99
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling finl_unicode v1.2.0
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]    Compiling stringprep v0.1.4
[INFO] [stderr]    Compiling chrono v0.4.33
[INFO] [stderr]    Compiling inout v0.1.3
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling openssl v0.10.63
[INFO] [stderr]    Compiling fastrand v2.0.1
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling inlinable_string v0.1.15
[INFO] [stderr]    Compiling whoami v1.4.1
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling universal-hash v0.5.1
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling ref-cast v1.0.22
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]    Compiling polyval v0.6.2
[INFO] [stderr]    Compiling is-terminal v0.4.12
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling ghash v0.5.1
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling aead v0.5.2
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling stable-pattern v0.1.0
[INFO] [stderr]    Compiling encoding_rs v0.8.33
[INFO] [stderr]    Compiling winnow v0.6.6
[INFO] [stderr]    Compiling state v0.6.0
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling figment v0.10.16
[INFO] [stderr]    Compiling aes-gcm v0.10.3
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]    Compiling base64 v0.22.0
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling rocket v0.5.0
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling binascii v0.1.4
[INFO] [stderr]    Compiling atomic v0.5.3
[INFO] [stderr]    Compiling tempfile v3.9.0
[INFO] [stderr]    Compiling devise_core v0.4.1
[INFO] [stderr]    Compiling serde_derive v1.0.196
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling pear_codegen v0.2.9
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling ref-cast-impl v1.0.22
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling devise_codegen v0.4.1
[INFO] [stderr]    Compiling async-stream v0.3.5
[INFO] [stderr]    Compiling pear v0.2.9
[INFO] [stderr]    Compiling tokio-stream v0.1.14
[INFO] [stderr]    Compiling devise v0.4.1
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling hyper v0.14.28
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling rocket_http v0.5.0
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling toml_datetime v0.6.5
[INFO] [stderr]    Compiling serde_spanned v0.6.5
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling ubyte v0.10.4
[INFO] [stderr]    Compiling h2 v0.3.24
[INFO] [stderr]    Compiling toml_edit v0.22.9
[INFO] [stderr]    Compiling priority-queue v2.0.3
[INFO] [stderr]    Compiling sqlformat v0.2.3
[INFO] [stderr]    Compiling toml v0.8.12
[INFO] [stderr]    Compiling rocket_codegen v0.5.0
[INFO] [stderr]    Compiling sqlx-core v0.7.2
[INFO] [stderr]    Compiling sqlx-postgres v0.7.2
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.24
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.2
[INFO] [stderr]    Compiling ollama-rs v0.1.7
[INFO] [stderr]    Compiling sqlx-macros v0.7.2
[INFO] [stderr]    Compiling sqlx v0.7.2
[INFO] [stderr]    Compiling pgmq-core v0.8.5
[INFO] [stderr]    Compiling pgmq v0.26.1
[INFO] [stderr]    Compiling llmqueue v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Message` and `PgmqError`
[INFO] [stdout]  --> src/publisher/publisher.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use pgmq::{PgmqError, Message, PGMQueue};
[INFO] [stdout]   |            ^^^^^^^^^  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/publisher/publisher.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{Serialize, Deserialize};
[INFO] [stdout]   |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Message` and `PgmqError`
[INFO] [stdout]  --> src/common/common.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | use pgmq::{PgmqError, Message, PGMQueue};
[INFO] [stdout]   |            ^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PgmqError`
[INFO] [stdout]  --> src/consumer/consumer.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use pgmq::{PgmqError, Message, PGMQueue};
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/consumer/consumer.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{Serialize, Deserialize};
[INFO] [stdout]   |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Utc`
[INFO] [stdout]  --> src/consumer/consumer.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::{Utc};
[INFO] [stdout]   |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/api/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `priority_queue::PriorityQueue`
[INFO] [stdout]  --> src/api/types.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use priority_queue::PriorityQueue;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pgmq::PgmqError`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use pgmq::PgmqError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `QuestionMessage` and `init_queue`
[INFO] [stdout]  --> src/main.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | use common::common::{init_queue, QuestionMessage};
[INFO] [stdout]   |                      ^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `send_answer_message` and `send_question_message`
[INFO] [stdout]  --> src/main.rs:9:28
[INFO] [stdout]   |
[INFO] [stdout] 9 | use publisher::publisher::{send_question_message, send_answer_message};
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `consume_answer_msg` and `consume_question_msg`
[INFO] [stdout]   --> src/main.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 | use consumer::consumer::{consume_question_msg, consume_answer_msg};
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LLMFunctions` and `LLMInstance`
[INFO] [stdout]   --> src/main.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | use llm::llama::{LLMInstance, LLMFunctions};
[INFO] [stdout]    |                  ^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::panic`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use core::panic;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read`, `fs::read_to_string`, and `self`
[INFO] [stdout]   --> src/main.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::{fs::read_to_string, io::{self, Read}};
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^       ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::prelude::*`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use chrono::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ollama_rs::*`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use ollama_rs::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `msg` is never read
[INFO] [stdout]   --> src/consumer/consumer.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut msg = String::new();
[INFO] [stdout]    |                   ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 37 |     msg = recv_msg.message.prompt_reply;
[INFO] [stdout]    |     --- `msg` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `db_uri` is never used
[INFO] [stdout]  --> src/publisher/publisher.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_question_message` is never used
[INFO] [stdout]  --> src/publisher/publisher.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn send_question_message(msg: String, queue_name: &str) -> Result<usize, ErrorMessage>{
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_answer_message` is never used
[INFO] [stdout]   --> src/publisher/publisher.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub async fn send_answer_message(msg: String, queue_name: &str) -> Result<(), ErrorMessage>{
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `db_uri` is never used
[INFO] [stdout]  --> src/common/common.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `QuestionMessage` is never constructed
[INFO] [stdout]   --> src/common/common.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct QuestionMessage{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AnswerMessage` is never constructed
[INFO] [stdout]   --> src/common/common.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct AnswerMessage{
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorMessage` is never constructed
[INFO] [stdout]   --> src/common/common.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct ErrorMessage{
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_queue` is never used
[INFO] [stdout]   --> src/common/common.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub async fn init_queue(queue_name: &str){
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `db_uri` is never used
[INFO] [stdout]  --> src/consumer/consumer.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `consume_question_msg` is never used
[INFO] [stdout]  --> src/consumer/consumer.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn consume_question_msg(queue_name: &str) -> Result<String, ErrorMessage>{
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `consume_answer_msg` is never used
[INFO] [stdout]   --> src/consumer/consumer.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub async fn consume_answer_msg(queue_name: &str) -> Result<String, ErrorMessage>{
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LLMInstance` is never constructed
[INFO] [stdout]  --> src/llm/llama.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct LLMInstance{
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `LLMFunctions` is never used
[INFO] [stdout]   --> src/llm/llama.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub trait LLMFunctions{
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ResourceManager` is never constructed
[INFO] [stdout]  --> src/api/assemble.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct ResourceManager{
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `enqueue_request` is never used
[INFO] [stdout]   --> src/api/assemble.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl ResourceManager{
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] 10 |     fn enqueue_request(mut self, context: String, prompt: String, model_name: String){
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GPU` is never constructed
[INFO] [stdout]  --> src/api/types.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct GPU{
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EnqueueRequest` is never constructed
[INFO] [stdout]   --> src/api/types.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct EnqueueRequest{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GPUCollection` is never constructed
[INFO] [stdout]   --> src/api/types.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct GPUCollection{
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/api/types.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl GPU{
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] 27 |     fn new(gpu_id: i32, device_name: String, db_uri: String) -> Self{
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `add_request` are never used
[INFO] [stdout]   --> src/api/types.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl GPUCollection{
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 54 |     pub fn new() -> Self{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn add_request(&mut self, request: EnqueueRequest){
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `db_uri` should have an upper case name
[INFO] [stdout]  --> src/publisher/publisher.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 6 - const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stdout] 6 + const DB_URI: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `db_uri` should have an upper case name
[INFO] [stdout]  --> src/common/common.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 8 - const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stdout] 8 + const DB_URI: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `db_uri` should have an upper case name
[INFO] [stdout]  --> src/consumer/consumer.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 6 - const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stdout] 6 + const DB_URI: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 52s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "bec8d95ae5d24146333433c1c9ab1a794c6a42c6601f4927cdbe128801567014", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bec8d95ae5d24146333433c1c9ab1a794c6a42c6601f4927cdbe128801567014", kill_on_drop: false }`
[INFO] [stdout] bec8d95ae5d24146333433c1c9ab1a794c6a42c6601f4927cdbe128801567014
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7e0347019aa351cef46b6f334a79f8258435a77cff51d6b4c3671de9aafc0673
[INFO] running `Command { std: "docker" "start" "-a" "7e0347019aa351cef46b6f334a79f8258435a77cff51d6b4c3671de9aafc0673", kill_on_drop: false }`
[INFO] [stderr]    Compiling llmqueue v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Message` and `PgmqError`
[INFO] [stdout]  --> src/publisher/publisher.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use pgmq::{PgmqError, Message, PGMQueue};
[INFO] [stdout]   |            ^^^^^^^^^  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/publisher/publisher.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{Serialize, Deserialize};
[INFO] [stdout]   |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Message` and `PgmqError`
[INFO] [stdout]  --> src/common/common.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | use pgmq::{PgmqError, Message, PGMQueue};
[INFO] [stdout]   |            ^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PgmqError`
[INFO] [stdout]  --> src/consumer/consumer.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use pgmq::{PgmqError, Message, PGMQueue};
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/consumer/consumer.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{Serialize, Deserialize};
[INFO] [stdout]   |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Utc`
[INFO] [stdout]  --> src/consumer/consumer.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::{Utc};
[INFO] [stdout]   |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/api/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `priority_queue::PriorityQueue`
[INFO] [stdout]  --> src/api/types.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use priority_queue::PriorityQueue;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pgmq::PgmqError`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use pgmq::PgmqError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `QuestionMessage` and `init_queue`
[INFO] [stdout]  --> src/main.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | use common::common::{init_queue, QuestionMessage};
[INFO] [stdout]   |                      ^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `send_answer_message` and `send_question_message`
[INFO] [stdout]  --> src/main.rs:9:28
[INFO] [stdout]   |
[INFO] [stdout] 9 | use publisher::publisher::{send_question_message, send_answer_message};
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `consume_answer_msg` and `consume_question_msg`
[INFO] [stdout]   --> src/main.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 | use consumer::consumer::{consume_question_msg, consume_answer_msg};
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LLMFunctions` and `LLMInstance`
[INFO] [stdout]   --> src/main.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | use llm::llama::{LLMInstance, LLMFunctions};
[INFO] [stdout]    |                  ^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::panic`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use core::panic;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read`, `fs::read_to_string`, and `self`
[INFO] [stdout]   --> src/main.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::{fs::read_to_string, io::{self, Read}};
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^       ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::prelude::*`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use chrono::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ollama_rs::*`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use ollama_rs::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `msg` is never read
[INFO] [stdout]   --> src/consumer/consumer.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut msg = String::new();
[INFO] [stdout]    |                   ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 37 |     msg = recv_msg.message.prompt_reply;
[INFO] [stdout]    |     --- `msg` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `db_uri` is never used
[INFO] [stdout]  --> src/publisher/publisher.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_question_message` is never used
[INFO] [stdout]  --> src/publisher/publisher.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn send_question_message(msg: String, queue_name: &str) -> Result<usize, ErrorMessage>{
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_answer_message` is never used
[INFO] [stdout]   --> src/publisher/publisher.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub async fn send_answer_message(msg: String, queue_name: &str) -> Result<(), ErrorMessage>{
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `db_uri` is never used
[INFO] [stdout]  --> src/common/common.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `QuestionMessage` is never constructed
[INFO] [stdout]   --> src/common/common.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct QuestionMessage{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AnswerMessage` is never constructed
[INFO] [stdout]   --> src/common/common.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct AnswerMessage{
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorMessage` is never constructed
[INFO] [stdout]   --> src/common/common.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct ErrorMessage{
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_queue` is never used
[INFO] [stdout]   --> src/common/common.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub async fn init_queue(queue_name: &str){
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `db_uri` is never used
[INFO] [stdout]  --> src/consumer/consumer.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `consume_question_msg` is never used
[INFO] [stdout]  --> src/consumer/consumer.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn consume_question_msg(queue_name: &str) -> Result<String, ErrorMessage>{
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `consume_answer_msg` is never used
[INFO] [stdout]   --> src/consumer/consumer.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub async fn consume_answer_msg(queue_name: &str) -> Result<String, ErrorMessage>{
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LLMInstance` is never constructed
[INFO] [stdout]  --> src/llm/llama.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct LLMInstance{
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `LLMFunctions` is never used
[INFO] [stdout]   --> src/llm/llama.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub trait LLMFunctions{
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ResourceManager` is never constructed
[INFO] [stdout]  --> src/api/assemble.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct ResourceManager{
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `enqueue_request` is never used
[INFO] [stdout]   --> src/api/assemble.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl ResourceManager{
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] 10 |     fn enqueue_request(mut self, context: String, prompt: String, model_name: String){
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GPU` is never constructed
[INFO] [stdout]  --> src/api/types.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct GPU{
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EnqueueRequest` is never constructed
[INFO] [stdout]   --> src/api/types.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct EnqueueRequest{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GPUCollection` is never constructed
[INFO] [stdout]   --> src/api/types.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct GPUCollection{
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/api/types.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl GPU{
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] 27 |     fn new(gpu_id: i32, device_name: String, db_uri: String) -> Self{
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `add_request` are never used
[INFO] [stdout]   --> src/api/types.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl GPUCollection{
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 54 |     pub fn new() -> Self{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn add_request(&mut self, request: EnqueueRequest){
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `db_uri` should have an upper case name
[INFO] [stdout]  --> src/publisher/publisher.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 6 - const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stdout] 6 + const DB_URI: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `db_uri` should have an upper case name
[INFO] [stdout]  --> src/common/common.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 8 - const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stdout] 8 + const DB_URI: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `db_uri` should have an upper case name
[INFO] [stdout]  --> src/consumer/consumer.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 6 - const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stdout] 6 + const DB_URI: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.96s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "7e0347019aa351cef46b6f334a79f8258435a77cff51d6b4c3671de9aafc0673", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e0347019aa351cef46b6f334a79f8258435a77cff51d6b4c3671de9aafc0673", kill_on_drop: false }`
[INFO] [stdout] 7e0347019aa351cef46b6f334a79f8258435a77cff51d6b4c3671de9aafc0673
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 46d0b4b165a9c879f46b4157658d1a30128192ef12377b646f6ebe75a693cf88
[INFO] running `Command { std: "docker" "start" "-a" "46d0b4b165a9c879f46b4157658d1a30128192ef12377b646f6ebe75a693cf88", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `Message` and `PgmqError`
[INFO] [stderr]  --> src/publisher/publisher.rs:1:12
[INFO] [stderr]   |
[INFO] [stderr] 1 | use pgmq::{PgmqError, Message, PGMQueue};
[INFO] [stderr]   |            ^^^^^^^^^  ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stderr]  --> src/publisher/publisher.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | use serde::{Serialize, Deserialize};
[INFO] [stderr]   |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Message` and `PgmqError`
[INFO] [stderr]  --> src/common/common.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | use pgmq::{PgmqError, Message, PGMQueue};
[INFO] [stderr]   |            ^^^^^^^^^  ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `PgmqError`
[INFO] [stderr]  --> src/consumer/consumer.rs:1:12
[INFO] [stderr]   |
[INFO] [stderr] 1 | use pgmq::{PgmqError, Message, PGMQueue};
[INFO] [stderr]   |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stderr]  --> src/consumer/consumer.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | use serde::{Serialize, Deserialize};
[INFO] [stderr]   |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Utc`
[INFO] [stderr]  --> src/consumer/consumer.rs:4:14
[INFO] [stderr]   |
[INFO] [stderr] 4 | use chrono::{Utc};
[INFO] [stderr]   |              ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/api/types.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `priority_queue::PriorityQueue`
[INFO] [stderr]  --> src/api/types.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use priority_queue::PriorityQueue;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `pgmq::PgmqError`
[INFO] [stderr]  --> src/main.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use pgmq::PgmqError;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `QuestionMessage` and `init_queue`
[INFO] [stderr]  --> src/main.rs:8:22
[INFO] [stderr]   |
[INFO] [stderr] 8 | use common::common::{init_queue, QuestionMessage};
[INFO] [stderr]   |                      ^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `send_answer_message` and `send_question_message`
[INFO] [stderr]  --> src/main.rs:9:28
[INFO] [stderr]   |
[INFO] [stderr] 9 | use publisher::publisher::{send_question_message, send_answer_message};
[INFO] [stderr]   |                            ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `consume_answer_msg` and `consume_question_msg`
[INFO] [stderr]   --> src/main.rs:10:26
[INFO] [stderr]    |
[INFO] [stderr] 10 | use consumer::consumer::{consume_question_msg, consume_answer_msg};
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `LLMFunctions` and `LLMInstance`
[INFO] [stderr]   --> src/main.rs:11:18
[INFO] [stderr]    |
[INFO] [stderr] 11 | use llm::llama::{LLMInstance, LLMFunctions};
[INFO] [stderr]    |                  ^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `core::panic`
[INFO] [stderr]   --> src/main.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use core::panic;
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Read`, `fs::read_to_string`, and `self`
[INFO] [stderr]   --> src/main.rs:14:11
[INFO] [stderr]    |
[INFO] [stderr] 14 | use std::{fs::read_to_string, io::{self, Read}};
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^       ^^^^  ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `chrono::prelude::*`
[INFO] [stderr]   --> src/main.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use chrono::prelude::*;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ollama_rs::*`
[INFO] [stderr]   --> src/main.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | use ollama_rs::*;
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `msg` is never read
[INFO] [stderr]   --> src/consumer/consumer.rs:24:19
[INFO] [stderr]    |
[INFO] [stderr] 24 |     let mut msg = String::new();
[INFO] [stderr]    |                   ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stderr] ...
[INFO] [stderr] 37 |     msg = recv_msg.message.prompt_reply;
[INFO] [stderr]    |     --- `msg` is overwritten here before the previous value is read
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `db_uri` is never used
[INFO] [stderr]  --> src/publisher/publisher.rs:6:7
[INFO] [stderr]   |
[INFO] [stderr] 6 | const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stderr]   |       ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `send_question_message` is never used
[INFO] [stderr]  --> src/publisher/publisher.rs:8:14
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub async fn send_question_message(msg: String, queue_name: &str) -> Result<usize, ErrorMessage>{
[INFO] [stderr]   |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `send_answer_message` is never used
[INFO] [stderr]   --> src/publisher/publisher.rs:33:14
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub async fn send_answer_message(msg: String, queue_name: &str) -> Result<(), ErrorMessage>{
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `db_uri` is never used
[INFO] [stderr]  --> src/common/common.rs:8:7
[INFO] [stderr]   |
[INFO] [stderr] 8 | const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stderr]   |       ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `QuestionMessage` is never constructed
[INFO] [stderr]   --> src/common/common.rs:11:12
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub struct QuestionMessage{
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AnswerMessage` is never constructed
[INFO] [stderr]   --> src/common/common.rs:17:12
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub struct AnswerMessage{
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ErrorMessage` is never constructed
[INFO] [stderr]   --> src/common/common.rs:24:12
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub struct ErrorMessage{
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `init_queue` is never used
[INFO] [stderr]   --> src/common/common.rs:29:14
[INFO] [stderr]    |
[INFO] [stderr] 29 | pub async fn init_queue(queue_name: &str){
[INFO] [stderr]    |              ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `db_uri` is never used
[INFO] [stderr]  --> src/consumer/consumer.rs:6:7
[INFO] [stderr]   |
[INFO] [stderr] 6 | const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stderr]   |       ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `consume_question_msg` is never used
[INFO] [stderr]  --> src/consumer/consumer.rs:8:14
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub async fn consume_question_msg(queue_name: &str) -> Result<String, ErrorMessage>{
[INFO] [stderr]   |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `consume_answer_msg` is never used
[INFO] [stderr]   --> src/consumer/consumer.rs:23:14
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub async fn consume_answer_msg(queue_name: &str) -> Result<String, ErrorMessage>{
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `LLMInstance` is never constructed
[INFO] [stderr]  --> src/llm/llama.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub struct LLMInstance{
[INFO] [stderr]   |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `LLMFunctions` is never used
[INFO] [stderr]   --> src/llm/llama.rs:12:11
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub trait LLMFunctions{
[INFO] [stderr]    |           ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ResourceManager` is never constructed
[INFO] [stderr]  --> src/api/assemble.rs:3:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub struct ResourceManager{
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `enqueue_request` is never used
[INFO] [stderr]   --> src/api/assemble.rs:10:8
[INFO] [stderr]    |
[INFO] [stderr]  9 | impl ResourceManager{
[INFO] [stderr]    | -------------------- method in this implementation
[INFO] [stderr] 10 |     fn enqueue_request(mut self, context: String, prompt: String, model_name: String){
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `GPU` is never constructed
[INFO] [stderr]  --> src/api/types.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub struct GPU{
[INFO] [stderr]   |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `EnqueueRequest` is never constructed
[INFO] [stderr]   --> src/api/types.rs:16:12
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub struct EnqueueRequest{
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `GPUCollection` is never constructed
[INFO] [stderr]   --> src/api/types.rs:22:12
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub struct GPUCollection{
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/api/types.rs:27:8
[INFO] [stderr]    |
[INFO] [stderr] 26 | impl GPU{
[INFO] [stderr]    | -------- associated function in this implementation
[INFO] [stderr] 27 |     fn new(gpu_id: i32, device_name: String, db_uri: String) -> Self{
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new` and `add_request` are never used
[INFO] [stderr]   --> src/api/types.rs:54:12
[INFO] [stderr]    |
[INFO] [stderr] 53 | impl GPUCollection{
[INFO] [stderr]    | ------------------ associated items in this implementation
[INFO] [stderr] 54 |     pub fn new() -> Self{
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 60 |     pub fn add_request(&mut self, request: EnqueueRequest){
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `db_uri` should have an upper case name
[INFO] [stderr]  --> src/publisher/publisher.rs:6:7
[INFO] [stderr]   |
[INFO] [stderr] 6 | const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stderr]   |       ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] help: convert the identifier to upper case
[INFO] [stderr]   |
[INFO] [stderr] 6 - const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stderr] 6 + const DB_URI: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: constant `db_uri` should have an upper case name
[INFO] [stderr]  --> src/common/common.rs:8:7
[INFO] [stderr]   |
[INFO] [stderr] 8 | const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stderr]   |       ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] help: convert the identifier to upper case
[INFO] [stderr]   |
[INFO] [stderr] 8 - const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stderr] 8 + const DB_URI: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: constant `db_uri` should have an upper case name
[INFO] [stderr]  --> src/consumer/consumer.rs:6:7
[INFO] [stderr]   |
[INFO] [stderr] 6 | const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stderr]   |       ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] help: convert the identifier to upper case
[INFO] [stderr]   |
[INFO] [stderr] 6 - const db_uri: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stderr] 6 + const DB_URI: &str = "postgres://postgres:postgres@localhost:5432";
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: `llmqueue` (bin "llmqueue" test) generated 41 warnings (run `cargo fix --bin "llmqueue" -p llmqueue --tests` to apply 20 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/llmqueue-5ac191a3cd19e846)
[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] running `Command { std: "docker" "inspect" "46d0b4b165a9c879f46b4157658d1a30128192ef12377b646f6ebe75a693cf88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "46d0b4b165a9c879f46b4157658d1a30128192ef12377b646f6ebe75a693cf88", kill_on_drop: false }`
[INFO] [stdout] 46d0b4b165a9c879f46b4157658d1a30128192ef12377b646f6ebe75a693cf88
