[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] testing mcohen97/coupons-promotions against beta-2021-01-01 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcohen97%2Fcoupons-promotions" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mcohen97/coupons-promotions on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "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-7/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-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-bigint v0.2.3 [INFO] [stderr] Downloaded tcp-stream v0.8.0 [INFO] [stderr] Downloaded num_cpus v1.11.0 [INFO] [stderr] Downloaded signal-hook v0.1.11 [INFO] [stderr] Downloaded miniz_oxide v0.3.5 [INFO] [stderr] Downloaded synstructure v0.12.2 [INFO] [stderr] Downloaded crossbeam-channel v0.4.0 [INFO] [stderr] Downloaded speculate v0.1.2 [INFO] [stderr] Downloaded evalexpr v5.0.5 [INFO] [stderr] Downloaded amq-protocol v3.1.0 [INFO] [stderr] Downloaded amq-protocol-codegen v3.1.0 [INFO] [stderr] Downloaded amq-protocol-uri v3.1.0 [INFO] [stderr] Downloaded amq-protocol-tcp v3.1.0 [INFO] [stderr] Downloaded amq-protocol-types v3.1.0 [INFO] [stderr] Downloaded cookie-factory v0.3.0 [INFO] [stderr] Downloaded handlebars v2.0.2 [INFO] [stderr] Downloaded nanoid v0.2.0 [INFO] [stderr] Downloaded openssl-src v111.6.0+1.1.1d [INFO] [stderr] Downloaded iata-types v0.1.4 [INFO] [stderr] Downloaded bigdecimal v0.1.0 [INFO] [stderr] Downloaded iso3166-1 v1.0.1 [INFO] [stderr] Downloaded lapin v0.28.2 [INFO] [stderr] Downloaded lapin-futures v0.28.2 [INFO] [stderr] Downloaded jsonwebtoken v6.0.1 [INFO] [stderr] Downloaded libsqlite3-sys v0.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd807b33fe824cf5c4b02e63a82f3d72982c21dc065b9ef219f0ac3cbf1abaa7 [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" "cd807b33fe824cf5c4b02e63a82f3d72982c21dc065b9ef219f0ac3cbf1abaa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd807b33fe824cf5c4b02e63a82f3d72982c21dc065b9ef219f0ac3cbf1abaa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd807b33fe824cf5c4b02e63a82f3d72982c21dc065b9ef219f0ac3cbf1abaa7", kill_on_drop: false }` [INFO] [stdout] cd807b33fe824cf5c4b02e63a82f3d72982c21dc065b9ef219f0ac3cbf1abaa7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bb271797a0c0b4bb0fbc4121411c90ef6f63d47ba0b128726757de8b58f51b0 [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" "3bb271797a0c0b4bb0fbc4121411c90ef6f63d47ba0b128726757de8b58f51b0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling cookie-factory v0.3.0 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Compiling arc-swap v0.4.3 [INFO] [stderr] Compiling hashbrown v0.3.1 [INFO] [stderr] Compiling evalexpr v5.0.5 [INFO] [stderr] Compiling iso3166-1 v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling actix-service v0.4.2 [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] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling signal-hook-registry v1.1.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling lexical-core v0.4.6 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling signal-hook v0.1.11 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.19 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling nanoid v0.2.0 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling flate2 v1.0.12 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-reactor v0.1.10 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.2 [INFO] [stderr] Compiling amq-protocol-uri v3.1.0 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.5 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling r2d2 v0.8.6 [INFO] [stderr] Compiling actix-utils v0.4.7 [INFO] [stderr] Compiling actix-server-config v0.1.2 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling bigdecimal v0.1.0 [INFO] [stderr] Compiling tcp-stream v0.8.0 [INFO] [stderr] Compiling amq-protocol-tcp v3.1.0 [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 failure_derive v0.1.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling actix-web-codegen v0.1.3 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling const-random-macro v0.1.6 [INFO] [stderr] Compiling const-random v0.1.6 [INFO] [stderr] Compiling ahash v0.2.17 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling actix-threadpool v0.1.2 [INFO] [stderr] Compiling actix-rt v0.2.5 [INFO] [stderr] Compiling trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling actix-server v0.6.1 [INFO] [stderr] Compiling actix-connect v0.2.5 [INFO] [stderr] Compiling actix-testing v0.1.0 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.1.5 [INFO] [stderr] Compiling iata-types v0.1.4 [INFO] [stderr] Compiling diesel v1.4.3 [INFO] [stderr] Compiling handlebars v2.0.2 [INFO] [stderr] Compiling amq-protocol-types v3.1.0 [INFO] [stderr] Compiling actix-http v0.2.11 [INFO] [stderr] Compiling jsonwebtoken v6.0.1 [INFO] [stderr] Compiling amq-protocol-codegen v3.1.0 [INFO] [stderr] Compiling awc v0.2.8 [INFO] [stderr] Compiling actix v0.8.3 [INFO] [stderr] Compiling amq-protocol v3.1.0 [INFO] [stderr] Compiling lapin v0.28.2 [INFO] [stderr] Compiling actix-web v1.0.8 [INFO] [stderr] Compiling lapin-futures v0.28.2 [INFO] [stderr] Compiling 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: 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5m 29s [INFO] running `Command { std: "docker" "inspect" "3bb271797a0c0b4bb0fbc4121411c90ef6f63d47ba0b128726757de8b58f51b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bb271797a0c0b4bb0fbc4121411c90ef6f63d47ba0b128726757de8b58f51b0", kill_on_drop: false }` [INFO] [stdout] 3bb271797a0c0b4bb0fbc4121411c90ef6f63d47ba0b128726757de8b58f51b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06602ebcfc0d4ba9597a1a394706d3eb13df66c23a814af2a7642321c038f206 [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" "06602ebcfc0d4ba9597a1a394706d3eb13df66c23a814af2a7642321c038f206", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling speculate v0.1.2 [INFO] [stderr] Compiling 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: 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: 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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 25.85s [INFO] running `Command { std: "docker" "inspect" "06602ebcfc0d4ba9597a1a394706d3eb13df66c23a814af2a7642321c038f206", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06602ebcfc0d4ba9597a1a394706d3eb13df66c23a814af2a7642321c038f206", kill_on_drop: false }` [INFO] [stdout] 06602ebcfc0d4ba9597a1a394706d3eb13df66c23a814af2a7642321c038f206 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen", 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] 21c7a5990f70903dcde5a4eea50d03f3630e57e04b5c30759804ef4019a6aa5e [INFO] running `Command { std: "docker" "start" "-a" "21c7a5990f70903dcde5a4eea50d03f3630e57e04b5c30759804ef4019a6aa5e", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/models/organization_repo.rs:19:51 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn create(&self, id: String) -> ApiResult<(bool)> { [INFO] [stderr] | ^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/models/organization_repo.rs:27:51 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn delete(&self, id: String) -> ApiResult<(bool)> { [INFO] [stderr] | ^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/server/api_error.rs:117:87 [INFO] [stderr] | [INFO] [stderr] 117 | e => ApiError::InternalError(Cow::from(format!("Data access error: {}", e.description()))) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/server/api_error.rs:130:46 [INFO] [stderr] | [INFO] [stderr] 130 | ApiError::InternalError(Cow::Owned(e.description().to_string())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/server/api_error.rs:136:35 [INFO] [stderr] | [INFO] [stderr] 136 | ApiError::InternalError(e.description().to_string().into()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/messages/message_listener.rs:56:72 [INFO] [stderr] | [INFO] [stderr] 56 | let payload = std::str::from_utf8(&message.data).map_err(|e| e.description().to_string())?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/messages/message_listener.rs:57:70 [INFO] [stderr] | [INFO] [stderr] 57 | let data: UUID = serde_json::from_str(payload).map_err(|e| e.description().to_string())?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `org` [INFO] [stderr] --> src/models/promotion_repo.rs:136:13 [INFO] [stderr] | [INFO] [stderr] 136 | let org = "TESTING PROMO"; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_org` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/models/promotion_repo.rs:148:9 [INFO] [stderr] | [INFO] [stderr] 148 | repo.update(&fetched); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: 9 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.42s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/evaluations-29a9ec0ea7982784 [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test models::demographics::tests::city_name_instead_of_code ... ok [INFO] [stdout] test models::expression_parser::tests::valid_coupon_code ... ok [INFO] [stdout] test models::expression_parser::tests::valid_discount_code ... ok [INFO] [stdout] test models::demographics::tests::valid_data ... ok [INFO] [stdout] test models::demographics::tests::invalid_country_code ... ok [INFO] [stdout] test models::expression_parser::tests::valid_discount_code_or ... ok [INFO] [stdout] test models::expression_parser::tests::invalid_discount_code ... ok [INFO] [stdout] test models::demographics::tests::invalid_city_code ... ok [INFO] [stdout] test models::demographics::tests::country_name_instead_of_code ... ok [INFO] [stdout] test models::expression_parser::tests::invalid_coupon_code ... ok [INFO] [stdout] test models::promotion_repo::tests::crud_test ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- models::promotion_repo::tests::crud_test stdout ---- [INFO] [stdout] thread 'models::promotion_repo::tests::crud_test' panicked at 'called `Result::unwrap()` on an `Err` value: NotPresent', src/models/promotion_repo.rs:130:49 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5623234d1897 - std::backtrace_rs::backtrace::libunwind::trace::hcd6e187547b8deec [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x5623234d1897 - std::backtrace_rs::backtrace::trace_unsynchronized::hde10036eb783fbc7 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5623234d1897 - std::sys_common::backtrace::_print_fmt::h63987b8f86dfc82a [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5623234d1897 - ::fmt::hc33f3ac4cc9c4196 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5623234f358c - core::fmt::write::hfdcdeb08fb2b3afa [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x5623234cdbe2 - std::io::Write::write_fmt::h28c53dc51251a293 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/io/mod.rs:1519:15 [INFO] [stdout] 6: 0x5623234d3b45 - std::sys_common::backtrace::_print::hf179508b01f66878 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5623234d3b45 - std::sys_common::backtrace::print::ha97d11adb39266a6 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5623234d3b45 - std::panicking::default_hook::{{closure}}::h8da9985a98bd1582 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x5623234d36d2 - std::panicking::default_hook::hbc0ee792993c2ef2 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x5623234d42e1 - std::panicking::rust_panic_with_hook::h9fb9cda33a10f084 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:591:17 [INFO] [stdout] 11: 0x5623234d3e27 - std::panicking::begin_panic_handler::{{closure}}::hf3e83396e085962e [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:497:13 [INFO] [stdout] 12: 0x5623234d1d5c - std::sys_common::backtrace::__rust_end_short_backtrace::hac151ac4c1e3252d [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x5623234d3d89 - rust_begin_unwind [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:493:5 [INFO] [stdout] 14: 0x5623234f1c91 - core::panicking::panic_fmt::hf6d8a92b065b8f97 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x5623234f1ab3 - core::option::expect_none_failed::ha72f299eca314ad7 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/option.rs:1268:5 [INFO] [stdout] 16: 0x56232338a380 - core::result::Result::unwrap::heb6e7539de59e7a2 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/result.rs:973:23 [INFO] [stdout] 17: 0x562323380f3d - evaluations::models::promotion_repo::tests::crud_test::h74188da0c2d72097 [INFO] [stdout] at /opt/rustwide/workdir/src/models/promotion_repo.rs:130:19 [INFO] [stdout] 18: 0x562323380eaa - evaluations::models::promotion_repo::tests::crud_test::{{closure}}::h6262b70fd89d6577 [INFO] [stdout] at /opt/rustwide/workdir/src/models/promotion_repo.rs:128:5 [INFO] [stdout] 19: 0x562323381cfe - core::ops::function::FnOnce::call_once::h301b2b7e3163e0ef [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x5623233b98d3 - core::ops::function::FnOnce::call_once::ha61d5393ae51ae22 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5623233b98d3 - test::__rust_begin_short_backtrace::h4a8691b5281c1f3b [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/test/src/lib.rs:516:5 [INFO] [stdout] 22: 0x5623233b81c6 - as core::ops::function::FnOnce>::call_once::hd25ba61494055ad3 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/alloc/src/boxed.rs:1328:9 [INFO] [stdout] 23: 0x5623233b81c6 - as core::ops::function::FnOnce<()>>::call_once::h052fde7b846767ba [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panic.rs:322:9 [INFO] [stdout] 24: 0x5623233b81c6 - std::panicking::try::do_call::h04571a1da6838ba1 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:379:40 [INFO] [stdout] 25: 0x5623233b81c6 - std::panicking::try::h758f090614125cbe [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:343:19 [INFO] [stdout] 26: 0x5623233b81c6 - std::panic::catch_unwind::h0c48513d5a021d3c [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panic.rs:396:14 [INFO] [stdout] 27: 0x5623233b81c6 - test::run_test_in_process::hee75babaaac3822f [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/test/src/lib.rs:538:18 [INFO] [stdout] 28: 0x5623233b81c6 - test::run_test::run_test_inner::{{closure}}::h2920dea75d7f0c1e [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/test/src/lib.rs:449:39 [INFO] [stdout] 29: 0x5623233904d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::ha23dff608830db13 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 30: 0x56232339526d - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hacce322dead3a799 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/thread/mod.rs:474:17 [INFO] [stdout] 31: 0x56232339526d - as core::ops::function::FnOnce<()>>::call_once::h4f0bc9c26ead0a27 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panic.rs:322:9 [INFO] [stdout] 32: 0x56232339526d - std::panicking::try::do_call::h1b9f282fb0c383b3 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:379:40 [INFO] [stdout] 33: 0x56232339526d - std::panicking::try::hed1ebed51b133ee4 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:343:19 [INFO] [stdout] 34: 0x56232339526d - std::panic::catch_unwind::h072a2b19fd39a474 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panic.rs:396:14 [INFO] [stdout] 35: 0x56232339526d - std::thread::Builder::spawn_unchecked::{{closure}}::hb02c6b2d3ff18bc2 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/thread/mod.rs:473:30 [INFO] [stdout] 36: 0x56232339526d - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb512c5d27b4adb83 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 37: 0x5623234d9eea - as core::ops::function::FnOnce>::call_once::hdbb9ff71143eaad6 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/alloc/src/boxed.rs:1328:9 [INFO] [stdout] 38: 0x5623234d9eea - as core::ops::function::FnOnce>::call_once::h9dbde95cefb8368c [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/alloc/src/boxed.rs:1328:9 [INFO] [stdout] 39: 0x5623234d9eea - std::sys::unix::thread::Thread::new::thread_start::hc76032c38affd972 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 40: 0x7efcf66ae609 - start_thread [INFO] [stdout] 41: 0x7efcf6480293 - clone [INFO] [stdout] 42: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] models::promotion_repo::tests::crud_test [INFO] [stdout] [INFO] [stdout] test result: FAILED. 10 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin evaluations' [INFO] running `Command { std: "docker" "inspect" "21c7a5990f70903dcde5a4eea50d03f3630e57e04b5c30759804ef4019a6aa5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21c7a5990f70903dcde5a4eea50d03f3630e57e04b5c30759804ef4019a6aa5e", kill_on_drop: false }` [INFO] [stdout] 21c7a5990f70903dcde5a4eea50d03f3630e57e04b5c30759804ef4019a6aa5e