[INFO] cloning repository https://github.com/AJIeKceuD/rust-scp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AJIeKceuD/rust-scp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAJIeKceuD%2Frust-scp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAJIeKceuD%2Frust-scp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e8ea930667477d63bd25a2ab62e3e06bd5a4f24 [INFO] testing AJIeKceuD/rust-scp against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAJIeKceuD%2Frust-scp" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AJIeKceuD/rust-scp on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AJIeKceuD/rust-scp [INFO] finished tweaking git repo https://github.com/AJIeKceuD/rust-scp [INFO] tweaked toml for git repo https://github.com/AJIeKceuD/rust-scp written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/AJIeKceuD/rust-scp already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 79822caae609e8a789be331acf0628f7c06e3cc04f37e24ff76c297d76fee2e7 [INFO] running `Command { std: "docker" "start" "-a" "79822caae609e8a789be331acf0628f7c06e3cc04f37e24ff76c297d76fee2e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79822caae609e8a789be331acf0628f7c06e3cc04f37e24ff76c297d76fee2e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79822caae609e8a789be331acf0628f7c06e3cc04f37e24ff76c297d76fee2e7", kill_on_drop: false }` [INFO] [stdout] 79822caae609e8a789be331acf0628f7c06e3cc04f37e24ff76c297d76fee2e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f76aafd3dfb6dac0a7518160abbd760435190a6326349a2c2c5afc1f2bfe08e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8f76aafd3dfb6dac0a7518160abbd760435190a6326349a2c2c5afc1f2bfe08e", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling cookie-factory v0.2.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling whoami v1.1.3 [INFO] [stderr] Compiling minimal-lexical v0.1.3 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling web_controller v0.1.0 (/opt/rustwide/workdir/web_controller) [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling tinyvec v1.4.0 [INFO] [stderr] Compiling tracing-core v0.1.20 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling crc v2.0.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling postgres-protocol v0.6.1 [INFO] [stderr] Compiling postgres-types v0.2.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling sqlx-rt v0.5.7 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling web_controller_derive v0.1.0 (/opt/rustwide/workdir/web_controller/web_controller_derive) [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling snafu v0.6.10 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling h2 v0.3.4 [INFO] [stderr] Compiling tokio-postgres v0.7.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling hyper v0.14.12 [INFO] [stderr] Compiling amq-protocol-types v1.2.0 [INFO] [stderr] Compiling handlebars v1.1.0 [INFO] [stderr] Compiling sqlx-core v0.5.7 [INFO] [stderr] Compiling cargo-lock v4.0.1 [INFO] [stderr] Compiling built v0.4.4 [INFO] [stderr] Compiling amiquip v0.4.0 [INFO] [stderr] Compiling amq-protocol-codegen v1.4.0 [INFO] [stderr] Compiling amq-protocol v1.4.0 [INFO] [stderr] Compiling sqlx-macros v0.5.7 [INFO] [stderr] Compiling sqlx v0.5.7 [INFO] [stderr] Compiling rust-scp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/router.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | let log_id = log_insert_db!(log, &server_context.db_pool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/router.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | log_update_db!(log, &server_context.db_pool, log_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/middleware/request_id.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | let db_request = sqlx::query!("SELECT nextval('api_request_id_seq') as id;") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/services/record_register.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | let log_id_fn = log_insert_db!(log, db_pool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/services/record_register.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | log_update_db!(log, db_pool, log_id_fn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/services/record_register.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | let log_id_fn = log_insert_db!(log, db_pool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/services/record_register.rs:209:27 [INFO] [stdout] | [INFO] [stdout] 209 | let result_temp = query_with_log!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 210 | | db_pool, [INFO] [stdout] 211 | | &request_context, [INFO] [stdout] 212 | | [INFO] [stdout] ... | [INFO] [stdout] 223 | | hold_data.amount [INFO] [stdout] 224 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/services/record_register.rs:209:27 [INFO] [stdout] | [INFO] [stdout] 209 | let result_temp = query_with_log!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 210 | | db_pool, [INFO] [stdout] 211 | | &request_context, [INFO] [stdout] 212 | | [INFO] [stdout] ... | [INFO] [stdout] 223 | | hold_data.amount [INFO] [stdout] 224 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/services/record_register.rs:209:27 [INFO] [stdout] | [INFO] [stdout] 209 | let result_temp = query_with_log!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 210 | | db_pool, [INFO] [stdout] 211 | | &request_context, [INFO] [stdout] 212 | | [INFO] [stdout] ... | [INFO] [stdout] 223 | | hold_data.amount [INFO] [stdout] 224 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/services/record_register.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | log_update_db!(log, db_pool, log_id_fn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/controllers/rabbit.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeaderMap`, `Request` [INFO] [stdout] --> src/controllers/rabbit.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::{Request, Body, Response, HeaderMap}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hyper::body::Bytes` [INFO] [stdout] --> src/controllers/rabbit.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hyper::body::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hyper::http::request::Parts` [INFO] [stdout] --> src/controllers/rabbit.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use hyper::http::request::Parts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `trace`, `warn` [INFO] [stdout] --> src/controllers/rabbit.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{error, warn, info, debug, trace}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LogModel`, `RequestId` [INFO] [stdout] --> src/controllers/rabbit.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::model::log::{LogModel, RequestId}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Exchange`, `Publish` [INFO] [stdout] --> src/controllers/rabbit.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | use amiquip::{Exchange, Publish}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::TryStreamExt as _` [INFO] [stdout] --> src/router.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::TryStreamExt as _; // map_ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::controllers::rabbit::RabbitController` [INFO] [stdout] --> src/router.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::controllers::rabbit::RabbitController; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OuterResultCode`, `OuterResultInfo`, `OuterResultRepeat` [INFO] [stdout] --> src/router.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | OuterResultCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | OuterResultInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | OuterResultRepeat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/services/record_register.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::{Row}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let mut connection = amiquip::Connection::insecure_open(&rabbitmq_url)?; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-scp` due to 11 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8f76aafd3dfb6dac0a7518160abbd760435190a6326349a2c2c5afc1f2bfe08e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f76aafd3dfb6dac0a7518160abbd760435190a6326349a2c2c5afc1f2bfe08e", kill_on_drop: false }` [INFO] [stdout] 8f76aafd3dfb6dac0a7518160abbd760435190a6326349a2c2c5afc1f2bfe08e