[INFO] crate bb8-postgres 0.4.0 is already in cache [INFO] checking bb8-postgres-0.4.0 against master#4fb54ed484e2239a3e9eff3be17df00d2a162be3 for pr-73345 [INFO] extracting crate bb8-postgres 0.4.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate bb8-postgres 0.4.0 on toolchain 4fb54ed484e2239a3e9eff3be17df00d2a162be3 [INFO] running `"/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate bb8-postgres 0.4.0 [INFO] finished tweaking crates.io crate bb8-postgres 0.4.0 [INFO] tweaked toml for crates.io crate bb8-postgres 0.4.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate bb8-postgres 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "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] 679510579d254f952d5d1ad174fa8f32115a5360402714cc584ae518c3480ada [INFO] running `"docker" "start" "-a" "679510579d254f952d5d1ad174fa8f32115a5360402714cc584ae518c3480ada"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking futures-task v0.3.1 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking futures-io v0.3.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.1.2 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking siphasher v0.3.1 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.1 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling indexmap v1.3.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio v0.2.9 [INFO] [stderr] Checking postgres-protocol v0.5.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking postgres-types v0.1.0 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling pin-project-internal v0.4.6 [INFO] [stderr] Compiling async-trait v0.1.22 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Checking pin-project v0.4.6 [INFO] [stderr] Checking futures-executor v0.3.1 [INFO] [stderr] Checking h2 v0.2.1 [INFO] [stderr] Checking futures v0.3.1 [INFO] [stderr] Checking bb8 v0.4.0 [INFO] [stderr] Checking tokio-postgres v0.5.1 [INFO] [stderr] Checking bb8-postgres v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking hyper v0.13.1 [INFO] [stderr] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stderr] --> examples/txn.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[tokio::main] [INFO] [stderr] | ^^^^ could not find `main` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stderr] --> examples/async_await.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[tokio::main] [INFO] [stderr] | ^^^^ could not find `main` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stderr] --> examples/static_select.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[tokio::main] [INFO] [stderr] | ^^^^ could not find `main` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stderr] --> examples/hyper.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[tokio::main] [INFO] [stderr] | ^^^^ could not find `main` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stderr] --> examples/txn.rs:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | async fn main() { [INFO] [stderr] | ^ `main` can only return types that implement `std::process::Termination` [INFO] [stderr] | [INFO] [stderr] = help: consider using `()`, or a `Result` [INFO] [stderr] [INFO] [stderr] error[E0752]: `main` function is not allowed to be `async` [INFO] [stderr] --> examples/txn.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | async fn main() { [INFO] [stderr] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0433, E0752. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `bb8-postgres`. [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[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stderr] --> examples/async_await.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | async fn main() { [INFO] [stderr] | ^ `main` can only return types that implement `std::process::Termination` [INFO] [stderr] | [INFO] [stderr] = help: consider using `()`, or a `Result` [INFO] [stderr] [INFO] [stderr] error[E0752]: `main` function is not allowed to be `async` [INFO] [stderr] --> examples/async_await.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | async fn main() { [INFO] [stderr] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0433, E0752. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stderr] --> examples/static_select.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | async fn main() { [INFO] [stderr] | ^ `main` can only return types that implement `std::process::Termination` [INFO] [stderr] | [INFO] [stderr] = help: consider using `()`, or a `Result` [INFO] [stderr] [INFO] [stderr] error[E0752]: `main` function is not allowed to be `async` [INFO] [stderr] --> examples/static_select.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | async fn main() { [INFO] [stderr] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0433, E0752. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stderr] --> examples/hyper.rs:16:17 [INFO] [stderr] | [INFO] [stderr] 16 | async fn main() { [INFO] [stderr] | ^ `main` can only return types that implement `std::process::Termination` [INFO] [stderr] | [INFO] [stderr] = help: consider using `()`, or a `Result` [INFO] [stderr] [INFO] [stderr] error[E0752]: `main` function is not allowed to be `async` [INFO] [stderr] --> examples/hyper.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | async fn main() { [INFO] [stderr] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0433, E0752. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "679510579d254f952d5d1ad174fa8f32115a5360402714cc584ae518c3480ada"` [INFO] running `"docker" "rm" "-f" "679510579d254f952d5d1ad174fa8f32115a5360402714cc584ae518c3480ada"` [INFO] [stdout] 679510579d254f952d5d1ad174fa8f32115a5360402714cc584ae518c3480ada