[INFO] updating cached repository https://github.com/HeerKirov/BasicService [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d7a3c0b616d315370c5378871f681bf52dfc350 [INFO] testing HeerKirov/BasicService against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeerKirov%2FBasicService" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HeerKirov/BasicService on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HeerKirov/BasicService [INFO] finished tweaking git repo https://github.com/HeerKirov/BasicService [INFO] tweaked toml for git repo https://github.com/HeerKirov/BasicService written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b598c75adc89f2527692138d32ed729831b72de831efcc3923153f2468ca896 [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" "2b598c75adc89f2527692138d32ed729831b72de831efcc3923153f2468ca896", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b598c75adc89f2527692138d32ed729831b72de831efcc3923153f2468ca896", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b598c75adc89f2527692138d32ed729831b72de831efcc3923153f2468ca896", kill_on_drop: false }` [INFO] [stdout] 2b598c75adc89f2527692138d32ed729831b72de831efcc3923153f2468ca896 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91526209b1274b3336b83b74ffca33f20b8c659568984d148276b6aa45f2f53a [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" "91526209b1274b3336b83b74ffca33f20b8c659568984d148276b6aa45f2f53a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling fallible-iterator v0.1.6 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling tracing v0.1.18 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling twoway v0.2.1 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling crypto-mac v0.5.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling hmac v0.5.0 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling postgres-protocol v0.3.2 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling derive_more v0.99.9 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling actix-web-codegen v0.2.2 [INFO] [stderr] Compiling v_escape_derive v0.5.6 [INFO] [stderr] Compiling v_escape v0.7.4 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-server v1.0.3 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling postgres-shared v0.4.2 [INFO] [stderr] Compiling postgres v0.15.2 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling actix-cors v0.2.0 [INFO] [stderr] Compiling actix-multipart v0.2.0 [INFO] [stderr] Compiling actix-files v0.2.2 [INFO] [stderr] Compiling basic_service v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::verify_login` [INFO] [stdout] --> src/server/app.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::verify_login; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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/user.rs:68:69 [INFO] [stdout] | [INFO] [stdout] 68 | Err(e) => return HttpResponse::InternalServerError().body(e.description().to_string()) [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/user.rs:94:88 [INFO] [stdout] | [INFO] [stdout] 94 | if let Err(e) = image.close().convert() { return HttpResponse::BadRequest().body(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/user.rs:95:101 [INFO] [stdout] | [INFO] [stdout] 95 | if let Err(e) = image.move_to(&target_name) { return HttpResponse::InternalServerError().body(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/user.rs:100:67 [INFO] [stdout] | [INFO] [stdout] 100 | return HttpResponse::InternalServerError().body(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/user.rs:104:56 [INFO] [stdout] | [INFO] [stdout] 104 | HttpResponse::InternalServerError().body(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/mod.rs:72:152 [INFO] [stdout] | [INFO] [stdout] 72 | let token_model = match token_get(trans, &token) { Ok(token_model) => token_model, Err(e) => return Err(HttpResponse::InternalServerError().body(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/mod.rs:79:73 [INFO] [stdout] | [INFO] [stdout] 79 | Err(e) => return Err(HttpResponse::InternalServerError().body(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/mod.rs:83:153 [INFO] [stdout] | [INFO] [stdout] 83 | let user_model = match user_get(trans, user_id) { Ok(user_model) => user_model, Err(e) => return Err(HttpResponse::InternalServerError().body(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/register.rs:14:124 [INFO] [stdout] | [INFO] [stdout] 14 | let setting = match setting_get(trans) { Ok(ok) => ok, Err(e) => return HttpResponse::InternalServerError().body(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/register.rs:18:70 [INFO] [stdout] | [INFO] [stdout] 18 | Err(e) => HttpResponse::InternalServerError().body(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/register.rs:48:69 [INFO] [stdout] | [INFO] [stdout] 48 | Err(e) => return HttpResponse::InternalServerError().body(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/register.rs:54:59 [INFO] [stdout] | [INFO] [stdout] 54 | return HttpResponse::InternalServerError().body(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/register.rs:58:63 [INFO] [stdout] | [INFO] [stdout] 58 | return HttpResponse::InternalServerError().body(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/token.rs:21:74 [INFO] [stdout] | [INFO] [stdout] 21 | Err(e) => HttpResponse::InternalServerError().body(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/token.rs:33:66 [INFO] [stdout] | [INFO] [stdout] 33 | Err(e) => HttpResponse::InternalServerError().body(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/token.rs:42:66 [INFO] [stdout] | [INFO] [stdout] 42 | Err(e) => HttpResponse::InternalServerError().body(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/user.rs:22:66 [INFO] [stdout] | [INFO] [stdout] 22 | Err(e) => HttpResponse::InternalServerError().body(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/user.rs:40:66 [INFO] [stdout] | [INFO] [stdout] 40 | Err(e) => HttpResponse::InternalServerError().body(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/user.rs:55:66 [INFO] [stdout] | [INFO] [stdout] 55 | Err(e) => HttpResponse::InternalServerError().body(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/app.rs:10:66 [INFO] [stdout] | [INFO] [stdout] 10 | Err(e) => HttpResponse::InternalServerError().body(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/app.rs:20:66 [INFO] [stdout] | [INFO] [stdout] 20 | Err(e) => HttpResponse::InternalServerError().body(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/app_use.rs:14:66 [INFO] [stdout] | [INFO] [stdout] 14 | Err(e) => HttpResponse::InternalServerError().body(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/app_use.rs:28:66 [INFO] [stdout] | [INFO] [stdout] 28 | Err(e) => HttpResponse::InternalServerError().body(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/registration_code.rs:12:66 [INFO] [stdout] | [INFO] [stdout] 12 | Err(e) => HttpResponse::InternalServerError().body(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/registration_code.rs:21:66 [INFO] [stdout] | [INFO] [stdout] 21 | Err(e) => HttpResponse::InternalServerError().body(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/registration_code.rs:30:66 [INFO] [stdout] | [INFO] [stdout] 30 | Err(e) => HttpResponse::InternalServerError().body(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/registration_code.rs:40:66 [INFO] [stdout] | [INFO] [stdout] 40 | Err(e) => HttpResponse::InternalServerError().body(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/global_setting.rs:12:66 [INFO] [stdout] | [INFO] [stdout] 12 | Err(e) => HttpResponse::InternalServerError().body(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/global_setting.rs:22:66 [INFO] [stdout] | [INFO] [stdout] 22 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:15:66 [INFO] [stdout] | [INFO] [stdout] 15 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:36:73 [INFO] [stdout] | [INFO] [stdout] 36 | Err(e) => return HttpResponse::InternalServerError().body(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/user_management.rs:42:63 [INFO] [stdout] | [INFO] [stdout] 42 | return HttpResponse::InternalServerError().body(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/user_management.rs:47:66 [INFO] [stdout] | [INFO] [stdout] 47 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:55:66 [INFO] [stdout] | [INFO] [stdout] 55 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:66:73 [INFO] [stdout] | [INFO] [stdout] 66 | Err(e) => return HttpResponse::InternalServerError().body(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/user_management.rs:73:71 [INFO] [stdout] | [INFO] [stdout] 73 | return HttpResponse::InternalServerError().body(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/user_management.rs:77:70 [INFO] [stdout] | [INFO] [stdout] 77 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:92:66 [INFO] [stdout] | [INFO] [stdout] 92 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:14:66 [INFO] [stdout] | [INFO] [stdout] 14 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:29:73 [INFO] [stdout] | [INFO] [stdout] 29 | Err(e) => return HttpResponse::InternalServerError().body(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/app_management.rs:34:66 [INFO] [stdout] | [INFO] [stdout] 34 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:36:70 [INFO] [stdout] | [INFO] [stdout] 36 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:48:66 [INFO] [stdout] | [INFO] [stdout] 48 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:64:66 [INFO] [stdout] | [INFO] [stdout] 64 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:67:70 [INFO] [stdout] | [INFO] [stdout] 67 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:79:63 [INFO] [stdout] | [INFO] [stdout] 79 | return HttpResponse::InternalServerError().body(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/app_management.rs:82:66 [INFO] [stdout] | [INFO] [stdout] 82 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:92:66 [INFO] [stdout] | [INFO] [stdout] 92 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:102:66 [INFO] [stdout] | [INFO] [stdout] 102 | Err(e) => HttpResponse::InternalServerError().body(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/app_use_management.rs:12:66 [INFO] [stdout] | [INFO] [stdout] 12 | Err(e) => HttpResponse::InternalServerError().body(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/app_use_management.rs:23:66 [INFO] [stdout] | [INFO] [stdout] 23 | Err(e) => HttpResponse::InternalServerError().body(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/app_use_management.rs:35:66 [INFO] [stdout] | [INFO] [stdout] 35 | Err(e) => HttpResponse::InternalServerError().body(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/app_verify.rs:14:91 [INFO] [stdout] | [INFO] [stdout] 14 | Err(VerifyError::SQL(e)) => return HttpResponse::InternalServerError().body(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/app_verify.rs:20:73 [INFO] [stdout] | [INFO] [stdout] 20 | Err(e) => return HttpResponse::InternalServerError().body(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/app_verify.rs:26:66 [INFO] [stdout] | [INFO] [stdout] 26 | Err(e) => HttpResponse::InternalServerError().body(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/app_verify.rs:38:91 [INFO] [stdout] | [INFO] [stdout] 38 | Err(VerifyError::SQL(e)) => return HttpResponse::InternalServerError().body(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/app_verify.rs:44:66 [INFO] [stdout] | [INFO] [stdout] 44 | Err(e) => HttpResponse::InternalServerError().body(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/app_verify.rs:54:91 [INFO] [stdout] | [INFO] [stdout] 54 | Err(VerifyError::SQL(e)) => return HttpResponse::InternalServerError().body(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/app_verify.rs:60:73 [INFO] [stdout] | [INFO] [stdout] 60 | Err(e) => return HttpResponse::InternalServerError().body(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/app_verify.rs:65:66 [INFO] [stdout] | [INFO] [stdout] 65 | Err(e) => HttpResponse::InternalServerError().body(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/app_verify.rs:68:70 [INFO] [stdout] | [INFO] [stdout] 68 | Err(e) => HttpResponse::InternalServerError().body(e.description().to_string()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/server/app.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | fn list(req: HttpRequest) -> HttpResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/server/app.rs:16:40 [INFO] [stdout] | [INFO] [stdout] 16 | fn retrieve(app_id: web::Path, req: HttpRequest) -> HttpResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 09s [INFO] running `Command { std: "docker" "inspect" "91526209b1274b3336b83b74ffca33f20b8c659568984d148276b6aa45f2f53a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91526209b1274b3336b83b74ffca33f20b8c659568984d148276b6aa45f2f53a", kill_on_drop: false }` [INFO] [stdout] 91526209b1274b3336b83b74ffca33f20b8c659568984d148276b6aa45f2f53a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", 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] 37c5395e42b279216cd37400023b4e015efbf9bef56f2d067b2ee802e2ec80ca [INFO] running `Command { std: "docker" "start" "-a" "37c5395e42b279216cd37400023b4e015efbf9bef56f2d067b2ee802e2ec80ca", kill_on_drop: false }` [INFO] [stderr] Compiling basic_service v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::verify_login` [INFO] [stdout] --> src/server/app.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::verify_login; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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/user.rs:68:69 [INFO] [stdout] | [INFO] [stdout] 68 | Err(e) => return HttpResponse::InternalServerError().body(e.description().to_string()) [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/user.rs:94:88 [INFO] [stdout] | [INFO] [stdout] 94 | if let Err(e) = image.close().convert() { return HttpResponse::BadRequest().body(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/user.rs:95:101 [INFO] [stdout] | [INFO] [stdout] 95 | if let Err(e) = image.move_to(&target_name) { return HttpResponse::InternalServerError().body(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/user.rs:100:67 [INFO] [stdout] | [INFO] [stdout] 100 | return HttpResponse::InternalServerError().body(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/user.rs:104:56 [INFO] [stdout] | [INFO] [stdout] 104 | HttpResponse::InternalServerError().body(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/mod.rs:72:152 [INFO] [stdout] | [INFO] [stdout] 72 | let token_model = match token_get(trans, &token) { Ok(token_model) => token_model, Err(e) => return Err(HttpResponse::InternalServerError().body(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/mod.rs:79:73 [INFO] [stdout] | [INFO] [stdout] 79 | Err(e) => return Err(HttpResponse::InternalServerError().body(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/mod.rs:83:153 [INFO] [stdout] | [INFO] [stdout] 83 | let user_model = match user_get(trans, user_id) { Ok(user_model) => user_model, Err(e) => return Err(HttpResponse::InternalServerError().body(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/register.rs:14:124 [INFO] [stdout] | [INFO] [stdout] 14 | let setting = match setting_get(trans) { Ok(ok) => ok, Err(e) => return HttpResponse::InternalServerError().body(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/register.rs:18:70 [INFO] [stdout] | [INFO] [stdout] 18 | Err(e) => HttpResponse::InternalServerError().body(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/register.rs:48:69 [INFO] [stdout] | [INFO] [stdout] 48 | Err(e) => return HttpResponse::InternalServerError().body(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/register.rs:54:59 [INFO] [stdout] | [INFO] [stdout] 54 | return HttpResponse::InternalServerError().body(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/register.rs:58:63 [INFO] [stdout] | [INFO] [stdout] 58 | return HttpResponse::InternalServerError().body(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/token.rs:21:74 [INFO] [stdout] | [INFO] [stdout] 21 | Err(e) => HttpResponse::InternalServerError().body(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/token.rs:33:66 [INFO] [stdout] | [INFO] [stdout] 33 | Err(e) => HttpResponse::InternalServerError().body(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/token.rs:42:66 [INFO] [stdout] | [INFO] [stdout] 42 | Err(e) => HttpResponse::InternalServerError().body(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/user.rs:22:66 [INFO] [stdout] | [INFO] [stdout] 22 | Err(e) => HttpResponse::InternalServerError().body(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/user.rs:40:66 [INFO] [stdout] | [INFO] [stdout] 40 | Err(e) => HttpResponse::InternalServerError().body(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/user.rs:55:66 [INFO] [stdout] | [INFO] [stdout] 55 | Err(e) => HttpResponse::InternalServerError().body(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/app.rs:10:66 [INFO] [stdout] | [INFO] [stdout] 10 | Err(e) => HttpResponse::InternalServerError().body(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/app.rs:20:66 [INFO] [stdout] | [INFO] [stdout] 20 | Err(e) => HttpResponse::InternalServerError().body(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/app_use.rs:14:66 [INFO] [stdout] | [INFO] [stdout] 14 | Err(e) => HttpResponse::InternalServerError().body(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/app_use.rs:28:66 [INFO] [stdout] | [INFO] [stdout] 28 | Err(e) => HttpResponse::InternalServerError().body(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/registration_code.rs:12:66 [INFO] [stdout] | [INFO] [stdout] 12 | Err(e) => HttpResponse::InternalServerError().body(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/registration_code.rs:21:66 [INFO] [stdout] | [INFO] [stdout] 21 | Err(e) => HttpResponse::InternalServerError().body(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/registration_code.rs:30:66 [INFO] [stdout] | [INFO] [stdout] 30 | Err(e) => HttpResponse::InternalServerError().body(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/registration_code.rs:40:66 [INFO] [stdout] | [INFO] [stdout] 40 | Err(e) => HttpResponse::InternalServerError().body(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/global_setting.rs:12:66 [INFO] [stdout] | [INFO] [stdout] 12 | Err(e) => HttpResponse::InternalServerError().body(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/global_setting.rs:22:66 [INFO] [stdout] | [INFO] [stdout] 22 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:15:66 [INFO] [stdout] | [INFO] [stdout] 15 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:36:73 [INFO] [stdout] | [INFO] [stdout] 36 | Err(e) => return HttpResponse::InternalServerError().body(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/user_management.rs:42:63 [INFO] [stdout] | [INFO] [stdout] 42 | return HttpResponse::InternalServerError().body(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/user_management.rs:47:66 [INFO] [stdout] | [INFO] [stdout] 47 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:55:66 [INFO] [stdout] | [INFO] [stdout] 55 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:66:73 [INFO] [stdout] | [INFO] [stdout] 66 | Err(e) => return HttpResponse::InternalServerError().body(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/user_management.rs:73:71 [INFO] [stdout] | [INFO] [stdout] 73 | return HttpResponse::InternalServerError().body(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/user_management.rs:77:70 [INFO] [stdout] | [INFO] [stdout] 77 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:92:66 [INFO] [stdout] | [INFO] [stdout] 92 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:14:66 [INFO] [stdout] | [INFO] [stdout] 14 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:29:73 [INFO] [stdout] | [INFO] [stdout] 29 | Err(e) => return HttpResponse::InternalServerError().body(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/app_management.rs:34:66 [INFO] [stdout] | [INFO] [stdout] 34 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:36:70 [INFO] [stdout] | [INFO] [stdout] 36 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:48:66 [INFO] [stdout] | [INFO] [stdout] 48 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:64:66 [INFO] [stdout] | [INFO] [stdout] 64 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:67:70 [INFO] [stdout] | [INFO] [stdout] 67 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:79:63 [INFO] [stdout] | [INFO] [stdout] 79 | return HttpResponse::InternalServerError().body(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/app_management.rs:82:66 [INFO] [stdout] | [INFO] [stdout] 82 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:92:66 [INFO] [stdout] | [INFO] [stdout] 92 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:102:66 [INFO] [stdout] | [INFO] [stdout] 102 | Err(e) => HttpResponse::InternalServerError().body(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/app_use_management.rs:12:66 [INFO] [stdout] | [INFO] [stdout] 12 | Err(e) => HttpResponse::InternalServerError().body(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/app_use_management.rs:23:66 [INFO] [stdout] | [INFO] [stdout] 23 | Err(e) => HttpResponse::InternalServerError().body(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/app_use_management.rs:35:66 [INFO] [stdout] | [INFO] [stdout] 35 | Err(e) => HttpResponse::InternalServerError().body(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/app_verify.rs:14:91 [INFO] [stdout] | [INFO] [stdout] 14 | Err(VerifyError::SQL(e)) => return HttpResponse::InternalServerError().body(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/app_verify.rs:20:73 [INFO] [stdout] | [INFO] [stdout] 20 | Err(e) => return HttpResponse::InternalServerError().body(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/app_verify.rs:26:66 [INFO] [stdout] | [INFO] [stdout] 26 | Err(e) => HttpResponse::InternalServerError().body(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/app_verify.rs:38:91 [INFO] [stdout] | [INFO] [stdout] 38 | Err(VerifyError::SQL(e)) => return HttpResponse::InternalServerError().body(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/app_verify.rs:44:66 [INFO] [stdout] | [INFO] [stdout] 44 | Err(e) => HttpResponse::InternalServerError().body(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/app_verify.rs:54:91 [INFO] [stdout] | [INFO] [stdout] 54 | Err(VerifyError::SQL(e)) => return HttpResponse::InternalServerError().body(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/app_verify.rs:60:73 [INFO] [stdout] | [INFO] [stdout] 60 | Err(e) => return HttpResponse::InternalServerError().body(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/app_verify.rs:65:66 [INFO] [stdout] | [INFO] [stdout] 65 | Err(e) => HttpResponse::InternalServerError().body(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/app_verify.rs:68:70 [INFO] [stdout] | [INFO] [stdout] 68 | Err(e) => HttpResponse::InternalServerError().body(e.description().to_string()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/server/app.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | fn list(req: HttpRequest) -> HttpResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/server/app.rs:16:40 [INFO] [stdout] | [INFO] [stdout] 16 | fn retrieve(app_id: web::Path, req: HttpRequest) -> HttpResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::verify_login` [INFO] [stdout] --> src/server/app.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::verify_login; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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/user.rs:68:69 [INFO] [stdout] | [INFO] [stdout] 68 | Err(e) => return HttpResponse::InternalServerError().body(e.description().to_string()) [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/user.rs:94:88 [INFO] [stdout] | [INFO] [stdout] 94 | if let Err(e) = image.close().convert() { return HttpResponse::BadRequest().body(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/user.rs:95:101 [INFO] [stdout] | [INFO] [stdout] 95 | if let Err(e) = image.move_to(&target_name) { return HttpResponse::InternalServerError().body(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/user.rs:100:67 [INFO] [stdout] | [INFO] [stdout] 100 | return HttpResponse::InternalServerError().body(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/user.rs:104:56 [INFO] [stdout] | [INFO] [stdout] 104 | HttpResponse::InternalServerError().body(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/mod.rs:72:152 [INFO] [stdout] | [INFO] [stdout] 72 | let token_model = match token_get(trans, &token) { Ok(token_model) => token_model, Err(e) => return Err(HttpResponse::InternalServerError().body(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/mod.rs:79:73 [INFO] [stdout] | [INFO] [stdout] 79 | Err(e) => return Err(HttpResponse::InternalServerError().body(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/mod.rs:83:153 [INFO] [stdout] | [INFO] [stdout] 83 | let user_model = match user_get(trans, user_id) { Ok(user_model) => user_model, Err(e) => return Err(HttpResponse::InternalServerError().body(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/register.rs:14:124 [INFO] [stdout] | [INFO] [stdout] 14 | let setting = match setting_get(trans) { Ok(ok) => ok, Err(e) => return HttpResponse::InternalServerError().body(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/register.rs:18:70 [INFO] [stdout] | [INFO] [stdout] 18 | Err(e) => HttpResponse::InternalServerError().body(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/register.rs:48:69 [INFO] [stdout] | [INFO] [stdout] 48 | Err(e) => return HttpResponse::InternalServerError().body(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/register.rs:54:59 [INFO] [stdout] | [INFO] [stdout] 54 | return HttpResponse::InternalServerError().body(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/register.rs:58:63 [INFO] [stdout] | [INFO] [stdout] 58 | return HttpResponse::InternalServerError().body(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/token.rs:21:74 [INFO] [stdout] | [INFO] [stdout] 21 | Err(e) => HttpResponse::InternalServerError().body(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/token.rs:33:66 [INFO] [stdout] | [INFO] [stdout] 33 | Err(e) => HttpResponse::InternalServerError().body(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/token.rs:42:66 [INFO] [stdout] | [INFO] [stdout] 42 | Err(e) => HttpResponse::InternalServerError().body(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/user.rs:22:66 [INFO] [stdout] | [INFO] [stdout] 22 | Err(e) => HttpResponse::InternalServerError().body(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/user.rs:40:66 [INFO] [stdout] | [INFO] [stdout] 40 | Err(e) => HttpResponse::InternalServerError().body(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/user.rs:55:66 [INFO] [stdout] | [INFO] [stdout] 55 | Err(e) => HttpResponse::InternalServerError().body(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/app.rs:10:66 [INFO] [stdout] | [INFO] [stdout] 10 | Err(e) => HttpResponse::InternalServerError().body(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/app.rs:20:66 [INFO] [stdout] | [INFO] [stdout] 20 | Err(e) => HttpResponse::InternalServerError().body(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/app_use.rs:14:66 [INFO] [stdout] | [INFO] [stdout] 14 | Err(e) => HttpResponse::InternalServerError().body(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/app_use.rs:28:66 [INFO] [stdout] | [INFO] [stdout] 28 | Err(e) => HttpResponse::InternalServerError().body(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/registration_code.rs:12:66 [INFO] [stdout] | [INFO] [stdout] 12 | Err(e) => HttpResponse::InternalServerError().body(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/registration_code.rs:21:66 [INFO] [stdout] | [INFO] [stdout] 21 | Err(e) => HttpResponse::InternalServerError().body(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/registration_code.rs:30:66 [INFO] [stdout] | [INFO] [stdout] 30 | Err(e) => HttpResponse::InternalServerError().body(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/registration_code.rs:40:66 [INFO] [stdout] | [INFO] [stdout] 40 | Err(e) => HttpResponse::InternalServerError().body(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/global_setting.rs:12:66 [INFO] [stdout] | [INFO] [stdout] 12 | Err(e) => HttpResponse::InternalServerError().body(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/global_setting.rs:22:66 [INFO] [stdout] | [INFO] [stdout] 22 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:15:66 [INFO] [stdout] | [INFO] [stdout] 15 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:36:73 [INFO] [stdout] | [INFO] [stdout] 36 | Err(e) => return HttpResponse::InternalServerError().body(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/user_management.rs:42:63 [INFO] [stdout] | [INFO] [stdout] 42 | return HttpResponse::InternalServerError().body(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/user_management.rs:47:66 [INFO] [stdout] | [INFO] [stdout] 47 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:55:66 [INFO] [stdout] | [INFO] [stdout] 55 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:66:73 [INFO] [stdout] | [INFO] [stdout] 66 | Err(e) => return HttpResponse::InternalServerError().body(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/user_management.rs:73:71 [INFO] [stdout] | [INFO] [stdout] 73 | return HttpResponse::InternalServerError().body(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/user_management.rs:77:70 [INFO] [stdout] | [INFO] [stdout] 77 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:92:66 [INFO] [stdout] | [INFO] [stdout] 92 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:14:66 [INFO] [stdout] | [INFO] [stdout] 14 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:29:73 [INFO] [stdout] | [INFO] [stdout] 29 | Err(e) => return HttpResponse::InternalServerError().body(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/app_management.rs:34:66 [INFO] [stdout] | [INFO] [stdout] 34 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:36:70 [INFO] [stdout] | [INFO] [stdout] 36 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:48:66 [INFO] [stdout] | [INFO] [stdout] 48 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:64:66 [INFO] [stdout] | [INFO] [stdout] 64 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:67:70 [INFO] [stdout] | [INFO] [stdout] 67 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:79:63 [INFO] [stdout] | [INFO] [stdout] 79 | return HttpResponse::InternalServerError().body(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/app_management.rs:82:66 [INFO] [stdout] | [INFO] [stdout] 82 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:92:66 [INFO] [stdout] | [INFO] [stdout] 92 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:102:66 [INFO] [stdout] | [INFO] [stdout] 102 | Err(e) => HttpResponse::InternalServerError().body(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/app_use_management.rs:12:66 [INFO] [stdout] | [INFO] [stdout] 12 | Err(e) => HttpResponse::InternalServerError().body(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/app_use_management.rs:23:66 [INFO] [stdout] | [INFO] [stdout] 23 | Err(e) => HttpResponse::InternalServerError().body(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/app_use_management.rs:35:66 [INFO] [stdout] | [INFO] [stdout] 35 | Err(e) => HttpResponse::InternalServerError().body(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/app_verify.rs:14:91 [INFO] [stdout] | [INFO] [stdout] 14 | Err(VerifyError::SQL(e)) => return HttpResponse::InternalServerError().body(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/app_verify.rs:20:73 [INFO] [stdout] | [INFO] [stdout] 20 | Err(e) => return HttpResponse::InternalServerError().body(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/app_verify.rs:26:66 [INFO] [stdout] | [INFO] [stdout] 26 | Err(e) => HttpResponse::InternalServerError().body(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/app_verify.rs:38:91 [INFO] [stdout] | [INFO] [stdout] 38 | Err(VerifyError::SQL(e)) => return HttpResponse::InternalServerError().body(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/app_verify.rs:44:66 [INFO] [stdout] | [INFO] [stdout] 44 | Err(e) => HttpResponse::InternalServerError().body(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/app_verify.rs:54:91 [INFO] [stdout] | [INFO] [stdout] 54 | Err(VerifyError::SQL(e)) => return HttpResponse::InternalServerError().body(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/app_verify.rs:60:73 [INFO] [stdout] | [INFO] [stdout] 60 | Err(e) => return HttpResponse::InternalServerError().body(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/app_verify.rs:65:66 [INFO] [stdout] | [INFO] [stdout] 65 | Err(e) => HttpResponse::InternalServerError().body(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/app_verify.rs:68:70 [INFO] [stdout] | [INFO] [stdout] 68 | Err(e) => HttpResponse::InternalServerError().body(e.description().to_string()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/server/app.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | fn list(req: HttpRequest) -> HttpResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/server/app.rs:16:40 [INFO] [stdout] | [INFO] [stdout] 16 | fn retrieve(app_id: web::Path, req: HttpRequest) -> HttpResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.34s [INFO] running `Command { std: "docker" "inspect" "37c5395e42b279216cd37400023b4e015efbf9bef56f2d067b2ee802e2ec80ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37c5395e42b279216cd37400023b4e015efbf9bef56f2d067b2ee802e2ec80ca", kill_on_drop: false }` [INFO] [stdout] 37c5395e42b279216cd37400023b4e015efbf9bef56f2d067b2ee802e2ec80ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e2ea60fdeec66c639ec1273fe52c20e0b1e15b3c7ab1ab018db8b9185ef8bf44 [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" "e2ea60fdeec66c639ec1273fe52c20e0b1e15b3c7ab1ab018db8b9185ef8bf44", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `super::verify_login` [INFO] [stderr] --> src/server/app.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use super::verify_login; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` 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/user.rs:68:69 [INFO] [stderr] | [INFO] [stderr] 68 | Err(e) => return HttpResponse::InternalServerError().body(e.description().to_string()) [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/user.rs:94:88 [INFO] [stderr] | [INFO] [stderr] 94 | if let Err(e) = image.close().convert() { return HttpResponse::BadRequest().body(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/user.rs:95:101 [INFO] [stderr] | [INFO] [stderr] 95 | if let Err(e) = image.move_to(&target_name) { return HttpResponse::InternalServerError().body(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/user.rs:100:67 [INFO] [stderr] | [INFO] [stderr] 100 | return HttpResponse::InternalServerError().body(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/user.rs:104:56 [INFO] [stderr] | [INFO] [stderr] 104 | HttpResponse::InternalServerError().body(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/mod.rs:72:152 [INFO] [stderr] | [INFO] [stderr] 72 | let token_model = match token_get(trans, &token) { Ok(token_model) => token_model, Err(e) => return Err(HttpResponse::InternalServerError().body(e.description().to_string())) }; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::verify_login` [INFO] [stderr] --> src/server/app.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use super::verify_login; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` 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/mod.rs:79:73 [INFO] [stderr] | [INFO] [stderr] 79 | Err(e) => return Err(HttpResponse::InternalServerError().body(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/user.rs:68:69 [INFO] [stderr] | [INFO] [stderr] 68 | Err(e) => return HttpResponse::InternalServerError().body(e.description().to_string()) [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/mod.rs:83:153 [INFO] [stderr] | [INFO] [stderr] 83 | let user_model = match user_get(trans, user_id) { Ok(user_model) => user_model, Err(e) => return Err(HttpResponse::InternalServerError().body(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/user.rs:94:88 [INFO] [stderr] | [INFO] [stderr] 94 | if let Err(e) = image.close().convert() { return HttpResponse::BadRequest().body(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/register.rs:14:124 [INFO] [stderr] | [INFO] [stderr] 14 | let setting = match setting_get(trans) { Ok(ok) => ok, Err(e) => return HttpResponse::InternalServerError().body(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/user.rs:95:101 [INFO] [stderr] | [INFO] [stderr] 95 | if let Err(e) = image.move_to(&target_name) { return HttpResponse::InternalServerError().body(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/register.rs:18:70 [INFO] [stderr] | [INFO] [stderr] 18 | Err(e) => HttpResponse::InternalServerError().body(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/user.rs:100:67 [INFO] [stderr] | [INFO] [stderr] 100 | return HttpResponse::InternalServerError().body(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/register.rs:48:69 [INFO] [stderr] | [INFO] [stderr] 48 | Err(e) => return HttpResponse::InternalServerError().body(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/user.rs:104:56 [INFO] [stderr] | [INFO] [stderr] 104 | HttpResponse::InternalServerError().body(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/register.rs:54:59 [INFO] [stderr] | [INFO] [stderr] 54 | return HttpResponse::InternalServerError().body(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/mod.rs:72:152 [INFO] [stderr] | [INFO] [stderr] 72 | let token_model = match token_get(trans, &token) { Ok(token_model) => token_model, Err(e) => return Err(HttpResponse::InternalServerError().body(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/register.rs:58:63 [INFO] [stderr] | [INFO] [stderr] 58 | return HttpResponse::InternalServerError().body(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/mod.rs:79:73 [INFO] [stderr] | [INFO] [stderr] 79 | Err(e) => return Err(HttpResponse::InternalServerError().body(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/token.rs:21:74 [INFO] [stderr] | [INFO] [stderr] 21 | Err(e) => HttpResponse::InternalServerError().body(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/token.rs:33:66 [INFO] [stderr] | [INFO] [stderr] 33 | Err(e) => HttpResponse::InternalServerError().body(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/mod.rs:83:153 [INFO] [stderr] | [INFO] [stderr] 83 | let user_model = match user_get(trans, user_id) { Ok(user_model) => user_model, Err(e) => return Err(HttpResponse::InternalServerError().body(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/token.rs:42:66 [INFO] [stderr] | [INFO] [stderr] 42 | Err(e) => HttpResponse::InternalServerError().body(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/register.rs:14:124 [INFO] [stderr] | [INFO] [stderr] 14 | let setting = match setting_get(trans) { Ok(ok) => ok, Err(e) => return HttpResponse::InternalServerError().body(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/user.rs:22:66 [INFO] [stderr] | [INFO] [stderr] 22 | Err(e) => HttpResponse::InternalServerError().body(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/register.rs:18:70 [INFO] [stderr] | [INFO] [stderr] 18 | Err(e) => HttpResponse::InternalServerError().body(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/user.rs:40:66 [INFO] [stderr] | [INFO] [stderr] 40 | Err(e) => HttpResponse::InternalServerError().body(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/register.rs:48:69 [INFO] [stderr] | [INFO] [stderr] 48 | Err(e) => return HttpResponse::InternalServerError().body(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/user.rs:55:66 [INFO] [stderr] | [INFO] [stderr] 55 | Err(e) => HttpResponse::InternalServerError().body(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/register.rs:54:59 [INFO] [stderr] | [INFO] [stderr] 54 | return HttpResponse::InternalServerError().body(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/app.rs:10:66 [INFO] [stderr] | [INFO] [stderr] 10 | Err(e) => HttpResponse::InternalServerError().body(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/register.rs:58:63 [INFO] [stderr] | [INFO] [stderr] 58 | return HttpResponse::InternalServerError().body(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/app.rs:20:66 [INFO] [stderr] | [INFO] [stderr] 20 | Err(e) => HttpResponse::InternalServerError().body(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/token.rs:21:74 [INFO] [stderr] | [INFO] [stderr] 21 | Err(e) => HttpResponse::InternalServerError().body(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/app_use.rs:14:66 [INFO] [stderr] | [INFO] [stderr] 14 | Err(e) => HttpResponse::InternalServerError().body(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/token.rs:33:66 [INFO] [stderr] | [INFO] [stderr] 33 | Err(e) => HttpResponse::InternalServerError().body(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/app_use.rs:28:66 [INFO] [stderr] | [INFO] [stderr] 28 | Err(e) => HttpResponse::InternalServerError().body(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/token.rs:42:66 [INFO] [stderr] | [INFO] [stderr] 42 | Err(e) => HttpResponse::InternalServerError().body(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/registration_code.rs:12:66 [INFO] [stderr] | [INFO] [stderr] 12 | Err(e) => HttpResponse::InternalServerError().body(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/user.rs:22:66 [INFO] [stderr] | [INFO] [stderr] 22 | Err(e) => HttpResponse::InternalServerError().body(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/registration_code.rs:21:66 [INFO] [stderr] | [INFO] [stderr] 21 | Err(e) => HttpResponse::InternalServerError().body(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/user.rs:40:66 [INFO] [stderr] | [INFO] [stderr] 40 | Err(e) => HttpResponse::InternalServerError().body(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/registration_code.rs:30:66 [INFO] [stderr] | [INFO] [stderr] 30 | Err(e) => HttpResponse::InternalServerError().body(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/user.rs:55:66 [INFO] [stderr] | [INFO] [stderr] 55 | Err(e) => HttpResponse::InternalServerError().body(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/registration_code.rs:40:66 [INFO] [stderr] | [INFO] [stderr] 40 | Err(e) => HttpResponse::InternalServerError().body(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/app.rs:10:66 [INFO] [stderr] | [INFO] [stderr] 10 | Err(e) => HttpResponse::InternalServerError().body(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/app.rs:20:66 [INFO] [stderr] | [INFO] [stderr] 20 | Err(e) => HttpResponse::InternalServerError().body(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/global_setting.rs:12:66 [INFO] [stderr] | [INFO] [stderr] 12 | Err(e) => HttpResponse::InternalServerError().body(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/app_use.rs:14:66 [INFO] [stderr] | [INFO] [stderr] 14 | Err(e) => HttpResponse::InternalServerError().body(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/global_setting.rs:22:66 [INFO] [stderr] | [INFO] [stderr] 22 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:15:66 [INFO] [stderr] | [INFO] [stderr] 15 | Err(e) => HttpResponse::InternalServerError().body(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/app_use.rs:28:66 [INFO] [stderr] | [INFO] [stderr] 28 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:36:73 [INFO] [stderr] | [INFO] [stderr] 36 | Err(e) => return HttpResponse::InternalServerError().body(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/registration_code.rs:12:66 [INFO] [stderr] | [INFO] [stderr] 12 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:42:63 [INFO] [stderr] | [INFO] [stderr] 42 | return HttpResponse::InternalServerError().body(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/registration_code.rs:21:66 [INFO] [stderr] | [INFO] [stderr] 21 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:47:66 [INFO] [stderr] | [INFO] [stderr] 47 | Err(e) => HttpResponse::InternalServerError().body(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/registration_code.rs:30:66 [INFO] [stderr] | [INFO] [stderr] 30 | Err(e) => HttpResponse::InternalServerError().body(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/registration_code.rs:40:66 [INFO] [stderr] | [INFO] [stderr] 40 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:55:66 [INFO] [stderr] | [INFO] [stderr] 55 | Err(e) => HttpResponse::InternalServerError().body(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/global_setting.rs:12:66 [INFO] [stderr] | [INFO] [stderr] 12 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:66:73 [INFO] [stderr] | [INFO] [stderr] 66 | Err(e) => return HttpResponse::InternalServerError().body(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/global_setting.rs:22:66 [INFO] [stderr] | [INFO] [stderr] 22 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:73:71 [INFO] [stderr] | [INFO] [stderr] 73 | return HttpResponse::InternalServerError().body(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/user_management.rs:15:66 [INFO] [stderr] | [INFO] [stderr] 15 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:77:70 [INFO] [stderr] | [INFO] [stderr] 77 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:36:73 [INFO] [stderr] | [INFO] [stderr] 36 | Err(e) => return HttpResponse::InternalServerError().body(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/user_management.rs:92:66 [INFO] [stderr] | [INFO] [stderr] 92 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:42:63 [INFO] [stderr] | [INFO] [stderr] 42 | return HttpResponse::InternalServerError().body(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/app_management.rs:14:66 [INFO] [stderr] | [INFO] [stderr] 14 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:47:66 [INFO] [stderr] | [INFO] [stderr] 47 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:29:73 [INFO] [stderr] | [INFO] [stderr] 29 | Err(e) => return HttpResponse::InternalServerError().body(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/app_management.rs:34:66 [INFO] [stderr] | [INFO] [stderr] 34 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:55:66 [INFO] [stderr] | [INFO] [stderr] 55 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:36:70 [INFO] [stderr] | [INFO] [stderr] 36 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:66:73 [INFO] [stderr] | [INFO] [stderr] 66 | Err(e) => return HttpResponse::InternalServerError().body(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/app_management.rs:48:66 [INFO] [stderr] | [INFO] [stderr] 48 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:73:71 [INFO] [stderr] | [INFO] [stderr] 73 | return HttpResponse::InternalServerError().body(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/app_management.rs:64:66 [INFO] [stderr] | [INFO] [stderr] 64 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:77:70 [INFO] [stderr] | [INFO] [stderr] 77 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:67:70 [INFO] [stderr] | [INFO] [stderr] 67 | Err(e) => HttpResponse::InternalServerError().body(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/user_management.rs:92:66 [INFO] [stderr] | [INFO] [stderr] 92 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:79:63 [INFO] [stderr] | [INFO] [stderr] 79 | return HttpResponse::InternalServerError().body(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/app_management.rs:14:66 [INFO] [stderr] | [INFO] [stderr] 14 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:82:66 [INFO] [stderr] | [INFO] [stderr] 82 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:92:66 [INFO] [stderr] | [INFO] [stderr] 92 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:29:73 [INFO] [stderr] | [INFO] [stderr] 29 | Err(e) => return HttpResponse::InternalServerError().body(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/app_management.rs:102:66 [INFO] [stderr] | [INFO] [stderr] 102 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:34:66 [INFO] [stderr] | [INFO] [stderr] 34 | Err(e) => HttpResponse::InternalServerError().body(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/app_use_management.rs:12:66 [INFO] [stderr] | [INFO] [stderr] 12 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:36:70 [INFO] [stderr] | [INFO] [stderr] 36 | Err(e) => HttpResponse::InternalServerError().body(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/app_use_management.rs:23:66 [INFO] [stderr] | [INFO] [stderr] 23 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:48:66 [INFO] [stderr] | [INFO] [stderr] 48 | Err(e) => HttpResponse::InternalServerError().body(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/app_use_management.rs:35:66 [INFO] [stderr] | [INFO] [stderr] 35 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:64:66 [INFO] [stderr] | [INFO] [stderr] 64 | Err(e) => HttpResponse::InternalServerError().body(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/app_verify.rs:14:91 [INFO] [stderr] | [INFO] [stderr] 14 | Err(VerifyError::SQL(e)) => return HttpResponse::InternalServerError().body(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/app_management.rs:67:70 [INFO] [stderr] | [INFO] [stderr] 67 | Err(e) => HttpResponse::InternalServerError().body(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/app_verify.rs:20:73 [INFO] [stderr] | [INFO] [stderr] 20 | Err(e) => return HttpResponse::InternalServerError().body(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/app_verify.rs:26:66 [INFO] [stderr] | [INFO] [stderr] 26 | Err(e) => HttpResponse::InternalServerError().body(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/app_verify.rs:38:91 [INFO] [stderr] | [INFO] [stderr] 38 | Err(VerifyError::SQL(e)) => return HttpResponse::InternalServerError().body(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/app_verify.rs:44:66 [INFO] [stderr] | [INFO] [stderr] 44 | Err(e) => HttpResponse::InternalServerError().body(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/app_verify.rs:54:91 [INFO] [stderr] | [INFO] [stderr] 54 | Err(VerifyError::SQL(e)) => return HttpResponse::InternalServerError().body(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/app_verify.rs:60:73 [INFO] [stderr] | [INFO] [stderr] 60 | Err(e) => return HttpResponse::InternalServerError().body(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/app_verify.rs:65:66 [INFO] [stderr] | [INFO] [stderr] 65 | Err(e) => HttpResponse::InternalServerError().body(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/app_verify.rs:68:70 [INFO] [stderr] | [INFO] [stderr] 68 | Err(e) => HttpResponse::InternalServerError().body(e.description().to_string()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/server/app.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | fn list(req: HttpRequest) -> HttpResponse { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/server/app.rs:16:40 [INFO] [stderr] | [INFO] [stderr] 16 | fn retrieve(app_id: web::Path, req: HttpRequest) -> HttpResponse { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: 64 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/server/app_management.rs:79:63 [INFO] [stderr] | [INFO] [stderr] 79 | return HttpResponse::InternalServerError().body(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/app_management.rs:82:66 [INFO] [stderr] | [INFO] [stderr] 82 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:92:66 [INFO] [stderr] | [INFO] [stderr] 92 | Err(e) => HttpResponse::InternalServerError().body(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/app_management.rs:102:66 [INFO] [stderr] | [INFO] [stderr] 102 | Err(e) => HttpResponse::InternalServerError().body(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/app_use_management.rs:12:66 [INFO] [stderr] | [INFO] [stderr] 12 | Err(e) => HttpResponse::InternalServerError().body(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/app_use_management.rs:23:66 [INFO] [stderr] | [INFO] [stderr] 23 | Err(e) => HttpResponse::InternalServerError().body(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/app_use_management.rs:35:66 [INFO] [stderr] | [INFO] [stderr] 35 | Err(e) => HttpResponse::InternalServerError().body(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/app_verify.rs:14:91 [INFO] [stderr] | [INFO] [stderr] 14 | Err(VerifyError::SQL(e)) => return HttpResponse::InternalServerError().body(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/app_verify.rs:20:73 [INFO] [stderr] | [INFO] [stderr] 20 | Err(e) => return HttpResponse::InternalServerError().body(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/app_verify.rs:26:66 [INFO] [stderr] | [INFO] [stderr] 26 | Err(e) => HttpResponse::InternalServerError().body(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/app_verify.rs:38:91 [INFO] [stderr] | [INFO] [stderr] 38 | Err(VerifyError::SQL(e)) => return HttpResponse::InternalServerError().body(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/app_verify.rs:44:66 [INFO] [stderr] | [INFO] [stderr] 44 | Err(e) => HttpResponse::InternalServerError().body(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/app_verify.rs:54:91 [INFO] [stderr] | [INFO] [stderr] 54 | Err(VerifyError::SQL(e)) => return HttpResponse::InternalServerError().body(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/app_verify.rs:60:73 [INFO] [stderr] | [INFO] [stderr] 60 | Err(e) => return HttpResponse::InternalServerError().body(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/app_verify.rs:65:66 [INFO] [stderr] | [INFO] [stderr] 65 | Err(e) => HttpResponse::InternalServerError().body(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/app_verify.rs:68:70 [INFO] [stderr] | [INFO] [stderr] 68 | Err(e) => HttpResponse::InternalServerError().body(e.description().to_string()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/server/app.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | fn list(req: HttpRequest) -> HttpResponse { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/server/app.rs:16:40 [INFO] [stderr] | [INFO] [stderr] 16 | fn retrieve(app_id: web::Path, req: HttpRequest) -> HttpResponse { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: 64 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.67s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/basic_service-1452e221fbd4d00c [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/basic_service-91a2623e84eb1a95 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests basic_service [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e2ea60fdeec66c639ec1273fe52c20e0b1e15b3c7ab1ab018db8b9185ef8bf44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2ea60fdeec66c639ec1273fe52c20e0b1e15b3c7ab1ab018db8b9185ef8bf44", kill_on_drop: false }` [INFO] [stdout] e2ea60fdeec66c639ec1273fe52c20e0b1e15b3c7ab1ab018db8b9185ef8bf44