[INFO] cloning repository https://github.com/thiskevinwang/diesel_demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thiskevinwang/diesel_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiskevinwang%2Fdiesel_demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiskevinwang%2Fdiesel_demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1b73647bc477e246252597b3ab0841df812e4e7 [INFO] checking thiskevinwang/diesel_demo against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiskevinwang%2Fdiesel_demo" "/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/thiskevinwang/diesel_demo on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thiskevinwang/diesel_demo [INFO] finished tweaking git repo https://github.com/thiskevinwang/diesel_demo [INFO] tweaked toml for git repo https://github.com/thiskevinwang/diesel_demo written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/thiskevinwang/diesel_demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4dbe8fe9ccfcf3ad6e0f72ed3a53abf091cf9b293355420d8656c8454e0e6e3d [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" "4dbe8fe9ccfcf3ad6e0f72ed3a53abf091cf9b293355420d8656c8454e0e6e3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4dbe8fe9ccfcf3ad6e0f72ed3a53abf091cf9b293355420d8656c8454e0e6e3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dbe8fe9ccfcf3ad6e0f72ed3a53abf091cf9b293355420d8656c8454e0e6e3d", kill_on_drop: false }` [INFO] [stdout] 4dbe8fe9ccfcf3ad6e0f72ed3a53abf091cf9b293355420d8656c8454e0e6e3d [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" "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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 782cba725dbc0796030db9630f3725f564ad3f21162efb6666fe58c45293493b [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" "782cba725dbc0796030db9630f3725f564ad3f21162efb6666fe58c45293493b", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking arc-swap v0.4.5 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking base64 v0.12.0 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking bytestring v0.1.4 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking encoding_rs v0.8.22 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking socket2 v0.3.11 [INFO] [stderr] Checking listenfd v0.3.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling diesel-derive-enum v0.4.4 [INFO] [stderr] Checking resolv-conf v0.6.3 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking blowfish v0.4.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Compiling backtrace-sys v0.1.34 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking tokio v0.2.13 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking regex v1.3.5 [INFO] [stderr] Checking bcrypt v0.7.0 [INFO] [stderr] Checking backtrace v0.3.45 [INFO] [stderr] Checking dotenv v0.9.0 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking actix-codec v0.2.0 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling derive_more v0.99.3 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling actix-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.24 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.13 [INFO] [stderr] Compiling actix-web-codegen v0.2.1 [INFO] [stderr] Compiling actix_derive v0.5.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking thiserror v1.0.13 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking actix-service v1.0.5 [INFO] [stderr] Checking h2 v0.2.2 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking actix-threadpool v0.3.1 [INFO] [stderr] Checking trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Checking trust-dns-proto v0.19.3 [INFO] [stderr] Checking actix-rt v1.0.0 [INFO] [stderr] Checking actix-utils v1.0.6 [INFO] [stderr] Checking serde v1.0.106 [INFO] [stderr] Checking actix-server v1.0.2 [INFO] [stderr] Checking actix-tls v1.0.0 [INFO] [stderr] Checking trust-dns-resolver v0.19.3 [INFO] [stderr] Checking actix-testing v1.0.0 [INFO] [stderr] Checking trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Checking actix v0.10.0-alpha.2 [INFO] [stderr] Checking actix-connect v1.0.2 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking actix-router v0.2.4 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking diesel v1.4.4 [INFO] [stderr] Checking actix-http v1.0.1 [INFO] [stderr] Checking awc v1.0.1 [INFO] [stderr] Checking actix-web v2.0.0 [INFO] [stderr] Checking rust_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Attempts`, `Comments`, `Reactions` [INFO] [stdout] --> src/models.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use super::schema::{Attempts, Comments, Reactions, Users}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/models.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Attempts`, `Comments`, `Reactions` [INFO] [stdout] --> src/models.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use super::schema::{Attempts, Comments, Reactions, Users}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/models.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `userId` should have a snake case name [INFO] [stdout] --> src/models.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub userId: i32, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `userId` should have a snake case name [INFO] [stdout] --> src/models.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub userId: i32, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `commentId` should have a snake case name [INFO] [stdout] --> src/models.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub commentId: i32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `comment_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `userId` should have a snake case name [INFO] [stdout] --> src/models.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub userId: i32, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Attempts` should have a snake case name [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Attempts (id) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `attempts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Comments` should have a snake case name [INFO] [stdout] --> src/schema.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Comments (id) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `comments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Reactions` should have a snake case name [INFO] [stdout] --> src/schema.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Reactions (id) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `reactions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Users` should have a snake case name [INFO] [stdout] --> src/schema.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | Users (id) { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `users` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `userId` should have a snake case name [INFO] [stdout] --> src/models.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub userId: i32, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `userId` should have a snake case name [INFO] [stdout] --> src/models.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub userId: i32, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `commentId` should have a snake case name [INFO] [stdout] --> src/models.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub commentId: i32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `comment_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `userId` should have a snake case name [INFO] [stdout] --> src/models.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub userId: i32, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Attempts` should have a snake case name [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Attempts (id) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `attempts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Comments` should have a snake case name [INFO] [stdout] --> src/schema.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Comments (id) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `comments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Reactions` should have a snake case name [INFO] [stdout] --> src/schema.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Reactions (id) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `reactions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Users` should have a snake case name [INFO] [stdout] --> src/schema.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | Users (id) { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `users` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `.` [INFO] [stdout] --> src/bin/actix-db.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | .filter(published.eq(true)) [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `.` [INFO] [stdout] --> src/bin/actix-db.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | .filter(published.eq(true)) [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: mismatched closing delimiter: `}` [INFO] [stdout] --> src/bin/publish_post.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 9 | fn main() { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] ... [INFO] [stdout] 21 | .set(published.eq(true) [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 25 | } [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `;` [INFO] [stdout] --> src/bin/publish_post.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 21 | .set(published.eq(true) [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] 22 | .get_result::(&connection) [INFO] [stdout] 23 | .expect(&format!("Unable to find post {}", id)); [INFO] [stdout] | ^ help: `)` may belong here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `)` [INFO] [stdout] --> src/bin/publish_post.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | } [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: mismatched closing delimiter: `}` [INFO] [stdout] --> src/bin/publish_post.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 9 | fn main() { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] ... [INFO] [stdout] 21 | .set(published.eq(true) [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 25 | } [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `;` [INFO] [stdout] --> src/bin/publish_post.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 21 | .set(published.eq(true) [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] 22 | .get_result::(&connection) [INFO] [stdout] 23 | .expect(&format!("Unable to find post {}", id)); [INFO] [stdout] | ^ help: `)` may belong here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `)` [INFO] [stdout] --> src/bin/publish_post.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | } [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/bin/random_chars.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `posts` in `schema` [INFO] [stdout] --> src/bin/publish_post.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | use rust_server::schema::posts::dsl::{posts, published}; [INFO] [stdout] | ^^^^^ could not find `posts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::models::Post` [INFO] [stdout] --> src/bin/publish_post.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use self::models::Post; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `Post` in `models` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `posts` in `schema` [INFO] [stdout] --> src/bin/publish_post.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | use rust_server::schema::posts::dsl::{posts, published}; [INFO] [stdout] | ^^^^^ could not find `posts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::models::Post` [INFO] [stdout] --> src/bin/publish_post.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use self::models::Post; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `Post` in `models` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/bin/random_chars.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/bin/random_chars.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/bin/random_chars.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `posts` in `schema` [INFO] [stdout] --> src/bin/actix-db.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | use rust_server::schema::posts::dsl::*; [INFO] [stdout] | ^^^^^ could not find `posts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schema::posts` [INFO] [stdout] --> src/bin/actix-db.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | use schema::posts; [INFO] [stdout] | ^^^^^^^^^^^^^ no `posts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `posts` in `schema` [INFO] [stdout] --> src/bin/actix-db.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | use rust_server::schema::posts::dsl::*; [INFO] [stdout] | ^^^^^ could not find `posts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schema::posts` [INFO] [stdout] --> src/bin/actix-db.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | use schema::posts; [INFO] [stdout] | ^^^^^^^^^^^^^ no `posts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpRequest`, `HttpResponse` [INFO] [stdout] --> src/bin/actix.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_web::{web, App, HttpRequest, HttpResponse, HttpServer, Responder}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NewUser` [INFO] [stdout] --> src/bin/actix.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | use self::models::{NewUser, User}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpRequest`, `HttpResponse` [INFO] [stdout] --> src/bin/actix.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_web::{web, App, HttpRequest, HttpResponse, HttpServer, Responder}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NewUser` [INFO] [stdout] --> src/bin/actix.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | use self::models::{NewUser, User}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SqliteConnection` [INFO] [stdout] --> src/bin/actix-db.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | DbExecutor(SqliteConnection::establish("test.db").unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SqliteConnection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> src/bin/actix-db.rs:104:47 [INFO] [stdout] | [INFO] [stdout] 104 | .resource("/{name}", |r| r.method(Method::GET).a(index)) [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/bin/actix-db.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 27 | impl Message for CreatePost { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 28 | type Result = Result; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/bin/actix-db.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 39 | impl Handler for DbExecutor { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 40 | type Result = Result; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewPost` in this scope [INFO] [stdout] --> src/bin/actix-db.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | let new_post = NewPost { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `published` in this scope [INFO] [stdout] --> src/bin/actix-db.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | .filter(published.eq(true)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/bin/actix-db.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 39 | impl Handler for DbExecutor { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 63 | .load::(&conn) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpRequest` in this scope [INFO] [stdout] --> src/bin/actix-db.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | fn index(req: &HttpRequest) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::HttpRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResponse` in this scope [INFO] [stdout] --> src/bin/actix-db.rs:76:57 [INFO] [stdout] | [INFO] [stdout] 76 | fn index(req: &HttpRequest) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-0.10.0-alpha.2/src/handler.rs:512:1 [INFO] [stdout] | [INFO] [stdout] 512 | pub struct ActorResponse { [INFO] [stdout] | --------------------------------- similarly named struct `ActorResponse` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 76 | fn index(req: &HttpRequest) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::HttpResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CreateUser` in this scope [INFO] [stdout] --> src/bin/actix-db.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | .send(CreateUser { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpResponse` [INFO] [stdout] --> src/bin/actix-db.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | Ok(user) => Ok(HttpResponse::Ok().json(user)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-0.10.0-alpha.2/src/handler.rs:512:1 [INFO] [stdout] | [INFO] [stdout] 512 | pub struct ActorResponse { [INFO] [stdout] | --------------------------------- similarly named struct `ActorResponse` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 87 | Ok(user) => Ok(ActorResponse::Ok().json(user)), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::HttpResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpResponse` [INFO] [stdout] --> src/bin/actix-db.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | Err(_) => Ok(HttpResponse::InternalServerError().into()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-0.10.0-alpha.2/src/handler.rs:512:1 [INFO] [stdout] | [INFO] [stdout] 512 | pub struct ActorResponse { [INFO] [stdout] | --------------------------------- similarly named struct `ActorResponse` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 88 | Err(_) => Ok(ActorResponse::InternalServerError().into()), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::HttpResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpServer` [INFO] [stdout] --> src/bin/actix-db.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | HttpServer::new(move || { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::HttpServer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `App` [INFO] [stdout] --> src/bin/actix-db.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | App::with_state(State { db: addr.clone() }) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::App; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::models::*` [INFO] [stdout] --> src/bin/actix-db.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use self::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/actix-db.rs:76:43 [INFO] [stdout] | [INFO] [stdout] 76 | fn index(req: &HttpRequest) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/bin/get_user_1.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SqliteConnection` [INFO] [stdout] --> src/bin/actix-db.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | DbExecutor(SqliteConnection::establish("test.db").unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SqliteConnection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/bin/get_user_1.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `posts` in this scope [INFO] [stdout] --> src/bin/publish_post.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | let post = diesel::update(posts.find(id)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> src/bin/actix-db.rs:104:47 [INFO] [stdout] | [INFO] [stdout] 104 | .resource("/{name}", |r| r.method(Method::GET).a(index)) [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/bin/actix-db.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 27 | impl Message for CreatePost { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 28 | type Result = Result; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/bin/actix-db.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 39 | impl Handler for DbExecutor { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 40 | type Result = Result; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewPost` in this scope [INFO] [stdout] --> src/bin/actix-db.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | let new_post = NewPost { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `published` in this scope [INFO] [stdout] --> src/bin/publish_post.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | .set(published.eq(true) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `published` in this scope [INFO] [stdout] --> src/bin/actix-db.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | .filter(published.eq(true)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/bin/actix-db.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 39 | impl Handler for DbExecutor { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 63 | .load::(&conn) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpRequest` in this scope [INFO] [stdout] --> src/bin/actix-db.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | fn index(req: &HttpRequest) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::HttpRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResponse` in this scope [INFO] [stdout] --> src/bin/actix-db.rs:76:57 [INFO] [stdout] | [INFO] [stdout] 76 | fn index(req: &HttpRequest) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-0.10.0-alpha.2/src/handler.rs:512:1 [INFO] [stdout] | [INFO] [stdout] 512 | pub struct ActorResponse { [INFO] [stdout] | --------------------------------- similarly named struct `ActorResponse` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 76 | fn index(req: &HttpRequest) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::HttpResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CreateUser` in this scope [INFO] [stdout] --> src/bin/actix-db.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | .send(CreateUser { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpResponse` [INFO] [stdout] --> src/bin/actix-db.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | Ok(user) => Ok(HttpResponse::Ok().json(user)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-0.10.0-alpha.2/src/handler.rs:512:1 [INFO] [stdout] | [INFO] [stdout] 512 | pub struct ActorResponse { [INFO] [stdout] | --------------------------------- similarly named struct `ActorResponse` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 87 | Ok(user) => Ok(ActorResponse::Ok().json(user)), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::HttpResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpResponse` [INFO] [stdout] --> src/bin/actix-db.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | Err(_) => Ok(HttpResponse::InternalServerError().into()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-0.10.0-alpha.2/src/handler.rs:512:1 [INFO] [stdout] | [INFO] [stdout] 512 | pub struct ActorResponse { [INFO] [stdout] | --------------------------------- similarly named struct `ActorResponse` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 88 | Err(_) => Ok(ActorResponse::InternalServerError().into()), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::HttpResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpServer` [INFO] [stdout] --> src/bin/actix-db.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | HttpServer::new(move || { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::HttpServer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `App` [INFO] [stdout] --> src/bin/actix-db.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | App::with_state(State { db: addr.clone() }) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::App; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::models::*` [INFO] [stdout] --> src/bin/actix-db.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use self::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/actix-db.rs:76:43 [INFO] [stdout] | [INFO] [stdout] 76 | fn index(req: &HttpRequest) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `posts` in this scope [INFO] [stdout] --> src/bin/publish_post.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | let post = diesel::update(posts.find(id)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `published` in this scope [INFO] [stdout] --> src/bin/publish_post.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | .set(published.eq(true) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Item` not found for `std::future::Future` [INFO] [stdout] --> src/bin/actix-db.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | fn index(req: &HttpRequest) -> Box> { [INFO] [stdout] | ^^^^ associated type `Item` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `std::future::Future` [INFO] [stdout] --> src/bin/actix-db.rs:76:71 [INFO] [stdout] | [INFO] [stdout] 76 | fn index(req: &HttpRequest) -> Box> { [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0191]: the value of the associated type `Output` (from trait `std::future::Future`) must be specified [INFO] [stdout] --> src/bin/actix-db.rs:76:43 [INFO] [stdout] | [INFO] [stdout] 76 | fn index(req: &HttpRequest) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: specify the associated type: `Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0191, E0220, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0191`. [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Item` not found for `std::future::Future` [INFO] [stdout] --> src/bin/actix-db.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | fn index(req: &HttpRequest) -> Box> { [INFO] [stdout] | ^^^^ associated type `Item` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `std::future::Future` [INFO] [stdout] --> src/bin/actix-db.rs:76:71 [INFO] [stdout] | [INFO] [stdout] 76 | fn index(req: &HttpRequest) -> Box> { [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0191]: the value of the associated type `Output` (from trait `std::future::Future`) must be specified [INFO] [stdout] --> src/bin/actix-db.rs:76:43 [INFO] [stdout] | [INFO] [stdout] 76 | fn index(req: &HttpRequest) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: specify the associated type: `Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0191, E0220, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0191`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_server` [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[E0609]: no field `title` on type `UpdateStatement<_, _, _>` [INFO] [stdout] --> src/bin/publish_post.rs:24:40 [INFO] [stdout] | [INFO] [stdout] 24 | println!("Published post {}", post.title); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::diesel::prelude` [INFO] [stdout] --> src/bin/publish_post.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use self::diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `title` on type `UpdateStatement<_, _, _>` [INFO] [stdout] --> src/bin/publish_post.rs:24:40 [INFO] [stdout] | [INFO] [stdout] 24 | println!("Published post {}", post.title); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::diesel::prelude` [INFO] [stdout] --> src/bin/publish_post.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use self::diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "782cba725dbc0796030db9630f3725f564ad3f21162efb6666fe58c45293493b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "782cba725dbc0796030db9630f3725f564ad3f21162efb6666fe58c45293493b", kill_on_drop: false }` [INFO] [stdout] 782cba725dbc0796030db9630f3725f564ad3f21162efb6666fe58c45293493b