[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-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcohen97%2Fcoupons-promotions" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mcohen97/coupons-promotions on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-6/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-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded const-random-macro v0.1.6 [INFO] [stderr] Downloaded r2d2 v0.8.6 [INFO] [stderr] Downloaded signal-hook v0.1.11 [INFO] [stderr] Downloaded const-random v0.1.6 [INFO] [stderr] Downloaded tcp-stream v0.8.0 [INFO] [stderr] Downloaded cookie-factory v0.3.0 [INFO] [stderr] Downloaded amq-protocol-tcp v3.1.0 [INFO] [stderr] Downloaded amq-protocol-types v3.1.0 [INFO] [stderr] Downloaded amq-protocol-codegen v3.1.0 [INFO] [stderr] Downloaded lapin-futures v0.28.2 [INFO] [stderr] Downloaded iso3166-1 v1.0.1 [INFO] [stderr] Downloaded evalexpr v5.0.5 [INFO] [stderr] Downloaded amq-protocol v3.1.0 [INFO] [stderr] Downloaded amq-protocol-uri v3.1.0 [INFO] [stderr] Downloaded speculate v0.1.2 [INFO] [stderr] Downloaded nanoid v0.2.0 [INFO] [stderr] Downloaded ahash v0.2.17 [INFO] [stderr] Downloaded lapin v0.28.2 [INFO] [stderr] Downloaded openssl-src v111.6.0+1.1.1d [INFO] [stderr] Downloaded iata-types v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "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] a8a3e39866371508a03505d64e5ff282c89d3d9c4dc83c1f2f97e8969b41398f [INFO] running `Command { std: "docker" "start" "-a" "a8a3e39866371508a03505d64e5ff282c89d3d9c4dc83c1f2f97e8969b41398f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8a3e39866371508a03505d64e5ff282c89d3d9c4dc83c1f2f97e8969b41398f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8a3e39866371508a03505d64e5ff282c89d3d9c4dc83c1f2f97e8969b41398f", kill_on_drop: false }` [INFO] [stdout] a8a3e39866371508a03505d64e5ff282c89d3d9c4dc83c1f2f97e8969b41398f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c11b5fdedef3fc5c01d365212b1a57f8f8b53bdbe7348ddefdb8e1a689a0780 [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" "4c11b5fdedef3fc5c01d365212b1a57f8f8b53bdbe7348ddefdb8e1a689a0780", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling static_assertions v0.3.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling cookie-factory v0.3.0 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling arc-swap v0.4.3 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Compiling mime v0.3.14 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling dotenv v0.15.0 [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 rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling num-bigint v0.2.3 [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 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 walkdir v2.2.9 [INFO] [stderr] Compiling pest v2.1.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling num_cpus v1.11.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling time v0.1.42 [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 tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling crossbeam-channel v0.4.0 [INFO] [stderr] Compiling signal-hook v0.1.11 [INFO] [stderr] Compiling unicode-normalization v0.1.9 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling nanoid v0.2.0 [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 flate2 v1.0.12 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.2 [INFO] [stderr] Compiling tokio-reactor v0.1.10 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling r2d2 v0.8.6 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.5 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling actix-server-config v0.1.2 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling bigdecimal v0.1.0 [INFO] [stderr] Compiling actix-utils v0.4.7 [INFO] [stderr] Compiling amq-protocol-uri v3.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 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 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 failure v0.1.6 [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 trust-dns-proto v0.7.4 [INFO] [stderr] Compiling trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling actix-threadpool v0.1.2 [INFO] [stderr] Compiling actix-rt v0.2.5 [INFO] [stderr] Compiling actix-connect v0.2.5 [INFO] [stderr] Compiling actix-server v0.6.1 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling actix-testing v0.1.0 [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 handlebars v2.0.2 [INFO] [stderr] Compiling amq-protocol-types v3.1.0 [INFO] [stderr] Compiling actix-http v0.2.11 [INFO] [stderr] Compiling diesel v1.4.3 [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 item '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 item '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 item '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 item '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 item '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 24s [INFO] running `Command { std: "docker" "inspect" "4c11b5fdedef3fc5c01d365212b1a57f8f8b53bdbe7348ddefdb8e1a689a0780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c11b5fdedef3fc5c01d365212b1a57f8f8b53bdbe7348ddefdb8e1a689a0780", kill_on_drop: false }` [INFO] [stdout] 4c11b5fdedef3fc5c01d365212b1a57f8f8b53bdbe7348ddefdb8e1a689a0780 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf44d8733829e5886ed5f5733772d286de1d1e203c380658e0615c346772c5a0 [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" "cf44d8733829e5886ed5f5733772d286de1d1e203c380658e0615c346772c5a0", 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 item '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 item '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 item '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 item '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 item '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 24.47s [INFO] running `Command { std: "docker" "inspect" "cf44d8733829e5886ed5f5733772d286de1d1e203c380658e0615c346772c5a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf44d8733829e5886ed5f5733772d286de1d1e203c380658e0615c346772c5a0", kill_on_drop: false }` [INFO] [stdout] cf44d8733829e5886ed5f5733772d286de1d1e203c380658e0615c346772c5a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d3d178ac3f6f5e64c087c7104ce0052d0d15cac527596cde0926aebddb8656c0 [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" "d3d178ac3f6f5e64c087c7104ce0052d0d15cac527596cde0926aebddb8656c0", 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 item '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 item '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 item '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 item '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 item '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.84s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/evaluations-7d1df832204ac176 [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test models::demographics::tests::country_name_instead_of_code ... ok [INFO] [stdout] test models::expression_parser::tests::valid_discount_code_or ... ok [INFO] [stdout] test models::demographics::tests::invalid_city_code ... ok [INFO] [stdout] test models::demographics::tests::city_name_instead_of_code ... ok [INFO] [stdout] test models::demographics::tests::invalid_country_code ... ok [INFO] [stdout] test models::demographics::tests::valid_data ... ok [INFO] [stdout] test models::expression_parser::tests::invalid_coupon_code ... ok [INFO] [stdout] test models::expression_parser::tests::invalid_discount_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::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: 0x564e2b557395 - backtrace::backtrace::libunwind::trace::h5e2646fa3eddf2ea [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x564e2b557395 - backtrace::backtrace::trace_unsynchronized::hb95dd7f77ce47877 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x564e2b557395 - std::sys_common::backtrace::_print_fmt::h5e71b67af43fd70d [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x564e2b557395 - ::fmt::hdb4a83d2b61107e5 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x564e2b580dfc - core::fmt::write::ha20e7262fa3e8a7a [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x564e2b422cb5 - std::io::Write::write_fmt::hd8ff364c7845d2d0 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/io/mod.rs:1537 [INFO] [stdout] 6: 0x564e2b551981 - std::io::impls::>::write_fmt::h1c057ef6e8762996 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x564e2b559af0 - std::sys_common::backtrace::_print::h9c07314cc66ba539 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x564e2b559af0 - std::sys_common::backtrace::print::hd1fd65f49a2d8544 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x564e2b559af0 - std::panicking::default_hook::{{closure}}::h222da46485ab36fc [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x564e2b5597ea - std::panicking::default_hook::hc5868949d129ed00 [INFO] [stdout] at src/libstd/panicking.rs:214 [INFO] [stdout] 11: 0x564e2b55a133 - std::panicking::rust_panic_with_hook::h26a6ab8b0993c0c8 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 12: 0x564e2b559d2b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:437 [INFO] [stdout] 13: 0x564e2b57f4e1 - core::panicking::panic_fmt::h17139c2000299725 [INFO] [stdout] at src/libcore/panicking.rs:85 [INFO] [stdout] 14: 0x564e2b57f303 - core::option::expect_none_failed::h972f96abb4ec8952 [INFO] [stdout] at src/libcore/option.rs:1269 [INFO] [stdout] 15: 0x564e2b41b380 - core::result::Result::unwrap::h79f7cafaf273ecab [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x564e2b4140ae - evaluations::models::promotion_repo::tests::crud_test::h25a434f6d6bd16da [INFO] [stdout] at src/models/promotion_repo.rs:130 [INFO] [stdout] 17: 0x564e2b41400a - evaluations::models::promotion_repo::tests::crud_test::{{closure}}::heba1af9fe83596b6 [INFO] [stdout] at src/models/promotion_repo.rs:128 [INFO] [stdout] 18: 0x564e2b3e6a8e - core::ops::function::FnOnce::call_once::hd8219b4163d6c055 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/ops/function.rs:233 [INFO] [stdout] 19: 0x564e2b44a22c - as core::ops::function::FnOnce>::call_once::h42148c33ed88c979 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 20: 0x564e2b44a22c - as core::ops::function::FnOnce<()>>::call_once::h759dc0b09d774665 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x564e2b44a22c - std::panicking::try::do_call::h676ad1fc9e9badea [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:348 [INFO] [stdout] 22: 0x564e2b44a22c - std::panicking::try::hee36a8727a3050b0 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:325 [INFO] [stdout] 23: 0x564e2b44a22c - std::panic::catch_unwind::hd5d426ebd89b2542 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x564e2b44a22c - test::run_test_in_process::h8dacdba4dc4cbaa5 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x564e2b44a22c - test::run_test::run_test_inner::{{closure}}::hf93754afad6be40f [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x564e2b4221a6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2c69fab544a90730 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x564e2b427235 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hcf302fafa60d80f2 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x564e2b427235 - as core::ops::function::FnOnce<()>>::call_once::h39ede710608e817e [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x564e2b427235 - std::panicking::try::do_call::hec0b4d2faa46fbf7 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:348 [INFO] [stdout] 30: 0x564e2b427235 - std::panicking::try::h0144ba3f2539803d [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:325 [INFO] [stdout] 31: 0x564e2b427235 - std::panic::catch_unwind::ha03e59eb589f857b [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x564e2b427235 - std::thread::Builder::spawn_unchecked::{{closure}}::hdeba34620a4a7a44 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x564e2b427235 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h552693dbb801eadd [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/ops/function.rs:233 [INFO] [stdout] 34: 0x564e2b5603da - as core::ops::function::FnOnce>::call_once::h61c24496ae624ac5 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 35: 0x564e2b5603da - as core::ops::function::FnOnce>::call_once::h89548957afa14049 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 36: 0x564e2b5603da - std::sys::unix::thread::Thread::new::thread_start::h73903fbbff5b990e [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7fdf20e2c609 - start_thread [INFO] [stdout] 38: 0x7fdf20d38103 - __clone [INFO] [stdout] 39: 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 [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin evaluations' [INFO] running `Command { std: "docker" "inspect" "d3d178ac3f6f5e64c087c7104ce0052d0d15cac527596cde0926aebddb8656c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3d178ac3f6f5e64c087c7104ce0052d0d15cac527596cde0926aebddb8656c0", kill_on_drop: false }` [INFO] [stdout] d3d178ac3f6f5e64c087c7104ce0052d0d15cac527596cde0926aebddb8656c0