[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] checking Aschull/rust_rabbitmq/57331ba15e8aa2ec578f9f08ffafe7c145db74eb against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAschull%2Frust_rabbitmq" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Aschull/rust_rabbitmq on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-5-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cargo-lock v8.0.3 [INFO] [stderr] Downloaded cookie-factory v0.2.4 [INFO] [stderr] Downloaded diesel_migrations v2.1.0 [INFO] [stderr] Downloaded input_buffer v0.5.0 [INFO] [stderr] Downloaded built v0.5.2 [INFO] [stderr] Downloaded amq-protocol-codegen v1.4.0 [INFO] [stderr] Downloaded handlebars v1.1.0 [INFO] [stderr] Downloaded amq-protocol v1.4.0 [INFO] [stderr] Downloaded amq-protocol-types v1.2.0 [INFO] [stderr] Downloaded amiquip v0.4.2 [INFO] [stderr] Downloaded migrations_macros v2.1.0 [INFO] [stderr] Downloaded migrations_internals v2.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e59759cf3f965aa89728f734daf63a468be70260e5cf4fa11f01898f6dbb75bc [INFO] running `Command { std: "docker" "start" "-a" "e59759cf3f965aa89728f734daf63a468be70260e5cf4fa11f01898f6dbb75bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e59759cf3f965aa89728f734daf63a468be70260e5cf4fa11f01898f6dbb75bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e59759cf3f965aa89728f734daf63a468be70260e5cf4fa11f01898f6dbb75bc", kill_on_drop: false }` [INFO] [stdout] e59759cf3f965aa89728f734daf63a468be70260e5cf4fa11f01898f6dbb75bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 798a448227dde78141585140b2f315991617cf41b69ab60aa1e9e9755335f106 [INFO] running `Command { std: "docker" "start" "-a" "798a448227dde78141585140b2f315991617cf41b69ab60aa1e9e9755335f106", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling cookie-factory v0.2.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling winnow v0.5.34 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking input_buffer v0.5.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking crossbeam-channel v0.5.11 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Checking rusqlite v0.30.0 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling diesel_derives v2.1.2 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Compiling pest v2.7.6 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking snafu v0.7.5 [INFO] [stderr] Compiling pest_meta v2.7.6 [INFO] [stderr] Compiling pest_generator v2.7.6 [INFO] [stderr] Checking diesel v2.1.4 [INFO] [stderr] Compiling pest_derive v2.7.6 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking amq-protocol-types v1.2.0 [INFO] [stderr] Checking handlebars v1.1.0 [INFO] [stderr] Compiling cargo-lock v8.0.3 [INFO] [stderr] Compiling built v0.5.2 [INFO] [stderr] Checking amq-protocol-codegen v1.4.0 [INFO] [stderr] Compiling amiquip v0.4.2 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking migrations_internals v2.1.0 [INFO] [stderr] Compiling migrations_macros v2.1.0 [INFO] [stderr] Compiling amq-protocol v1.4.0 [INFO] [stderr] Checking diesel_migrations v2.1.0 [INFO] [stderr] Checking 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: 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 { [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, 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 { [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] [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 { [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, 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 { [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] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.81s [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 4` [INFO] running `Command { std: "docker" "inspect" "798a448227dde78141585140b2f315991617cf41b69ab60aa1e9e9755335f106", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "798a448227dde78141585140b2f315991617cf41b69ab60aa1e9e9755335f106", kill_on_drop: false }` [INFO] [stdout] 798a448227dde78141585140b2f315991617cf41b69ab60aa1e9e9755335f106