[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 1.46.0 for beta-1.47-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflada-auxv%2Ftodobackend-rust" "/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/flada-auxv/todobackend-rust on toolchain 1.46.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "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-3/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" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] error: the lock file /workspace/builds/worker-3/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" "+1.46.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4ad220f6649911b224d6fe5c3150a2a81c60fc6d64072afb95c3b4decff60452
[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" "4ad220f6649911b224d6fe5c3150a2a81c60fc6d64072afb95c3b4decff60452", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4ad220f6649911b224d6fe5c3150a2a81c60fc6d64072afb95c3b4decff60452", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ad220f6649911b224d6fe5c3150a2a81c60fc6d64072afb95c3b4decff60452", kill_on_drop: false }`
[INFO] [stdout] 4ad220f6649911b224d6fe5c3150a2a81c60fc6d64072afb95c3b4decff60452
[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=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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b52414bde7719b6d57f17126abdc1e3b2b4513e80705faebf738fa4ff387beff
[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" "b52414bde7719b6d57f17126abdc1e3b2b4513e80705faebf738fa4ff387beff", kill_on_drop: false }`
[INFO] [stderr]    Compiling subtle v2.2.3
[INFO] [stderr]    Compiling cpuid-bool v0.1.2
[INFO] [stderr]    Compiling route-recognizer v0.1.13
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling async-trait v0.1.40
[INFO] [stderr]    Compiling futures-util v0.3.5
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling mime v0.2.6
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling sha2 v0.9.1
[INFO] [stderr]    Compiling hmac v0.8.1
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling tokio v0.2.22
[INFO] [stderr]    Compiling hyper v0.10.16
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling mime_guess v1.8.8
[INFO] [stderr]    Compiling postgres-protocol v0.5.2
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.5
[INFO] [stderr]    Compiling r2d2 v0.8.9
[INFO] [stderr]    Compiling postgres-types v0.1.2
[INFO] [stderr]    Compiling iron v0.6.1
[INFO] [stderr]    Compiling tokio-util v0.3.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 futures-executor v0.3.5
[INFO] [stderr]    Compiling futures v0.3.5
[INFO] [stderr]    Compiling tokio-postgres v0.5.5
[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" "b52414bde7719b6d57f17126abdc1e3b2b4513e80705faebf738fa4ff387beff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b52414bde7719b6d57f17126abdc1e3b2b4513e80705faebf738fa4ff387beff", kill_on_drop: false }`
[INFO] [stdout] b52414bde7719b6d57f17126abdc1e3b2b4513e80705faebf738fa4ff387beff
