[INFO] cloning repository https://github.com/robinvanleeuwen/rocket-rest-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robinvanleeuwen/rocket-rest-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinvanleeuwen%2Frocket-rest-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinvanleeuwen%2Frocket-rest-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c4c4d5d566882e40e68448c783582c9ce712848 [INFO] checking robinvanleeuwen/rocket-rest-api against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinvanleeuwen%2Frocket-rest-api" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robinvanleeuwen/rocket-rest-api on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/robinvanleeuwen/rocket-rest-api [INFO] finished tweaking git repo https://github.com/robinvanleeuwen/rocket-rest-api [INFO] tweaked toml for git repo https://github.com/robinvanleeuwen/rocket-rest-api written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/robinvanleeuwen/rocket-rest-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cd573864a650371c636a2b73a98ecea3b4d7acee7307a67b70b79ee3ea8cde2 [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" "1cd573864a650371c636a2b73a98ecea3b4d7acee7307a67b70b79ee3ea8cde2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cd573864a650371c636a2b73a98ecea3b4d7acee7307a67b70b79ee3ea8cde2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cd573864a650371c636a2b73a98ecea3b4d7acee7307a67b70b79ee3ea8cde2", kill_on_drop: false }` [INFO] [stdout] 1cd573864a650371c636a2b73a98ecea3b4d7acee7307a67b70b79ee3ea8cde2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e46acaa3b694660f4eaee211035dd23574ae2f45db198a49b45f6c5f18e4b23 [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" "2e46acaa3b694660f4eaee211035dd23574ae2f45db198a49b45f6c5f18e4b23", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Checking instant v0.1.6 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling state v0.4.1 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking hashbrown v0.9.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.5 [INFO] [stderr] Compiling rocket v0.4.5 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling proc-macro2 v1.0.20 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking filetime v0.2.12 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling universal-hash v0.3.0 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling aead v0.2.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling polyval v0.3.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling hkdf v0.8.0 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling ghash v0.2.3 [INFO] [stderr] Compiling aes v0.3.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling aes-gcm v0.5.0 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking dotenv v0.9.0 [INFO] [stderr] Checking cookie v0.11.3 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Compiling rocket_http v0.4.5 [INFO] [stderr] Checking diesel v1.4.5 [INFO] [stderr] Checking rocket_contrib v0.4.5 [INFO] [stderr] Checking r2d2-diesel v1.0.0 [INFO] [stderr] Checking rocket-rest-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `Failure` in this scope [INFO] [stdout] --> src/people/handler.rs:13:70 [INFO] [stdout] | [INFO] [stdout] 13 | fn all(connection: DbConn) -> std::result::Result>, Failure> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::people::repository::diesel::migration::errors::io::sys::ext::net::raw_fd::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::sync::mpsc::oneshot::Failure; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::people::repository::diesel::migration::errors::io::sys::ext::net::raw_fd::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::sync::mpsc::shared::Failure; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::people::repository::diesel::migration::errors::io::sys::ext::net::raw_fd::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::sync::mpsc::stream::Failure; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::people::repository::diesel::migration::errors::io::sys::ext::net::raw_fd::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::sync::mpsc::sync::Failure; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dotenv::dotenv` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/people/handler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result::Result` [INFO] [stdout] --> src/people/handler.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Failure` in this scope [INFO] [stdout] --> src/people/handler.rs:13:70 [INFO] [stdout] | [INFO] [stdout] 13 | fn all(connection: DbConn) -> std::result::Result>, Failure> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::people::repository::diesel::migration::errors::io::sys::ext::net::raw_fd::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::sync::mpsc::oneshot::Failure; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::people::repository::diesel::migration::errors::io::sys::ext::net::raw_fd::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::sync::mpsc::shared::Failure; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::people::repository::diesel::migration::errors::io::sys::ext::net::raw_fd::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::sync::mpsc::stream::Failure; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::people::repository::diesel::migration::errors::io::sys::ext::net::raw_fd::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::sync::mpsc::sync::Failure; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dotenv::dotenv` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/people/handler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result::Result` [INFO] [stdout] --> src/people/handler.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/connection.rs:33:49 [INFO] [stdout] | [INFO] [stdout] 33 | Ok(conn) => Outcome::Success(DbConn(conn)), [INFO] [stdout] | ^^^^ expected struct `diesel::PgConnection`, found struct `PooledConnection` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `diesel::PgConnection` [INFO] [stdout] found struct `PooledConnection>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket-rest-api` [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[E0308]: mismatched types [INFO] [stdout] --> src/connection.rs:33:49 [INFO] [stdout] | [INFO] [stdout] 33 | Ok(conn) => Outcome::Success(DbConn(conn)), [INFO] [stdout] | ^^^^ expected struct `diesel::PgConnection`, found struct `PooledConnection` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `diesel::PgConnection` [INFO] [stdout] found struct `PooledConnection>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2e46acaa3b694660f4eaee211035dd23574ae2f45db198a49b45f6c5f18e4b23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e46acaa3b694660f4eaee211035dd23574ae2f45db198a49b45f6c5f18e4b23", kill_on_drop: false }` [INFO] [stdout] 2e46acaa3b694660f4eaee211035dd23574ae2f45db198a49b45f6c5f18e4b23