[INFO] cloning repository https://github.com/alex179ohm/warp-test-ws
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alex179ohm/warp-test-ws" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falex179ohm%2Fwarp-test-ws"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falex179ohm%2Fwarp-test-ws'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] b14b2ca71166f576b0b71d178d7ee331e89b0c4e
[INFO] checking alex179ohm/warp-test-ws against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falex179ohm%2Fwarp-test-ws" "/workspace/builds/worker-1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/alex179ohm/warp-test-ws 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/alex179ohm/warp-test-ws
[INFO] finished tweaking git repo https://github.com/alex179ohm/warp-test-ws
[INFO] tweaked toml for git repo https://github.com/alex179ohm/warp-test-ws written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/alex179ohm/warp-test-ws already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] de69176b8e6d317dc67780271dd5a2b5ad8057b441e5527d7862aa24e2bf12e9
[INFO] running `"docker" "start" "-a" "de69176b8e6d317dc67780271dd5a2b5ad8057b441e5527d7862aa24e2bf12e9"`
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling proc-macro-hack v0.5.14
[INFO] [stderr]     Checking futures-timer v2.0.2
[INFO] [stderr]     Checking serde_json v1.0.48
[INFO] [stderr]     Checking sha2 v0.8.1
[INFO] [stderr]     Checking tungstenite v0.10.1
[INFO] [stderr]     Checking multipart v0.16.1
[INFO] [stderr]     Checking postgres-protocol v0.5.1
[INFO] [stderr]     Checking postgres-types v0.1.1
[INFO] [stderr]    Compiling futures-macro v0.3.4
[INFO] [stderr]    Compiling tokio-macros v0.2.5
[INFO] [stderr]    Compiling pin-project-internal v0.4.8
[INFO] [stderr]    Compiling async-trait v0.1.26
[INFO] [stderr]     Checking tokio v0.2.13
[INFO] [stderr]     Checking futures-util v0.3.4
[INFO] [stderr]     Checking pin-project v0.4.8
[INFO] [stderr]     Checking futures-executor v0.3.4
[INFO] [stderr]     Checking futures v0.3.4
[INFO] [stderr]     Checking tokio-util v0.2.0
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking mobc v0.5.7
[INFO] [stderr]     Checking tokio-tungstenite v0.10.1
[INFO] [stderr]     Checking tokio-postgres v0.5.3
[INFO] [stderr]     Checking h2 v0.2.2
[INFO] [stderr]     Checking mobc-postgres v0.5.0
[INFO] [stderr]     Checking hyper v0.13.4
[INFO] [stderr]     Checking warp v0.2.2
[INFO] [stderr]     Checking warp-websocket-test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0515]: cannot return value referencing temporary value
[INFO] [stderr]    --> src/main.rs:103:40
[INFO] [stderr]     |
[INFO] [stderr] 103 |     let db_client = warp::any().map(|| pool.clone().get_conn());
[INFO] [stderr]     |                                        ------------^^^^^^^^^^^
[INFO] [stderr]     |                                        |
[INFO] [stderr]     |                                        returns a value referencing data owned by the current function
[INFO] [stderr]     |                                        temporary value created here
[INFO] [stderr] 
[INFO] [stderr] error[E0373]: closure may outlive the current function, but it borrows `pool`, which is owned by the current function
[INFO] [stderr]    --> src/main.rs:103:37
[INFO] [stderr]     |
[INFO] [stderr] 103 |     let db_client = warp::any().map(|| pool.clone().get_conn());
[INFO] [stderr]     |                                     ^^ ---- `pool` is borrowed here
[INFO] [stderr]     |                                     |
[INFO] [stderr]     |                                     may outlive borrowed value `pool`
[INFO] [stderr]     |
[INFO] [stderr] note: function requires argument type to outlive `'static`
[INFO] [stderr]    --> src/main.rs:103:21
[INFO] [stderr]     |
[INFO] [stderr] 103 |     let db_client = warp::any().map(|| pool.clone().get_conn());
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] help: to force the closure to take ownership of `pool` (and any other referenced variables), use the `move` keyword
[INFO] [stderr]     |
[INFO] [stderr] 103 |     let db_client = warp::any().map(move || pool.clone().get_conn());
[INFO] [stderr]     |                                     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0373, E0515.
[INFO] [stderr] For more information about an error, try `rustc --explain E0373`.
[INFO] [stderr] error: could not compile `warp-websocket-test`.
[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[E0515]: cannot return value referencing temporary value
[INFO] [stderr]    --> src/main.rs:103:40
[INFO] [stderr]     |
[INFO] [stderr] 103 |     let db_client = warp::any().map(|| pool.clone().get_conn());
[INFO] [stderr]     |                                        ------------^^^^^^^^^^^
[INFO] [stderr]     |                                        |
[INFO] [stderr]     |                                        returns a value referencing data owned by the current function
[INFO] [stderr]     |                                        temporary value created here
[INFO] [stderr] 
[INFO] [stderr] error[E0373]: closure may outlive the current function, but it borrows `pool`, which is owned by the current function
[INFO] [stderr]    --> src/main.rs:103:37
[INFO] [stderr]     |
[INFO] [stderr] 103 |     let db_client = warp::any().map(|| pool.clone().get_conn());
[INFO] [stderr]     |                                     ^^ ---- `pool` is borrowed here
[INFO] [stderr]     |                                     |
[INFO] [stderr]     |                                     may outlive borrowed value `pool`
[INFO] [stderr]     |
[INFO] [stderr] note: function requires argument type to outlive `'static`
[INFO] [stderr]    --> src/main.rs:103:21
[INFO] [stderr]     |
[INFO] [stderr] 103 |     let db_client = warp::any().map(|| pool.clone().get_conn());
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] help: to force the closure to take ownership of `pool` (and any other referenced variables), use the `move` keyword
[INFO] [stderr]     |
[INFO] [stderr] 103 |     let db_client = warp::any().map(move || pool.clone().get_conn());
[INFO] [stderr]     |                                     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0373, E0515.
[INFO] [stderr] For more information about an error, try `rustc --explain E0373`.
[INFO] [stderr] error: could not compile `warp-websocket-test`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "de69176b8e6d317dc67780271dd5a2b5ad8057b441e5527d7862aa24e2bf12e9"`
[INFO] running `"docker" "rm" "-f" "de69176b8e6d317dc67780271dd5a2b5ad8057b441e5527d7862aa24e2bf12e9"`
[INFO] [stdout] de69176b8e6d317dc67780271dd5a2b5ad8057b441e5527d7862aa24e2bf12e9
