[INFO] cloning repository https://github.com/jneumann/my-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jneumann/my-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjneumann%2Fmy-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjneumann%2Fmy-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e89896c7173de7077a9d8a2c33cdf099996a8809 [INFO] testing jneumann/my-api against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjneumann%2Fmy-api" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jneumann/my-api on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jneumann/my-api [INFO] finished tweaking git repo https://github.com/jneumann/my-api [INFO] tweaked toml for git repo https://github.com/jneumann/my-api written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/jneumann/my-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scheduled-thread-pool v0.2.5 [INFO] [stderr] Downloaded r2d2 v0.8.9 [INFO] [stderr] Downloaded utf-8 v0.7.6 [INFO] [stderr] Downloaded diesel v1.4.6 [INFO] [stderr] Downloaded headers v0.3.4 [INFO] [stderr] Downloaded jsonwebtoken v7.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e22f87f6bb960da8a3204e930ecca265c9b82914535e53e5f8364c04febb9f4 [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" "5e22f87f6bb960da8a3204e930ecca265c9b82914535e53e5f8364c04febb9f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e22f87f6bb960da8a3204e930ecca265c9b82914535e53e5f8364c04febb9f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e22f87f6bb960da8a3204e930ecca265c9b82914535e53e5f8364c04febb9f4", kill_on_drop: false }` [INFO] [stdout] 5e22f87f6bb960da8a3204e930ecca265c9b82914535e53e5f8364c04febb9f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74fbe9f9e03af73e9f00f8f2eaf5ecf2eaccfe6e3a495faf0aa74e813b2305e4 [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" "74fbe9f9e03af73e9f00f8f2eaf5ecf2eaccfe6e3a495faf0aa74e813b2305e4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling urlencoding v1.1.1 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling headers v0.3.4 [INFO] [stderr] Compiling futures v0.3.14 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling multipart v0.17.1 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.11.0 [INFO] [stderr] Compiling diesel v1.4.6 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling warp v0.2.5 [INFO] [stderr] Compiling my_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `title` in module `posts` [INFO] [stdout] --> src/models.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub title: String, [INFO] [stdout] | ^^^^^ not found in `posts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `body` in module `posts` [INFO] [stdout] --> src/models.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub body: String, [INFO] [stdout] | ^^^^ not found in `posts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `title` in module `posts` [INFO] [stdout] --> src/models.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub title: String, [INFO] [stdout] | ^^^^^ not found in `posts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `body` in module `posts` [INFO] [stdout] --> src/models.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub body: String, [INFO] [stdout] | ^^^^ not found in `posts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `title` in this scope [INFO] [stdout] --> src/routes/post.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | title.eq(req.title), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `body` in this scope [INFO] [stdout] --> src/routes/post.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | body.eq(req.body) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bool: FromSql, _>` is not satisfied [INFO] [stdout] --> src/routes/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | .load::(&db_pool) [INFO] [stdout] | ^^^^ the trait `FromSql, _>` is not implemented for `bool` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Queryable, _>` for `bool` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required because of the requirements on the impl of `Queryable<(Integer, diesel::sql_types::Nullable, diesel::sql_types::Nullable, diesel::sql_types::Nullable), _>` for `models::Post` [INFO] [stdout] = note: required because of the requirements on the impl of `LoadQuery<_, models::Post>` for `diesel::query_builder::SelectStatement, bool>>>, query_builder::order_clause::NoOrderClause, query_builder::limit_clause::LimitClause>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const str: FromSql, _>` is not satisfied [INFO] [stdout] --> src/routes/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | .load::(&db_pool) [INFO] [stdout] | ^^^^ the trait `FromSql, _>` is not implemented for `*const str` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] <*const [u8] as FromSql> [INFO] [stdout] <*const str as FromSql> [INFO] [stdout] = note: required because of the requirements on the impl of `FromSql, _>` for `std::string::String` [INFO] [stdout] = note: required because of the requirements on the impl of `Queryable, _>` for `std::string::String` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required because of the requirements on the impl of `Queryable<(Integer, diesel::sql_types::Nullable, diesel::sql_types::Nullable, diesel::sql_types::Nullable), _>` for `models::Post` [INFO] [stdout] = note: required because of the requirements on the impl of `LoadQuery<_, models::Post>` for `diesel::query_builder::SelectStatement, bool>>>, query_builder::order_clause::NoOrderClause, query_builder::limit_clause::LimitClause>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const str: FromSql, _>` is not satisfied [INFO] [stdout] --> src/routes/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | .load::(&db_pool) [INFO] [stdout] | ^^^^ the trait `FromSql, _>` is not implemented for `*const str` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] <*const [u8] as FromSql> [INFO] [stdout] <*const str as FromSql> [INFO] [stdout] = note: required because of the requirements on the impl of `FromSql, _>` for `std::string::String` [INFO] [stdout] = note: required because of the requirements on the impl of `Queryable, _>` for `std::string::String` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required because of the requirements on the impl of `Queryable<(Integer, diesel::sql_types::Nullable, diesel::sql_types::Nullable, diesel::sql_types::Nullable), _>` for `models::Post` [INFO] [stdout] = note: required because of the requirements on the impl of `LoadQuery<_, models::Post>` for `diesel::query_builder::SelectStatement, bool>>>, query_builder::order_clause::NoOrderClause, query_builder::limit_clause::LimitClause>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bool: FromSql, _>` is not satisfied [INFO] [stdout] --> src/routes/post.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | .load::(&db_pool) [INFO] [stdout] | ^^^^ the trait `FromSql, _>` is not implemented for `bool` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Queryable, _>` for `bool` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required because of the requirements on the impl of `Queryable<(Integer, diesel::sql_types::Nullable, diesel::sql_types::Nullable, diesel::sql_types::Nullable), _>` for `models::Post` [INFO] [stdout] = note: required because of the requirements on the impl of `LoadQuery<_, models::Post>` for `diesel::query_builder::SelectStatement>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const str: FromSql, _>` is not satisfied [INFO] [stdout] --> src/routes/post.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | .load::(&db_pool) [INFO] [stdout] | ^^^^ the trait `FromSql, _>` is not implemented for `*const str` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] <*const [u8] as FromSql> [INFO] [stdout] <*const str as FromSql> [INFO] [stdout] = note: required because of the requirements on the impl of `FromSql, _>` for `std::string::String` [INFO] [stdout] = note: required because of the requirements on the impl of `Queryable, _>` for `std::string::String` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required because of the requirements on the impl of `Queryable<(Integer, diesel::sql_types::Nullable, diesel::sql_types::Nullable, diesel::sql_types::Nullable), _>` for `models::Post` [INFO] [stdout] = note: required because of the requirements on the impl of `LoadQuery<_, models::Post>` for `diesel::query_builder::SelectStatement>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const str: FromSql, _>` is not satisfied [INFO] [stdout] --> src/routes/post.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | .load::(&db_pool) [INFO] [stdout] | ^^^^ the trait `FromSql, _>` is not implemented for `*const str` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] <*const [u8] as FromSql> [INFO] [stdout] <*const str as FromSql> [INFO] [stdout] = note: required because of the requirements on the impl of `FromSql, _>` for `std::string::String` [INFO] [stdout] = note: required because of the requirements on the impl of `Queryable, _>` for `std::string::String` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required because of the requirements on the impl of `Queryable<(Integer, diesel::sql_types::Nullable, diesel::sql_types::Nullable, diesel::sql_types::Nullable), _>` for `models::Post` [INFO] [stdout] = note: required because of the requirements on the impl of `LoadQuery<_, models::Post>` for `diesel::query_builder::SelectStatement>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bool: FromSql, Pg>` is not satisfied [INFO] [stdout] --> src/routes/post.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | .get_result(&db_pool) [INFO] [stdout] | ^^^^^^^^^^ the trait `FromSql, Pg>` is not implemented for `bool` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Queryable, Pg>` for `bool` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required because of the requirements on the impl of `Queryable<(Integer, diesel::sql_types::Nullable, diesel::sql_types::Nullable, diesel::sql_types::Nullable), Pg>` for `models::Post` [INFO] [stdout] = note: required because of the requirements on the impl of `LoadQuery>, models::Post>` for `UpdateStatement>>, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const str: FromSql, Pg>` is not satisfied [INFO] [stdout] --> src/routes/post.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | .get_result(&db_pool) [INFO] [stdout] | ^^^^^^^^^^ the trait `FromSql, Pg>` is not implemented for `*const str` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] <*const [u8] as FromSql> [INFO] [stdout] <*const str as FromSql> [INFO] [stdout] = note: required because of the requirements on the impl of `FromSql, Pg>` for `std::string::String` [INFO] [stdout] = note: required because of the requirements on the impl of `Queryable, Pg>` for `std::string::String` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required because of the requirements on the impl of `Queryable<(Integer, diesel::sql_types::Nullable, diesel::sql_types::Nullable, diesel::sql_types::Nullable), Pg>` for `models::Post` [INFO] [stdout] = note: required because of the requirements on the impl of `LoadQuery>, models::Post>` for `UpdateStatement>>, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `*const str: FromSql, Pg>` is not satisfied [INFO] [stdout] --> src/routes/post.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | .get_result(&db_pool) [INFO] [stdout] | ^^^^^^^^^^ the trait `FromSql, Pg>` is not implemented for `*const str` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] <*const [u8] as FromSql> [INFO] [stdout] <*const str as FromSql> [INFO] [stdout] = note: required because of the requirements on the impl of `FromSql, Pg>` for `std::string::String` [INFO] [stdout] = note: required because of the requirements on the impl of `Queryable, Pg>` for `std::string::String` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required because of the requirements on the impl of `Queryable<(Integer, diesel::sql_types::Nullable, diesel::sql_types::Nullable, diesel::sql_types::Nullable), Pg>` for `models::Post` [INFO] [stdout] = note: required because of the requirements on the impl of `LoadQuery>, models::Post>` for `UpdateStatement>>, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `my_api` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "74fbe9f9e03af73e9f00f8f2eaf5ecf2eaccfe6e3a495faf0aa74e813b2305e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74fbe9f9e03af73e9f00f8f2eaf5ecf2eaccfe6e3a495faf0aa74e813b2305e4", kill_on_drop: false }` [INFO] [stdout] 74fbe9f9e03af73e9f00f8f2eaf5ecf2eaccfe6e3a495faf0aa74e813b2305e4