[INFO] cloning repository https://github.com/ZempTime/dadjoke
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZempTime/dadjoke" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZempTime%2Fdadjoke", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZempTime%2Fdadjoke'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c24b5e5b960efa4df7dd5089003376cbe573ba3f
[INFO] testing ZempTime/dadjoke against 1.55.0 for beta-1.56-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZempTime%2Fdadjoke" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ZempTime/dadjoke on toolchain 1.55.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ZempTime/dadjoke
[INFO] finished tweaking git repo https://github.com/ZempTime/dadjoke
[INFO] tweaked toml for git repo https://github.com/ZempTime/dadjoke written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/ZempTime/dadjoke already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8eeb0aad89d21a73cd73526edc224937dc04089e686e2b924f80e94c9606b073
[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" "8eeb0aad89d21a73cd73526edc224937dc04089e686e2b924f80e94c9606b073", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8eeb0aad89d21a73cd73526edc224937dc04089e686e2b924f80e94c9606b073", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8eeb0aad89d21a73cd73526edc224937dc04089e686e2b924f80e94c9606b073", kill_on_drop: false }`
[INFO] [stdout] 8eeb0aad89d21a73cd73526edc224937dc04089e686e2b924f80e94c9606b073
[INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2c13f722e72425d3ec5de97a7205f14304a8fb4dde7eb09032c4f58529c85469
[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" "2c13f722e72425d3ec5de97a7205f14304a8fb4dde7eb09032c4f58529c85469", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling arc-swap v0.4.5
[INFO] [stderr]    Compiling serde v1.0.106
[INFO] [stderr]    Compiling failure_derive v0.1.7
[INFO] [stderr]    Compiling ryu v1.0.3
[INFO] [stderr]    Compiling regex-syntax v0.6.17
[INFO] [stderr]    Compiling bytestring v0.1.5
[INFO] [stderr]    Compiling backtrace-sys v0.1.35
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling regex-syntax v0.5.6
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.33
[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.12
[INFO] [stderr]    Compiling flate2 v1.0.14
[INFO] [stderr]    Compiling resolv-conf v0.6.3
[INFO] [stderr]    Compiling mio v0.6.21
[INFO] [stderr]    Compiling threadpool v1.7.1
[INFO] [stderr]    Compiling signal-hook-registry v1.2.0
[INFO] [stderr]    Compiling parking_lot v0.10.0
[INFO] [stderr]    Compiling chrono v0.4.11
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling backtrace v0.3.46
[INFO] [stderr]    Compiling tokio v0.2.16
[INFO] [stderr]    Compiling regex v1.3.6
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling dotenv v0.9.0
[INFO] [stderr]    Compiling tokio-util v0.2.0
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling actix-codec v0.2.0
[INFO] [stderr]    Compiling 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.5
[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 enum-as-inner v0.3.2
[INFO] [stderr]    Compiling async-trait v0.1.29
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling actix-web-codegen v0.2.1
[INFO] [stderr]    Compiling failure v0.1.7
[INFO] [stderr]    Compiling futures-util v0.3.4
[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.4
[INFO] [stderr]    Compiling futures v0.3.4
[INFO] [stderr]    Compiling diesel v1.4.4
[INFO] [stderr]    Compiling actix-rt v1.0.0
[INFO] [stderr]    Compiling trust-dns-proto v0.18.0-alpha.2
[INFO] [stderr]    Compiling actix-utils v1.0.6
[INFO] [stderr]    Compiling actix-server v1.0.2
[INFO] [stderr]    Compiling actix-tls v1.0.0
[INFO] [stderr]    Compiling actix-testing v1.0.0
[INFO] [stderr]    Compiling trust-dns-resolver v0.18.0-alpha.2
[INFO] [stderr]    Compiling actix-connect v1.0.2
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling serde_json v1.0.50
[INFO] [stderr]    Compiling actix-router v0.2.4
[INFO] [stderr]    Compiling uuid v0.8.1
[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 dadjoke v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find function `establish_connection` in this scope
[INFO] [stdout]   --> src/main.rs:26:16
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let conn = establish_connection();
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 4  | use crate::db::establish_connection;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/main.rs:27:38
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let dadjoke = web::block(move || db::create_dadjoke(&input.text))
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^ ----------- supplied 1 argument
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      expected 2 arguments
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/db.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn create_dadjoke(joketext: &str, conn: &PgConnection) -> QueryResult<Dadjoke> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^ --------------  -------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:38:49
[INFO] [stdout]    |
[INFO] [stdout] 38 |   async fn index() -> Result<HttpResponse, Error> {
[INFO] [stdout]    |  _________________________________________________^
[INFO] [stdout] 39 | |
[INFO] [stdout] 40 | | }
[INFO] [stdout]    | |_^ expected enum `Result`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<HttpResponse, actix_web::Error>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `for<'de> NewDadjoke: _IMPL_SERIALIZE_FOR_DadJokeInput::_serde::Deserialize<'de>` is not satisfied
[INFO] [stdout]   --> src/main.rs:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | #[post("/dadjokes")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> _IMPL_SERIALIZE_FOR_DadJokeInput::_serde::Deserialize<'de>` is not implemented for `NewDadjoke`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `DeserializeOwned` for `NewDadjoke`
[INFO] [stdout]    = note: required because of the requirements on the impl of `FromRequest` for `actix_web::web::Json<NewDadjoke>`
[INFO] [stdout]    = note: 1 redundant requirements hidden
[INFO] [stdout]    = note: required because of the requirements on the impl of `FromRequest` for `(actix_web::web::Json<NewDadjoke>,)`
[INFO] [stdout]    = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/db.rs:41:30
[INFO] [stdout]    |
[INFO] [stdout] 41 |     Dadjoke::update(dadjoke, conn)
[INFO] [stdout]    |                              ^^^^
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              expected `&PgConnection`, found struct `PgConnection`
[INFO] [stdout]    |                              help: consider borrowing here: `&conn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dadjoke` due to 6 previous errors
[INFO] running `Command { std: "docker" "inspect" "2c13f722e72425d3ec5de97a7205f14304a8fb4dde7eb09032c4f58529c85469", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c13f722e72425d3ec5de97a7205f14304a8fb4dde7eb09032c4f58529c85469", kill_on_drop: false }`
[INFO] [stdout] 2c13f722e72425d3ec5de97a7205f14304a8fb4dde7eb09032c4f58529c85469
