[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-08-29 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-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/flada-auxv/todobackend-rust on toolchain beta-2020-08-29
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "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-4/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-08-29" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-4/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-08-29" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded postgres-protocol v0.5.2
[INFO] [stderr]   Downloaded bodyparser v0.8.0
[INFO] [stderr]   Downloaded hmac v0.8.1
[INFO] [stderr]   Downloaded scheduled-thread-pool v0.2.5
[INFO] [stderr]   Downloaded persistent v0.4.0
[INFO] [stderr]   Downloaded opaque-debug v0.3.0
[INFO] [stderr]   Downloaded block-buffer v0.9.0
[INFO] [stderr]   Downloaded sha2 v0.9.1
[INFO] [stderr]   Downloaded cpuid-bool v0.1.2
[INFO] [stderr]   Downloaded subtle v2.2.3
[INFO] [stderr]   Downloaded fallible-iterator v0.2.0
[INFO] [stderr]   Downloaded generic-array v0.14.4
[INFO] [stderr]   Downloaded crypto-mac v0.8.0
[INFO] [stderr]   Downloaded md5 v0.7.0
[INFO] [stderr]   Downloaded digest v0.9.0
[INFO] [stderr]   Downloaded tokio-postgres v0.5.5
[INFO] [stderr]   Downloaded r2d2 v0.8.9
[INFO] [stderr]   Downloaded postgres-types v0.1.2
[INFO] [stderr]   Downloaded postgres v0.17.5
[INFO] [stderr]   Downloaded r2d2_postgres v0.16.0
[INFO] [stderr]   Downloaded router v0.6.0
[INFO] [stderr]   Downloaded route-recognizer v0.1.13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+beta-2020-08-29" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 96835d4eaa7a5780c66a12a476b1abd9edd0885f24c45aaee712d2e32b4eaa4a
[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" "96835d4eaa7a5780c66a12a476b1abd9edd0885f24c45aaee712d2e32b4eaa4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "96835d4eaa7a5780c66a12a476b1abd9edd0885f24c45aaee712d2e32b4eaa4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96835d4eaa7a5780c66a12a476b1abd9edd0885f24c45aaee712d2e32b4eaa4a", kill_on_drop: false }`
[INFO] [stdout] 96835d4eaa7a5780c66a12a476b1abd9edd0885f24c45aaee712d2e32b4eaa4a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+beta-2020-08-29" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 722fbb7e11014be2e603dbf0dccbe28c8e692f41cb5176a0d2bd38649a5df190
[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" "722fbb7e11014be2e603dbf0dccbe28c8e692f41cb5176a0d2bd38649a5df190", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.39
[INFO] [stderr]    Compiling cpuid-bool v0.1.2
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling modifier v0.1.0
[INFO] [stderr]    Compiling route-recognizer v0.1.13
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling futures-channel v0.3.5
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling plugin v0.2.6
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling hyper v0.10.16
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.5
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling r2d2 v0.8.9
[INFO] [stderr]    Compiling tokio v0.2.22
[INFO] [stderr]    Compiling mime_guess v1.8.8
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[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 postgres-protocol v0.5.2
[INFO] [stderr]    Compiling postgres-types v0.1.2
[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.3.1
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]    Compiling async-trait v0.1.40
[INFO] [stderr]    Compiling pin-project v0.4.23
[INFO] [stderr]    Compiling futures-util v0.3.5
[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" "722fbb7e11014be2e603dbf0dccbe28c8e692f41cb5176a0d2bd38649a5df190", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "722fbb7e11014be2e603dbf0dccbe28c8e692f41cb5176a0d2bd38649a5df190", kill_on_drop: false }`
[INFO] [stdout] 722fbb7e11014be2e603dbf0dccbe28c8e692f41cb5176a0d2bd38649a5df190
