[INFO] cloning repository https://github.com/flada-auxv/todobackend-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flada-auxv/todobackend-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflada-auxv%2Ftodobackend-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflada-auxv%2Ftodobackend-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6262234d4c3f7f0b8fa6c159a3de9ea4b092d5b3
[INFO] testing flada-auxv/todobackend-rust against beta-2020-10-09 for beta-1.48-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflada-auxv%2Ftodobackend-rust" "/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/flada-auxv/todobackend-rust on toolchain beta-2020-10-09
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/flada-auxv/todobackend-rust
[INFO] finished tweaking git repo https://github.com/flada-auxv/todobackend-rust
[INFO] tweaked toml for git repo https://github.com/flada-auxv/todobackend-rust written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/flada-auxv/todobackend-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hmac v0.9.0
[INFO] [stderr]   Downloaded tokio-util v0.4.0
[INFO] [stderr]   Downloaded mio v0.7.3
[INFO] [stderr]   Downloaded tokio v0.3.0
[INFO] [stderr]   Downloaded postgres v0.18.0
[INFO] [stderr]   Downloaded postgres v0.17.5
[INFO] [stderr]   Downloaded postgres-protocol v0.5.3
[INFO] [stderr]   Downloaded bodyparser v0.8.0
[INFO] [stderr]   Downloaded persistent v0.4.0
[INFO] [stderr]   Downloaded tokio-postgres v0.6.0
[INFO] [stderr]   Downloaded postgres-types v0.1.3
[INFO] [stderr]   Downloaded r2d2_postgres v0.16.0
[INFO] [stderr]   Downloaded base64 v0.13.0
[INFO] [stderr]   Downloaded crypto-mac v0.9.1
[INFO] [stderr]   Downloaded tokio-postgres v0.5.5
[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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 742abbb5299d4d7452ad818ae61bde8523365f20272c8a0ad52c0d52e1e32827
[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" "742abbb5299d4d7452ad818ae61bde8523365f20272c8a0ad52c0d52e1e32827", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "742abbb5299d4d7452ad818ae61bde8523365f20272c8a0ad52c0d52e1e32827", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "742abbb5299d4d7452ad818ae61bde8523365f20272c8a0ad52c0d52e1e32827", kill_on_drop: false }`
[INFO] [stdout] 742abbb5299d4d7452ad818ae61bde8523365f20272c8a0ad52c0d52e1e32827
[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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 842016f477fee07d1021e28f0b94749be9d62e98954e8af2037f99a08582cb74
[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" "842016f477fee07d1021e28f0b94749be9d62e98954e8af2037f99a08582cb74", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.45
[INFO] [stderr]    Compiling subtle v2.3.0
[INFO] [stderr]    Compiling futures-io v0.3.6
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling modifier v0.1.0
[INFO] [stderr]    Compiling futures-channel v0.3.6
[INFO] [stderr]    Compiling futures-task v0.3.6
[INFO] [stderr]    Compiling unsafe-any v0.4.2
[INFO] [stderr]    Compiling phf v0.8.0
[INFO] [stderr]    Compiling mio v0.7.3
[INFO] [stderr]    Compiling phf_shared v0.7.24
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling serde_json v1.0.59
[INFO] [stderr]    Compiling sha2 v0.9.1
[INFO] [stderr]    Compiling hyper v0.10.16
[INFO] [stderr]    Compiling typemap v0.3.3
[INFO] [stderr]    Compiling crypto-mac v0.9.1
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling phf v0.7.24
[INFO] [stderr]    Compiling hmac v0.9.0
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.5
[INFO] [stderr]    Compiling plugin v0.2.6
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling postgres-protocol v0.5.3
[INFO] [stderr]    Compiling mime_guess v1.8.8
[INFO] [stderr]    Compiling r2d2 v0.8.9
[INFO] [stderr]    Compiling tokio v0.3.0
[INFO] [stderr]    Compiling postgres-types v0.1.3
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling tokio v0.2.22
[INFO] [stderr]    Compiling iron v0.6.1
[INFO] [stderr]    Compiling persistent v0.4.0
[INFO] [stderr]    Compiling router v0.6.0
[INFO] [stderr]    Compiling bodyparser v0.8.0
[INFO] [stderr]    Compiling tokio-util v0.4.0
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling pin-project-internal v0.4.27
[INFO] [stderr]    Compiling futures-macro v0.3.6
[INFO] [stderr]    Compiling async-trait v0.1.41
[INFO] [stderr]    Compiling pin-project v0.4.27
[INFO] [stderr]    Compiling futures-util v0.3.6
[INFO] [stderr]    Compiling futures-executor v0.3.6
[INFO] [stderr]    Compiling futures v0.3.6
[INFO] [stderr]    Compiling tokio-postgres v0.5.5
[INFO] [stderr]    Compiling tokio-postgres v0.6.0
[INFO] [stderr]    Compiling postgres v0.18.0
[INFO] [stderr]    Compiling postgres v0.17.5
[INFO] [stderr]    Compiling r2d2_postgres v0.16.0
[INFO] [stderr]    Compiling todo-backend-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `SslMode` in `postgres`
[INFO] [stdout]   --> src/main.rs:45:93
[INFO] [stdout]    |
[INFO] [stdout] 45 | ...nectionManager::new(url.as_ref(), postgres::SslMode::None).unwrap_or_else(|e| panic!("{}", e));
[INFO] [stdout]    |                                                ^^^^^^^ could not find `SslMode` in `postgres`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `rows` in `postgres`
[INFO] [stdout]   --> src/main.rs:62:27
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn new(row: postgres::rows::Row) -> Todo {
[INFO] [stdout]    |                           ^^^^ could not find `rows` in `postgres`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase`
[INFO] [stdout]   --> src/main.rs:29:65
[INFO] [stdout]    |
[INFO] [stdout] 29 |         res.headers.set(headers::AccessControlAllowHeaders(vec![UniCase("content-type".to_owned()), UniCase("accept".to_owned())]));
[INFO] [stdout]    |                                                                 ^^^^^^^ constructor is not visible here due to private fields
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct instead
[INFO] [stdout]    |
[INFO] [stdout] 1  | use headers::UniCase;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase`
[INFO] [stdout]   --> src/main.rs:29:101
[INFO] [stdout]    |
[INFO] [stdout] 29 |         res.headers.set(headers::AccessControlAllowHeaders(vec![UniCase("content-type".to_owned()), UniCase("accept".to_owned())]));
[INFO] [stdout]    |                                                                                                     ^^^^^^^ constructor is not visible here due to private fields
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct instead
[INFO] [stdout]    |
[INFO] [stdout] 1  | use headers::UniCase;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct `Config` is private
[INFO] [stdout]   --> src/main.rs:43:28
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let config = r2d2::Config::default();
[INFO] [stdout]    |                            ^^^^^^ private struct
[INFO] [stdout]    |
[INFO] [stdout] note: the struct `Config` is defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r2d2-0.8.9/src/lib.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | use crate::config::Config;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/main.rs:136:27
[INFO] [stdout]     |
[INFO] [stdout] 136 |         Ok(Response::with((status::Ok)))
[INFO] [stdout]     |                           ^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 0
[INFO] [stdout]   --> src/main.rs:35:24
[INFO] [stdout]    |
[INFO] [stdout] 35 | type Pool = r2d2::Pool<r2d2_postgres::PostgresConnectionManager>;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 0
[INFO] [stdout]   --> src/main.rs:36:48
[INFO] [stdout]    |
[INFO] [stdout] 36 | type PooledConnection = r2d2::PooledConnection<r2d2_postgres::PostgresConnectionManager>;
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0423, E0433, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `todo-backend-rust`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "842016f477fee07d1021e28f0b94749be9d62e98954e8af2037f99a08582cb74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "842016f477fee07d1021e28f0b94749be9d62e98954e8af2037f99a08582cb74", kill_on_drop: false }`
[INFO] [stdout] 842016f477fee07d1021e28f0b94749be9d62e98954e8af2037f99a08582cb74
