[INFO] cloning repository https://github.com/Aschull/rust_rabbitmq
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aschull/rust_rabbitmq" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAschull%2Frust_rabbitmq", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAschull%2Frust_rabbitmq'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 57331ba15e8aa2ec578f9f08ffafe7c145db74eb
[INFO] building Aschull/rust_rabbitmq against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAschull%2Frust_rabbitmq" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Aschull/rust_rabbitmq on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Aschull/rust_rabbitmq
[INFO] finished tweaking git repo https://github.com/Aschull/rust_rabbitmq
[INFO] tweaked toml for git repo https://github.com/Aschull/rust_rabbitmq written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Aschull/rust_rabbitmq 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded migrations_macros v2.1.0
[INFO] [stderr]   Downloaded pq-sys v0.4.8
[INFO] [stderr]   Downloaded diesel_table_macro_syntax v0.1.0
[INFO] [stderr]   Downloaded input_buffer v0.5.0
[INFO] [stderr]   Downloaded matches v0.1.10
[INFO] [stderr]   Downloaded migrations_internals v2.1.0
[INFO] [stderr]   Downloaded amq-protocol v1.4.0
[INFO] [stderr]   Downloaded cookie-factory v0.2.4
[INFO] [stderr]   Downloaded pest_meta v2.7.6
[INFO] [stderr]   Downloaded pest_generator v2.7.6
[INFO] [stderr]   Downloaded handlebars v1.1.0
[INFO] [stderr]   Downloaded cargo-lock v8.0.3
[INFO] [stderr]   Downloaded amiquip v0.4.2
[INFO] [stderr]   Downloaded pest v2.7.6
[INFO] [stderr]   Downloaded rusqlite v0.30.0
[INFO] [stderr]   Downloaded diesel_derives v2.1.2
[INFO] [stderr]   Downloaded pest_derive v2.7.6
[INFO] [stderr]   Downloaded amq-protocol-codegen v1.4.0
[INFO] [stderr]   Downloaded amq-protocol-types v1.2.0
[INFO] [stderr]   Downloaded diesel_migrations v2.1.0
[INFO] [stderr]   Downloaded diesel v2.1.4
[INFO] [stderr]   Downloaded built v0.5.2
[INFO] [stderr]   Downloaded net2 v0.2.39
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d3ec69943b72f0c3f699d2373c65e832a91556d1c36fdd554481f89476b810b0
[INFO] running `Command { std: "docker" "start" "-a" "d3ec69943b72f0c3f699d2373c65e832a91556d1c36fdd554481f89476b810b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d3ec69943b72f0c3f699d2373c65e832a91556d1c36fdd554481f89476b810b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d3ec69943b72f0c3f699d2373c65e832a91556d1c36fdd554481f89476b810b0", kill_on_drop: false }`
[INFO] [stdout] d3ec69943b72f0c3f699d2373c65e832a91556d1c36fdd554481f89476b810b0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5aa367b06f1e608ffc8973d2e19c9ae3ff2ca6fb02ae616fe9127a8f7bcddade
[INFO] running `Command { std: "docker" "start" "-a" "5aa367b06f1e608ffc8973d2e19c9ae3ff2ca6fb02ae616fe9127a8f7bcddade", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling serde v1.0.195
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling libc v0.2.152
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling ucd-trie v0.1.6
[INFO] [stderr]    Compiling serde_json v1.0.111
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling ahash v0.8.7
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling zerocopy v0.7.32
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling allocator-api2 v0.2.16
[INFO] [stderr]    Compiling ryu v1.0.16
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling winnow v0.5.34
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling semver v1.0.21
[INFO] [stderr]    Compiling walkdir v2.4.0
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling cookie-factory v0.2.4
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling regex-automata v0.4.5
[INFO] [stderr]    Compiling indexmap v2.1.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling pq-sys v0.4.8
[INFO] [stderr]    Compiling smallvec v1.13.1
[INFO] [stderr]    Compiling pkg-config v0.3.29
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling matches v0.1.10
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling net2 v0.2.39
[INFO] [stderr]    Compiling diesel_table_macro_syntax v0.1.0
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling libsqlite3-sys v0.27.0
[INFO] [stderr]    Compiling bitflags v2.4.2
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling serde_derive v1.0.195
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling regex v1.10.3
[INFO] [stderr]    Compiling diesel_derives v2.1.2
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling crossbeam-channel v0.5.11
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling pest v2.7.6
[INFO] [stderr]    Compiling input_buffer v0.5.0
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling snafu-derive v0.7.5
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling fallible-iterator v0.3.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling tokio v1.35.1
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling rusqlite v0.30.0
[INFO] [stderr]    Compiling pest_meta v2.7.6
[INFO] [stderr]    Compiling snafu v0.7.5
[INFO] [stderr]    Compiling pest_generator v2.7.6
[INFO] [stderr]    Compiling diesel v2.1.4
[INFO] [stderr]    Compiling pest_derive v2.7.6
[INFO] [stderr]    Compiling serde_spanned v0.6.5
[INFO] [stderr]    Compiling toml_datetime v0.6.5
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling cargo-lock v8.0.3
[INFO] [stderr]    Compiling handlebars v1.1.0
[INFO] [stderr]    Compiling amq-protocol-types v1.2.0
[INFO] [stderr]    Compiling built v0.5.2
[INFO] [stderr]    Compiling amq-protocol-codegen v1.4.0
[INFO] [stderr]    Compiling toml v0.7.8
[INFO] [stderr]    Compiling migrations_internals v2.1.0
[INFO] [stderr]    Compiling amiquip v0.4.2
[INFO] [stderr]    Compiling amq-protocol v1.4.0
[INFO] [stderr]    Compiling migrations_macros v2.1.0
[INFO] [stderr]    Compiling diesel_migrations v2.1.0
[INFO] [stderr]    Compiling rust-rabbitmq v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `create_new_student`, `get_student_by_id`, and `get_students`
[INFO] [stdout]   --> src/main.rs:19:41
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::services::student::student::{create_new_student, get_student_by_id, get_students};
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConfigDB` is never constructed
[INFO] [stdout]  --> src/configs/db_config.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct ConfigDB {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/configs/db_config.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl ConfigDB {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn new() -> ConfigDB {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RabbitmqConfig` is never constructed
[INFO] [stdout]  --> src/rabbitmq/config.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct RabbitmqConfig {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/rabbitmq/config.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl RabbitmqConfig {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn new() -> Result<RabbitmqConfig, Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rabbitmq_consumer` is never used
[INFO] [stdout]  --> src/rabbitmq/consumer.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn rabbitmq_consumer() -> Result<()> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `callback` is never used
[INFO] [stdout]   --> src/rabbitmq/consumer.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn callback(consumer: amiquip::Consumer<'_>) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rabbitmq_publisher` is never used
[INFO] [stdout]  --> src/rabbitmq/publisher.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn rabbitmq_publisher(message: String, routing_key: String) -> Result<()> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update_student_by_id` and `delete_student_by_id` are never used
[INFO] [stdout]   --> src/services/student/student.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Student {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn update_student_by_id(&self, id: i32) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn delete_student_by_id(&self, id: i32) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_students` is never used
[INFO] [stdout]   --> src/services/student/student.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn get_students() -> Result<Vec<StudentModel>, diesel::result::Error> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_student_by_id` is never used
[INFO] [stdout]   --> src/services/student/student.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn get_student_by_id(id: i32) -> Result<StudentModel, diesel::result::Error> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_new_student` is never used
[INFO] [stdout]   --> src/services/student/student.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn create_new_student(name: String) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 56s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "5aa367b06f1e608ffc8973d2e19c9ae3ff2ca6fb02ae616fe9127a8f7bcddade", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5aa367b06f1e608ffc8973d2e19c9ae3ff2ca6fb02ae616fe9127a8f7bcddade", kill_on_drop: false }`
[INFO] [stdout] 5aa367b06f1e608ffc8973d2e19c9ae3ff2ca6fb02ae616fe9127a8f7bcddade
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 993cb4201c54d50b33c942b455b97ec2e6bfa05e846590911468dda2e7cbc778
[INFO] running `Command { std: "docker" "start" "-a" "993cb4201c54d50b33c942b455b97ec2e6bfa05e846590911468dda2e7cbc778", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-rabbitmq v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `create_new_student`, `get_student_by_id`, and `get_students`
[INFO] [stdout]   --> src/main.rs:19:41
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::services::student::student::{create_new_student, get_student_by_id, get_students};
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConfigDB` is never constructed
[INFO] [stdout]  --> src/configs/db_config.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct ConfigDB {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/configs/db_config.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl ConfigDB {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn new() -> ConfigDB {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RabbitmqConfig` is never constructed
[INFO] [stdout]  --> src/rabbitmq/config.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct RabbitmqConfig {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/rabbitmq/config.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl RabbitmqConfig {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn new() -> Result<RabbitmqConfig, Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rabbitmq_consumer` is never used
[INFO] [stdout]  --> src/rabbitmq/consumer.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn rabbitmq_consumer() -> Result<()> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `callback` is never used
[INFO] [stdout]   --> src/rabbitmq/consumer.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn callback(consumer: amiquip::Consumer<'_>) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rabbitmq_publisher` is never used
[INFO] [stdout]  --> src/rabbitmq/publisher.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn rabbitmq_publisher(message: String, routing_key: String) -> Result<()> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update_student_by_id` and `delete_student_by_id` are never used
[INFO] [stdout]   --> src/services/student/student.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Student {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn update_student_by_id(&self, id: i32) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn delete_student_by_id(&self, id: i32) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_students` is never used
[INFO] [stdout]   --> src/services/student/student.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn get_students() -> Result<Vec<StudentModel>, diesel::result::Error> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_student_by_id` is never used
[INFO] [stdout]   --> src/services/student/student.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn get_student_by_id(id: i32) -> Result<StudentModel, diesel::result::Error> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_new_student` is never used
[INFO] [stdout]   --> src/services/student/student.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn create_new_student(name: String) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "993cb4201c54d50b33c942b455b97ec2e6bfa05e846590911468dda2e7cbc778", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "993cb4201c54d50b33c942b455b97ec2e6bfa05e846590911468dda2e7cbc778", kill_on_drop: false }`
[INFO] [stdout] 993cb4201c54d50b33c942b455b97ec2e6bfa05e846590911468dda2e7cbc778
