[INFO] cloning repository https://github.com/meowjesty/hello-actix [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/meowjesty/hello-actix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeowjesty%2Fhello-actix", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeowjesty%2Fhello-actix'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 13868e22a149ae26452d930d13fa0c72dcc4d98b [INFO] checking meowjesty/hello-actix against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeowjesty%2Fhello-actix" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/meowjesty/hello-actix on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/meowjesty/hello-actix [INFO] finished tweaking git repo https://github.com/meowjesty/hello-actix [INFO] tweaked toml for git repo https://github.com/meowjesty/hello-actix written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/meowjesty/hello-actix already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 161f10bda3a7855685c332240a2ec3172b3e1a652bfda55e5061528d7f082049 [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" "161f10bda3a7855685c332240a2ec3172b3e1a652bfda55e5061528d7f082049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "161f10bda3a7855685c332240a2ec3172b3e1a652bfda55e5061528d7f082049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "161f10bda3a7855685c332240a2ec3172b3e1a652bfda55e5061528d7f082049", kill_on_drop: false }` [INFO] [stdout] 161f10bda3a7855685c332240a2ec3172b3e1a652bfda55e5061528d7f082049 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d6ef6661162e9aee0840dd880db612b0e904811f43b94f48bfc0580d7e9dba5 [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" "6d6ef6661162e9aee0840dd880db612b0e904811f43b94f48bfc0580d7e9dba5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling const_fn v0.4.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Checking local-waker v0.1.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking cpufeatures v0.1.1 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling cookie v0.15.0 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking actix-utils v3.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libsqlite3-sys v0.22.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking actix-service v2.0.0 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Checking lexical-core v0.7.6 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling regex v1.5.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking sha2 v0.9.4 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking sqlformat v0.1.6 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-stream v0.1.5 [INFO] [stderr] Checking actix-codec v0.4.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling actix-macros v0.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling derive_more v0.99.13 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-beta.2 [INFO] [stderr] Checking actix-rt v2.2.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking sqlx-rt v0.5.2 [INFO] [stderr] Checking actix-server v2.0.0-beta.5 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking actix-tls v3.0.0-beta.5 [INFO] [stderr] Checking local-channel v0.1.2 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking sqlx-core v0.5.2 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking actix-http v3.0.0-beta.6 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Compiling sqlx-macros v0.5.2 [INFO] [stderr] Checking actix-web v4.0.0-beta.6 [INFO] [stderr] Checking sqlx v0.5.2 [INFO] [stderr] Checking hello-actix v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/model.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{Error, HttpRequest, HttpResponse, Responder}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ready`, `ready` [INFO] [stdout] --> src/model.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::future::{ready, Ready}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/model.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{Error, HttpRequest, HttpResponse, Responder}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ready`, `ready` [INFO] [stdout] --> src/model.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::future::{ready, Ready}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anyhow::Error: _::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/routes.rs:18:49 [INFO] [stdout] | [INFO] [stdout] 18 | let response = serde_json::to_string_pretty(&todos).unwrap(); [INFO] [stdout] | ^^^^^^ the trait `_::_serde::Serialize` is not implemented for `anyhow::Error` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.64/src/ser.rs:2240:17 [INFO] [stdout] | [INFO] [stdout] 2240 | T: ?Sized + Serialize, [INFO] [stdout] | --------- required by this bound in `to_string_pretty` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `_::_serde::Serialize` for `Result, anyhow::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anyhow::Error: _::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/routes.rs:18:49 [INFO] [stdout] | [INFO] [stdout] 18 | let response = serde_json::to_string_pretty(&todos).unwrap(); [INFO] [stdout] | ^^^^^^ the trait `_::_serde::Serialize` is not implemented for `anyhow::Error` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.64/src/ser.rs:2240:17 [INFO] [stdout] | [INFO] [stdout] 2240 | T: ?Sized + Serialize, [INFO] [stdout] | --------- required by this bound in `to_string_pretty` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `_::_serde::Serialize` for `Result, anyhow::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anyhow::Error: _::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/routes.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 25 | let response = serde_json::to_string_pretty(&todos).unwrap(); [INFO] [stdout] | ^^^^^^ the trait `_::_serde::Serialize` is not implemented for `anyhow::Error` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.64/src/ser.rs:2240:17 [INFO] [stdout] | [INFO] [stdout] 2240 | T: ?Sized + Serialize, [INFO] [stdout] | --------- required by this bound in `to_string_pretty` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `_::_serde::Serialize` for `Result, anyhow::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anyhow::Error: _::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/routes.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 25 | let response = serde_json::to_string_pretty(&todos).unwrap(); [INFO] [stdout] | ^^^^^^ the trait `_::_serde::Serialize` is not implemented for `anyhow::Error` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.64/src/ser.rs:2240:17 [INFO] [stdout] | [INFO] [stdout] 2240 | T: ?Sized + Serialize, [INFO] [stdout] | --------- required by this bound in `to_string_pretty` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `_::_serde::Serialize` for `Result, anyhow::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anyhow::Error: ResponseError` is not satisfied [INFO] [stdout] --> src/routes.rs:30:84 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) async fn find_by_id(pool: web::Data, id: web::Path) -> impl Responder { [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `ResponseError` is not implemented for `anyhow::Error` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `From` for `actix_web::Error` [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `anyhow::Error` [INFO] [stdout] = note: required because of the requirements on the impl of `Responder` for `Result, anyhow::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anyhow::Error: ResponseError` is not satisfied [INFO] [stdout] --> src/routes.rs:30:84 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) async fn find_by_id(pool: web::Data, id: web::Path) -> impl Responder { [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `ResponseError` is not implemented for `anyhow::Error` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `From` for `actix_web::Error` [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `anyhow::Error` [INFO] [stdout] = note: required because of the requirements on the impl of `Responder` for `Result, anyhow::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_string` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/routes.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | response.to_string() [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: std::fmt::Display` [INFO] [stdout] which is required by `Result: ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_string` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/routes.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | response.to_string() [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: std::fmt::Display` [INFO] [stdout] which is required by `Result: ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_string` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/routes.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | response.to_string() [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: std::fmt::Display` [INFO] [stdout] which is required by `Result: ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_string` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/routes.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | response.to_string() [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: std::fmt::Display` [INFO] [stdout] which is required by `Result: ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_string` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/routes.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | response.to_string() [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: std::fmt::Display` [INFO] [stdout] which is required by `Result: ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_string` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/routes.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | response.to_string() [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: std::fmt::Display` [INFO] [stdout] which is required by `Result: ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_string` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/routes.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | response.to_string() [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: std::fmt::Display` [INFO] [stdout] which is required by `Result: ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_string` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/routes.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | response.to_string() [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: std::fmt::Display` [INFO] [stdout] which is required by `Result: ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_string` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/routes.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | response.to_string() [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: std::fmt::Display` [INFO] [stdout] which is required by `Result: ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_string` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/routes.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | response.to_string() [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: std::fmt::Display` [INFO] [stdout] which is required by `Result: ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(actix_web::web::Data>) -> impl futures::Future {::register::index}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/routes.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) async fn index(pool: web::Data) -> Result { [INFO] [stdout] | ^^^^^ the trait `Handler<_, _>` is not implemented for `fn(actix_web::web::Data>) -> impl futures::Future {::register::index}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello-actix` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `fn(actix_web::web::Data>) -> impl futures::Future {::register::index}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/routes.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) async fn index(pool: web::Data) -> Result { [INFO] [stdout] | ^^^^^ the trait `Handler<_, _>` is not implemented for `fn(actix_web::web::Data>) -> impl futures::Future {::register::index}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6d6ef6661162e9aee0840dd880db612b0e904811f43b94f48bfc0580d7e9dba5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d6ef6661162e9aee0840dd880db612b0e904811f43b94f48bfc0580d7e9dba5", kill_on_drop: false }` [INFO] [stdout] 6d6ef6661162e9aee0840dd880db612b0e904811f43b94f48bfc0580d7e9dba5