[INFO] cloning repository https://github.com/mcohen97/coupons-promotions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mcohen97/coupons-promotions" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcohen97%2Fcoupons-promotions", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcohen97%2Fcoupons-promotions'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6dc7a9435268f4560ee28e03c6a1a3aae4844d28 [INFO] checking mcohen97/coupons-promotions against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcohen97%2Fcoupons-promotions" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mcohen97/coupons-promotions on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mcohen97/coupons-promotions [INFO] finished tweaking git repo https://github.com/mcohen97/coupons-promotions [INFO] tweaked toml for git repo https://github.com/mcohen97/coupons-promotions written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/mcohen97/coupons-promotions already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "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] 59b52c05f187d4f471fc67a4d4dd1a1cd648c39fd178b4765ebcab7cafb43cca [INFO] running `Command { std: "docker" "start" "-a" "59b52c05f187d4f471fc67a4d4dd1a1cd648c39fd178b4765ebcab7cafb43cca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59b52c05f187d4f471fc67a4d4dd1a1cd648c39fd178b4765ebcab7cafb43cca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59b52c05f187d4f471fc67a4d4dd1a1cd648c39fd178b4765ebcab7cafb43cca", kill_on_drop: false }` [INFO] [stdout] 59b52c05f187d4f471fc67a4d4dd1a1cd648c39fd178b4765ebcab7cafb43cca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3164e7652d7d2feb89edffe427e31926d8d2907eaf399d9f44d5d73053ba6da [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" "f3164e7652d7d2feb89edffe427e31926d8d2907eaf399d9f44d5d73053ba6da", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling cookie-factory v0.3.0 [INFO] [stderr] Checking arc-swap v0.4.3 [INFO] [stderr] Checking hashbrown v0.3.1 [INFO] [stderr] Checking evalexpr v5.0.5 [INFO] [stderr] Checking iso3166-1 v1.0.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling openssl-sys v0.9.52 [INFO] [stderr] Compiling libsqlite3-sys v0.16.0 [INFO] [stderr] Compiling nom v5.0.1 [INFO] [stderr] Checking num_cpus v1.11.0 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking socket2 v0.3.11 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Checking backtrace-sys v0.1.32 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking resolv-conf v0.6.2 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Checking nanoid v0.2.0 [INFO] [stderr] Checking num-integer v0.1.41 [INFO] [stderr] Checking unicode-normalization v0.1.9 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking signal-hook-registry v1.1.1 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking lexical-core v0.4.6 [INFO] [stderr] Checking parking_lot_core v0.5.0 [INFO] [stderr] Checking signal-hook v0.1.11 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking http v0.1.19 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking parking_lot v0.8.0 [INFO] [stderr] Checking flate2 v1.0.12 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Checking scheduled-thread-pool v0.2.2 [INFO] [stderr] Checking tokio-reactor v0.1.10 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking r2d2 v0.8.6 [INFO] [stderr] Checking actix-codec v0.1.2 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-udp v0.1.5 [INFO] [stderr] Checking tokio-signal v0.2.7 [INFO] [stderr] Checking actix-utils v0.4.7 [INFO] [stderr] Checking actix-server-config v0.1.2 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Checking bigdecimal v0.1.0 [INFO] [stderr] Checking amq-protocol-uri v3.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking tcp-stream v0.8.0 [INFO] [stderr] Checking amq-protocol-tcp v3.1.0 [INFO] [stderr] Compiling speculate v0.1.2 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Compiling synstructure v0.12.2 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling actix_derive v0.4.0 [INFO] [stderr] Compiling derive_more v0.14.1 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling actix-web-codegen v0.1.3 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Compiling const-random-macro v0.1.6 [INFO] [stderr] Checking trust-dns-proto v0.7.4 [INFO] [stderr] Checking const-random v0.1.6 [INFO] [stderr] Checking ahash v0.2.17 [INFO] [stderr] Checking hashbrown v0.6.3 [INFO] [stderr] Checking actix-threadpool v0.1.2 [INFO] [stderr] Checking actix-rt v0.2.5 [INFO] [stderr] Checking actix-server v0.6.1 [INFO] [stderr] Checking trust-dns-resolver v0.11.1 [INFO] [stderr] Checking actix-testing v0.1.0 [INFO] [stderr] Checking actix-connect v0.2.5 [INFO] [stderr] Checking serde v1.0.102 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking actix-router v0.1.5 [INFO] [stderr] Checking hashbrown v0.5.0 [INFO] [stderr] Checking iata-types v0.1.4 [INFO] [stderr] Checking diesel v1.4.3 [INFO] [stderr] Checking amq-protocol-types v3.1.0 [INFO] [stderr] Checking actix-http v0.2.11 [INFO] [stderr] Checking jsonwebtoken v6.0.1 [INFO] [stderr] Compiling handlebars v2.0.2 [INFO] [stderr] Compiling amq-protocol-codegen v3.1.0 [INFO] [stderr] Checking awc v0.2.8 [INFO] [stderr] Checking actix v0.8.3 [INFO] [stderr] Checking actix-web v1.0.8 [INFO] [stderr] Compiling amq-protocol v3.1.0 [INFO] [stderr] Compiling lapin v0.28.2 [INFO] [stderr] Checking lapin-futures v0.28.2 [INFO] [stderr] Checking evaluations v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/models/organization_repo.rs:19:51 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn create(&self, id: String) -> ApiResult<(bool)> { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/models/organization_repo.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn delete(&self, id: String) -> ApiResult<(bool)> { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/models/organization_repo.rs:19:51 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn create(&self, id: String) -> ApiResult<(bool)> { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/models/organization_repo.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn delete(&self, id: String) -> ApiResult<(bool)> { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server/api_error.rs:117:87 [INFO] [stdout] | [INFO] [stdout] 117 | e => ApiError::InternalError(Cow::from(format!("Data access error: {}", e.description()))) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server/api_error.rs:130:46 [INFO] [stdout] | [INFO] [stdout] 130 | ApiError::InternalError(Cow::Owned(e.description().to_string())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server/api_error.rs:136:35 [INFO] [stdout] | [INFO] [stdout] 136 | ApiError::InternalError(e.description().to_string().into()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server/api_error.rs:117:87 [INFO] [stdout] | [INFO] [stdout] 117 | e => ApiError::InternalError(Cow::from(format!("Data access error: {}", e.description()))) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server/api_error.rs:130:46 [INFO] [stdout] | [INFO] [stdout] 130 | ApiError::InternalError(Cow::Owned(e.description().to_string())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server/api_error.rs:136:35 [INFO] [stdout] | [INFO] [stdout] 136 | ApiError::InternalError(e.description().to_string().into()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/messages/message_listener.rs:56:72 [INFO] [stdout] | [INFO] [stdout] 56 | let payload = std::str::from_utf8(&message.data).map_err(|e| e.description().to_string())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/messages/message_listener.rs:57:70 [INFO] [stdout] | [INFO] [stdout] 57 | let data: UUID = serde_json::from_str(payload).map_err(|e| e.description().to_string())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/messages/message_listener.rs:56:72 [INFO] [stdout] | [INFO] [stdout] 56 | let payload = std::str::from_utf8(&message.data).map_err(|e| e.description().to_string())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/messages/message_listener.rs:57:70 [INFO] [stdout] | [INFO] [stdout] 57 | let data: UUID = serde_json::from_str(payload).map_err(|e| e.description().to_string())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `org` [INFO] [stdout] --> src/models/promotion_repo.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let org = "TESTING PROMO"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_org` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/models/promotion_repo.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | repo.update(&fetched); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 22s [INFO] running `Command { std: "docker" "inspect" "f3164e7652d7d2feb89edffe427e31926d8d2907eaf399d9f44d5d73053ba6da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3164e7652d7d2feb89edffe427e31926d8d2907eaf399d9f44d5d73053ba6da", kill_on_drop: false }` [INFO] [stdout] f3164e7652d7d2feb89edffe427e31926d8d2907eaf399d9f44d5d73053ba6da