[INFO] updating cached repository https://github.com/flada-auxv/todobackend-rust
[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] 6262234d4c3f7f0b8fa6c159a3de9ea4b092d5b3
[INFO] checking flada-auxv/todobackend-rust against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflada-auxv%2Ftodobackend-rust" "/workspace/builds/worker-2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/flada-auxv/todobackend-rust on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[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-2/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 `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] error: the lock file /workspace/builds/worker-2/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 `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=forbid" "-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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stdout] 84e0e81c32754c243d7cdc17ba45329218e08f5517e68a838e2f4df3ccf4b98a
[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" "84e0e81c32754c243d7cdc17ba45329218e08f5517e68a838e2f4df3ccf4b98a"`
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]     Checking siphasher v0.3.2
[INFO] [stderr]     Checking base64 v0.12.0
[INFO] [stderr]     Checking md5 v0.7.0
[INFO] [stderr]     Checking itoa v0.4.5
[INFO] [stderr]     Checking route-recognizer v0.1.13
[INFO] [stderr]     Checking futures-channel v0.3.4
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]     Checking unsafe-any v0.4.2
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking stringprep v0.1.2
[INFO] [stderr]     Checking parking_lot_core v0.7.1
[INFO] [stderr]     Checking base64 v0.9.3
[INFO] [stderr]     Checking mio-uds v0.6.7
[INFO] [stderr]    Compiling futures-macro v0.3.4
[INFO] [stderr]    Compiling async-trait v0.1.30
[INFO] [stderr]     Checking typemap v0.3.3
[INFO] [stderr]     Checking serde_json v1.0.51
[INFO] [stderr]     Checking phf_shared v0.8.0
[INFO] [stderr]     Checking tokio v0.2.18
[INFO] [stderr]     Checking plugin v0.2.6
[INFO] [stderr]     Checking parking_lot v0.10.2
[INFO] [stderr]     Checking phf v0.8.0
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]     Checking scheduled-thread-pool v0.2.4
[INFO] [stderr]     Checking r2d2 v0.8.8
[INFO] [stderr]     Checking generic-array v0.12.3
[INFO] [stderr]     Checking hyper v0.10.16
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking crypto-mac v0.7.0
[INFO] [stderr]     Checking hmac v0.7.1
[INFO] [stderr]     Checking sha2 v0.8.1
[INFO] [stderr]     Checking futures-util v0.3.4
[INFO] [stderr]     Checking postgres-protocol v0.5.1
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking postgres-types v0.1.1
[INFO] [stderr]     Checking iron v0.6.1
[INFO] [stderr]     Checking persistent v0.4.0
[INFO] [stderr]     Checking router v0.6.0
[INFO] [stderr]     Checking bodyparser v0.8.0
[INFO] [stderr]     Checking futures-executor v0.3.4
[INFO] [stderr]     Checking futures v0.3.4
[INFO] [stderr]     Checking tokio-postgres v0.5.3
[INFO] [stderr]     Checking postgres v0.17.2
[INFO] [stderr]     Checking r2d2_postgres v0.16.0
[INFO] [stderr]     Checking todo-backend-rust v0.1.0 (/opt/rustwide/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[E0433]: failed to resolve: could not find `rows` in `postgres`
[INFO] [stderr]   --> src/main.rs:62:27
[INFO] [stderr]    |
[INFO] [stderr] 62 |     fn new(row: postgres::rows::Row) -> Todo {
[INFO] [stderr]    |                           ^^^^ could not find `rows` in `postgres`
[INFO] [stderr] 
[INFO] [stderr] error[E0423]: expected function, tuple struct or tuple variant, 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, tuple struct or tuple variant, 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]    |                            ^^^^^^ private struct
[INFO] [stderr]    |
[INFO] [stderr] note: the struct `Config` is defined here
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r2d2-0.8.8/src/lib.rs:55:5
[INFO] [stderr]    |
[INFO] [stderr] 55 | use crate::config::Config;
[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[E0107]: wrong number of type arguments: expected 1, found 0
[INFO] [stderr]   --> src/main.rs:35:24
[INFO] [stderr]    |
[INFO] [stderr] 35 | type Pool = r2d2::Pool<r2d2_postgres::PostgresConnectionManager>;
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument
[INFO] [stderr] 
[INFO] [stderr] error[E0107]: wrong number of type arguments: expected 1, found 0
[INFO] [stderr]   --> src/main.rs:36:48
[INFO] [stderr]    |
[INFO] [stderr] 36 | type PooledConnection = r2d2::PooledConnection<r2d2_postgres::PostgresConnectionManager>;
[INFO] [stderr]    |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 7 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0107, E0423, E0433, E0603.
[INFO] [stderr] For more information about an error, try `rustc --explain E0107`.
[INFO] [stderr] error: could not compile `todo-backend-rust`.
[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[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[E0433]: failed to resolve: could not find `rows` in `postgres`
[INFO] [stderr]   --> src/main.rs:62:27
[INFO] [stderr]    |
[INFO] [stderr] 62 |     fn new(row: postgres::rows::Row) -> Todo {
[INFO] [stderr]    |                           ^^^^ could not find `rows` in `postgres`
[INFO] [stderr] 
[INFO] [stderr] error[E0423]: expected function, tuple struct or tuple variant, 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, tuple struct or tuple variant, 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]    |                            ^^^^^^ private struct
[INFO] [stderr]    |
[INFO] [stderr] note: the struct `Config` is defined here
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r2d2-0.8.8/src/lib.rs:55:5
[INFO] [stderr]    |
[INFO] [stderr] 55 | use crate::config::Config;
[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[E0107]: wrong number of type arguments: expected 1, found 0
[INFO] [stderr]   --> src/main.rs:35:24
[INFO] [stderr]    |
[INFO] [stderr] 35 | type Pool = r2d2::Pool<r2d2_postgres::PostgresConnectionManager>;
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument
[INFO] [stderr] 
[INFO] [stderr] error[E0107]: wrong number of type arguments: expected 1, found 0
[INFO] [stderr]   --> src/main.rs:36:48
[INFO] [stderr]    |
[INFO] [stderr] 36 | type PooledConnection = r2d2::PooledConnection<r2d2_postgres::PostgresConnectionManager>;
[INFO] [stderr]    |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 7 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0107, E0423, E0433, E0603.
[INFO] [stderr] For more information about an error, try `rustc --explain E0107`.
[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" "84e0e81c32754c243d7cdc17ba45329218e08f5517e68a838e2f4df3ccf4b98a"`
[INFO] running `"docker" "rm" "-f" "84e0e81c32754c243d7cdc17ba45329218e08f5517e68a838e2f4df3ccf4b98a"`
[INFO] [stdout] 84e0e81c32754c243d7cdc17ba45329218e08f5517e68a838e2f4df3ccf4b98a
