[INFO] updating cached repository flada-auxv/todobackend-rust
[INFO] running `"git" "fetch" "--all"`
[INFO] [stdout] Fetching origin
[INFO] [stderr] From git://github.com/flada-auxv/todobackend-rust
[INFO] [stderr]  * branch            HEAD       -> FETCH_HEAD
[INFO] running `"git" "clone" "work/cache/sources/gh/flada-auxv/todobackend-rust" "work/ex/beta-1.37-6/sources/1.36.0/gh/flada-auxv/todobackend-rust"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/flada-auxv/todobackend-rust'...
[INFO] [stderr] done.
[INFO] running `"git" "clone" "work/cache/sources/gh/flada-auxv/todobackend-rust" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/flada-auxv/todobackend-rust"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/flada-auxv/todobackend-rust'...
[INFO] [stderr] done.
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 6262234d4c3f7f0b8fa6c159a3de9ea4b092d5b3
[INFO] sha for GitHub repo flada-auxv/todobackend-rust: 6262234d4c3f7f0b8fa6c159a3de9ea4b092d5b3
[INFO] validating manifest of flada-auxv/todobackend-rust on toolchain 1.36.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of flada-auxv/todobackend-rust on toolchain beta-2019-07-23
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing flada-auxv/todobackend-rust
[INFO] finished frobbing flada-auxv/todobackend-rust
[INFO] frobbed toml for flada-auxv/todobackend-rust written to work/ex/beta-1.37-6/sources/1.36.0/gh/flada-auxv/todobackend-rust/Cargo.toml
[INFO] started frobbing flada-auxv/todobackend-rust
[INFO] finished frobbing flada-auxv/todobackend-rust
[INFO] frobbed toml for flada-auxv/todobackend-rust written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/flada-auxv/todobackend-rust/Cargo.toml
[INFO] crate flada-auxv/todobackend-rust already has a lockfile, it will not be regenerated
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/flada-auxv/todobackend-rust/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] testing flada-auxv/todobackend-rust against beta-2019-07-23 for beta-1.37-6
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-1/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/flada-auxv/todobackend-rust:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-07-23" "build" "--frozen"`
[INFO] [stdout] 591c7b04ff70ac36fa03c7b562560bc1284c42c753db1c7528f68b070a95cd54
[INFO] running `"docker" "start" "-a" "591c7b04ff70ac36fa03c7b562560bc1284c42c753db1c7528f68b070a95cd54"`
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling iovec v0.1.2
[INFO] [stderr]    Compiling socket2 v0.3.10
[INFO] [stderr]    Compiling base64 v0.6.0
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling postgres-protocol v0.3.2
[INFO] [stderr]    Compiling postgres-shared v0.4.2
[INFO] [stderr]    Compiling postgres v0.15.2
[INFO] [stderr]    Compiling r2d2_postgres v0.14.0
[INFO] [stderr]    Compiling todo-backend-rust v0.1.0 (/opt/crater/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: could not find `SslMode` in `postgres`
[INFO] [stderr]   --> src/main.rs:45:93
[INFO] [stderr]    |
[INFO] [stderr] 45 |         let manager = r2d2_postgres::PostgresConnectionManager::new(url.as_ref(), postgres::SslMode::None).unwrap_or_else(|e| panic!("{}", e));
[INFO] [stderr]    |                                                                                             ^^^^^^^ could not find `SslMode` in `postgres`
[INFO] [stderr] 
[INFO] [stderr] error[E0423]: expected function, found struct `UniCase`
[INFO] [stderr]   --> src/main.rs:29:65
[INFO] [stderr]    |
[INFO] [stderr] 29 |         res.headers.set(headers::AccessControlAllowHeaders(vec![UniCase("content-type".to_owned()), UniCase("accept".to_owned())]));
[INFO] [stderr]    |                                                                 ^^^^^^^ constructor is not visible here due to private fields
[INFO] [stderr] 
[INFO] [stderr] error[E0423]: expected function, found struct `UniCase`
[INFO] [stderr]   --> src/main.rs:29:101
[INFO] [stderr]    |
[INFO] [stderr] 29 |         res.headers.set(headers::AccessControlAllowHeaders(vec![UniCase("content-type".to_owned()), UniCase("accept".to_owned())]));
[INFO] [stderr]    |                                                                                                     ^^^^^^^ constructor is not visible here due to private fields
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: struct `Config` is private
[INFO] [stderr]   --> src/main.rs:43:28
[INFO] [stderr]    |
[INFO] [stderr] 43 |         let config = r2d2::Config::default();
[INFO] [stderr]    |                            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]    --> src/main.rs:136:27
[INFO] [stderr]     |
[INFO] [stderr] 136 |         Ok(Response::with((status::Ok)))
[INFO] [stderr]     |                           ^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr]     = note: #[warn(unused_parens)] on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `default` found for type `r2d2::config::Config<_, _>` in the current scope
[INFO] [stderr]   --> src/main.rs:43:36
[INFO] [stderr]    |
[INFO] [stderr] 43 |         let config = r2d2::Config::default();
[INFO] [stderr]    |                                    ^^^^^^^ function or associated item not found in `r2d2::config::Config<_, _>`
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 1 parameter but 2 parameters were supplied
[INFO] [stderr]   --> src/main.rs:46:9
[INFO] [stderr]    |
[INFO] [stderr] 46 |         r2d2::Pool::new(config, manager).unwrap_or_else(|e| panic!("{}", e))
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied
[INFO] [stderr]   --> src/main.rs:86:12
[INFO] [stderr]    |
[INFO] [stderr] 86 |     router.get("/", |_: &mut Request| {
[INFO] [stderr]    |            ^^^ expected 3 parameters
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied
[INFO] [stderr]   --> src/main.rs:90:12
[INFO] [stderr]    |
[INFO] [stderr] 90 |     router.get("/todos", |req: &mut Request| {
[INFO] [stderr]    |            ^^^ expected 3 parameters
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied
[INFO] [stderr]    --> src/main.rs:101:12
[INFO] [stderr]     |
[INFO] [stderr] 101 |     router.get("/todos/:id", |req: &mut Request| {
[INFO] [stderr]     |            ^^^ expected 3 parameters
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied
[INFO] [stderr]    --> src/main.rs:114:12
[INFO] [stderr]     |
[INFO] [stderr] 114 |     router.post("/todos", |req: &mut Request| {
[INFO] [stderr]     |            ^^^^ expected 3 parameters
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `for<'a> Todo: serde::de::Deserialize<'a>` is not satisfied
[INFO] [stderr]    --> src/main.rs:117:19
[INFO] [stderr]     |
[INFO] [stderr] 117 |         match req.get::<bodyparser::Struct<Todo>>() {
[INFO] [stderr]     |                   ^^^ the trait `for<'a> serde::de::Deserialize<'a>` is not implemented for `Todo`
[INFO] [stderr]     |
[INFO] [stderr]     = note: required because of the requirements on the impl of `iron::typemap::Key` for `bodyparser::Struct<Todo>`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `for<'a> Todo: serde::de::Deserialize<'a>` is not satisfied
[INFO] [stderr]    --> src/main.rs:117:25
[INFO] [stderr]     |
[INFO] [stderr] 117 |         match req.get::<bodyparser::Struct<Todo>>() {
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'a> serde::de::Deserialize<'a>` is not implemented for `Todo`
[INFO] [stderr]     |
[INFO] [stderr]     = note: required by `bodyparser::Struct`
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied
[INFO] [stderr]    --> src/main.rs:131:12
[INFO] [stderr]     |
[INFO] [stderr] 131 |     router.delete("/todos", |req: &mut Request| {
[INFO] [stderr]     |            ^^^^^^ expected 3 parameters
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 13 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0423, E0433, E0599, E0603.
[INFO] [stderr] For more information about an error, try `rustc --explain E0061`.
[INFO] [stderr] error: Could not compile `todo-backend-rust`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "591c7b04ff70ac36fa03c7b562560bc1284c42c753db1c7528f68b070a95cd54"`
[INFO] running `"docker" "rm" "-f" "591c7b04ff70ac36fa03c7b562560bc1284c42c753db1c7528f68b070a95cd54"`
[INFO] [stdout] 591c7b04ff70ac36fa03c7b562560bc1284c42c753db1c7528f68b070a95cd54
