[INFO] updating cached repository https://github.com/thiskevinwang/diesel_demo [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c1b73647bc477e246252597b3ab0841df812e4e7 [INFO] testing thiskevinwang/diesel_demo against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiskevinwang%2Fdiesel_demo" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thiskevinwang/diesel_demo on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-5/source/Cargo.toml [INFO] crate git repo https://github.com/thiskevinwang/diesel_demo already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stdout] c5ba8571b8311dcc72096838f44ca29bbaaecc3651d50a54a0e5cb6c1948bfb9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "c5ba8571b8311dcc72096838f44ca29bbaaecc3651d50a54a0e5cb6c1948bfb9"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.14 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling arc-swap v0.4.5 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling base64 v0.12.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling bytestring v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling diesel-derive-enum v0.4.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling listenfd v0.3.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling backtrace-sys v0.1.34 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling blowfish v0.4.0 [INFO] [stderr] Compiling regex v1.3.5 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling backtrace v0.3.45 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling bcrypt v0.7.0 [INFO] [stderr] Compiling dotenv v0.9.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling actix-codec v0.2.0 [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 actix-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.106 [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_derive v0.5.0 [INFO] [stderr] Compiling actix-web-codegen v0.2.1 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling thiserror v1.0.13 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling actix-threadpool v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling h2 v0.2.2 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling actix-rt v1.0.0 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling trust-dns-proto v0.19.3 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling actix-server v1.0.2 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-testing v1.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.19.3 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling actix v0.10.0-alpha.2 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling diesel v1.4.4 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling rust_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused imports: `Attempts`, `Comments`, `Reactions` [INFO] [stderr] --> src/models.rs:3:21 [INFO] [stderr] | [INFO] [stderr] 3 | use super::schema::{Attempts, Comments, Reactions, Users}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Deserialize` [INFO] [stderr] --> src/models.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: structure field `userId` should have a snake case name [INFO] [stderr] --> src/models.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | pub userId: i32, [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `user_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `userId` should have a snake case name [INFO] [stderr] --> src/models.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub userId: i32, [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `user_id` [INFO] [stderr] [INFO] [stderr] warning: structure field `commentId` should have a snake case name [INFO] [stderr] --> src/models.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | pub commentId: i32, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `comment_id` [INFO] [stderr] [INFO] [stderr] warning: structure field `userId` should have a snake case name [INFO] [stderr] --> src/models.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | pub userId: i32, [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `user_id` [INFO] [stderr] [INFO] [stderr] warning: module `Attempts` should have a snake case name [INFO] [stderr] --> src/schema.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | Attempts (id) { [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `attempts` [INFO] [stderr] [INFO] [stderr] warning: module `Comments` should have a snake case name [INFO] [stderr] --> src/schema.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | Comments (id) { [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `comments` [INFO] [stderr] [INFO] [stderr] warning: module `Reactions` should have a snake case name [INFO] [stderr] --> src/schema.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | Reactions (id) { [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `reactions` [INFO] [stderr] [INFO] [stderr] warning: module `Users` should have a snake case name [INFO] [stderr] --> src/schema.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | Users (id) { [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `users` [INFO] [stderr] [INFO] [stderr] warning: 10 warnings emitted [INFO] [stderr] [INFO] [stderr] error: mismatched closing delimiter: `}` [INFO] [stderr] --> src/bin/publish_post.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 9 | fn main() { [INFO] [stderr] | - closing delimiter possibly meant for this [INFO] [stderr] ... [INFO] [stderr] 21 | .set(published.eq(true) [INFO] [stderr] | - unclosed delimiter [INFO] [stderr] ... [INFO] [stderr] 25 | } [INFO] [stderr] | ^ mismatched closing delimiter [INFO] [stderr] [INFO] [stderr] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `;` [INFO] [stderr] --> src/bin/publish_post.rs:23:56 [INFO] [stderr] | [INFO] [stderr] 21 | .set(published.eq(true) [INFO] [stderr] | - unclosed delimiter [INFO] [stderr] 22 | .get_result::(&connection) [INFO] [stderr] 23 | .expect(&format!("Unable to find post {}", id)); [INFO] [stderr] | ^ help: `)` may belong here [INFO] [stderr] [INFO] [stderr] error: expected expression, found `)` [INFO] [stderr] --> src/bin/publish_post.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | } [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error: unexpected token: `.` [INFO] [stderr] --> src/bin/actix-db.rs:62:13 [INFO] [stderr] | [INFO] [stderr] 62 | .filter(published.eq(true)) [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `posts` in `schema` [INFO] [stderr] --> src/bin/publish_post.rs:11:30 [INFO] [stderr] | [INFO] [stderr] 11 | use rust_server::schema::posts::dsl::{posts, published}; [INFO] [stderr] | ^^^^^ could not find `posts` in `schema` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `self::models::Post` [INFO] [stderr] --> src/bin/publish_post.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use self::models::Post; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ no `Post` in `models` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `main` [INFO] [stderr] --> src/bin/random_chars.rs:16:4 [INFO] [stderr] | [INFO] [stderr] 16 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `main` [INFO] [stderr] --> src/bin/random_chars.rs:16:4 [INFO] [stderr] | [INFO] [stderr] 16 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `posts` in `schema` [INFO] [stderr] --> src/bin/actix-db.rs:43:34 [INFO] [stderr] | [INFO] [stderr] 43 | use rust_server::schema::posts::dsl::*; [INFO] [stderr] | ^^^^^ could not find `posts` in `schema` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `schema::posts` [INFO] [stderr] --> src/bin/actix-db.rs:54:13 [INFO] [stderr] | [INFO] [stderr] 54 | use schema::posts; [INFO] [stderr] | ^^^^^^^^^^^^^ no `posts` in `schema` [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HttpRequest`, `HttpResponse` [INFO] [stderr] --> src/bin/actix.rs:11:27 [INFO] [stderr] | [INFO] [stderr] 11 | use actix_web::{web, App, HttpRequest, HttpResponse, HttpServer, Responder}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `NewUser` [INFO] [stderr] --> src/bin/actix.rs:69:20 [INFO] [stderr] | [INFO] [stderr] 69 | use self::models::{NewUser, User}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `HttpResponse` [INFO] [stderr] --> src/bin/actix-db.rs:87:28 [INFO] [stderr] | [INFO] [stderr] 87 | Ok(user) => Ok(HttpResponse::Ok().json(user)), [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `HttpResponse` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `HttpResponse` [INFO] [stderr] --> src/bin/actix-db.rs:88:26 [INFO] [stderr] | [INFO] [stderr] 88 | Err(_) => Ok(HttpResponse::InternalServerError().into()), [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `HttpResponse` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `SqliteConnection` [INFO] [stderr] --> src/bin/actix-db.rs:98:20 [INFO] [stderr] | [INFO] [stderr] 98 | DbExecutor(SqliteConnection::establish("test.db").unwrap()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `SqliteConnection` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `HttpServer` [INFO] [stderr] --> src/bin/actix-db.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | HttpServer::new(move || { [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `HttpServer` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `App` [INFO] [stderr] --> src/bin/actix-db.rs:103:9 [INFO] [stderr] | [INFO] [stderr] 103 | App::with_state(State { db: addr.clone() }) [INFO] [stderr] | ^^^ use of undeclared type or module `App` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Method` [INFO] [stderr] --> src/bin/actix-db.rs:104:47 [INFO] [stderr] | [INFO] [stderr] 104 | .resource("/{name}", |r| r.method(Method::GET).a(index)) [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Method` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Post` in this scope [INFO] [stderr] --> src/bin/actix-db.rs:28:26 [INFO] [stderr] | [INFO] [stderr] 27 | impl Message for CreatePost { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 28 | type Result = Result; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Post` in this scope [INFO] [stderr] --> src/bin/actix-db.rs:40:26 [INFO] [stderr] | [INFO] [stderr] 39 | impl Handler for DbExecutor { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 40 | type Result = Result; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NewPost` in this scope [INFO] [stderr] --> src/bin/actix-db.rs:49:24 [INFO] [stderr] | [INFO] [stderr] 49 | let new_post = NewPost { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `published` in this scope [INFO] [stderr] --> src/bin/actix-db.rs:62:21 [INFO] [stderr] | [INFO] [stderr] 62 | .filter(published.eq(true)) [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Post` in this scope [INFO] [stderr] --> src/bin/actix-db.rs:63:21 [INFO] [stderr] | [INFO] [stderr] 39 | impl Handler for DbExecutor { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 63 | .load::(&conn) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HttpRequest` in this scope [INFO] [stderr] --> src/bin/actix-db.rs:76:16 [INFO] [stderr] | [INFO] [stderr] 76 | fn index(req: &HttpRequest) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 5 | use actix_web::HttpRequest; [INFO] [stderr] | [INFO] [stderr] 5 | use actix_web::web::HttpRequest; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HttpResponse` in this scope [INFO] [stderr] --> src/bin/actix-db.rs:76:57 [INFO] [stderr] | [INFO] [stderr] 76 | fn index(req: &HttpRequest) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-0.10.0-alpha.2/src/handler.rs:512:1 [INFO] [stderr] | [INFO] [stderr] 512 | pub struct ActorResponse { [INFO] [stderr] | --------------------------------- similarly named struct `ActorResponse` defined here [INFO] [stderr] | [INFO] [stderr] help: a struct with a similar name exists [INFO] [stderr] | [INFO] [stderr] 76 | fn index(req: &HttpRequest) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 5 | use actix_web::HttpResponse; [INFO] [stderr] | [INFO] [stderr] 5 | use actix_web::web::HttpResponse; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `CreateUser` in this scope [INFO] [stderr] --> src/bin/actix-db.rs:82:15 [INFO] [stderr] | [INFO] [stderr] 82 | .send(CreateUser { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::models::*` [INFO] [stderr] --> src/bin/actix-db.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use self::models::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/actix-db.rs:76:43 [INFO] [stderr] | [INFO] [stderr] 76 | fn index(req: &HttpRequest) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0220]: associated type `Item` not found for `std::future::Future` [INFO] [stderr] --> src/bin/actix-db.rs:76:50 [INFO] [stderr] | [INFO] [stderr] 76 | fn index(req: &HttpRequest) -> Box> { [INFO] [stderr] | ^^^^ associated type `Item` not found [INFO] [stderr] [INFO] [stderr] error[E0220]: associated type `Error` not found for `std::future::Future` [INFO] [stderr] --> src/bin/actix-db.rs:76:71 [INFO] [stderr] | [INFO] [stderr] 76 | fn index(req: &HttpRequest) -> Box> { [INFO] [stderr] | ^^^^^ associated type `Error` not found [INFO] [stderr] [INFO] [stderr] error[E0191]: the value of the associated type `Output` (from trait `std::future::Future`) must be specified [INFO] [stderr] --> src/bin/actix-db.rs:76:43 [INFO] [stderr] | [INFO] [stderr] 76 | fn index(req: &HttpRequest) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: specify the associated type: `Future` [INFO] [stderr] [INFO] [stderr] error: aborting due to 20 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0191, E0220, E0412, E0422, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0191`. [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] [stderr] error[E0425]: cannot find value `posts` in this scope [INFO] [stderr] --> src/bin/publish_post.rs:20:31 [INFO] [stderr] | [INFO] [stderr] 20 | let post = diesel::update(posts.find(id)) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `published` in this scope [INFO] [stderr] --> src/bin/publish_post.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | .set(published.eq(true) [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: function is never used: `main` [INFO] [stderr] --> src/bin/get_user_1.rs:34:4 [INFO] [stderr] | [INFO] [stderr] 34 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `title` on type `diesel::query_builder::UpdateStatement<_, _, _>` [INFO] [stderr] --> src/bin/publish_post.rs:24:40 [INFO] [stderr] | [INFO] [stderr] 24 | println!("Published post {}", post.title); [INFO] [stderr] | ^^^^^ unknown field [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::diesel::prelude` [INFO] [stderr] --> src/bin/publish_post.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use self::diesel::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433, E0609. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "c5ba8571b8311dcc72096838f44ca29bbaaecc3651d50a54a0e5cb6c1948bfb9"` [INFO] running `"docker" "rm" "-f" "c5ba8571b8311dcc72096838f44ca29bbaaecc3651d50a54a0e5cb6c1948bfb9"` [INFO] [stdout] c5ba8571b8311dcc72096838f44ca29bbaaecc3651d50a54a0e5cb6c1948bfb9