[INFO] fetching crate bb8-postgres 0.4.0... [INFO] checking bb8-postgres-0.4.0 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] extracting crate bb8-postgres 0.4.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate bb8-postgres 0.4.0 on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-4/source/Cargo.toml [INFO] crate crates.io crate bb8-postgres 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded eui48 v0.4.6 [INFO] [stderr] Downloaded tokio-postgres v0.5.1 [INFO] [stderr] Downloaded postgres-types v0.1.0 [INFO] [stderr] Downloaded bb8 v0.4.0 [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 90d6ece8f80481106b1a50c39a8f941e7ff1dd0029cce22a89cc5042b1b1e27e [INFO] running `Command { std: "docker" "start" "-a" "90d6ece8f80481106b1a50c39a8f941e7ff1dd0029cce22a89cc5042b1b1e27e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90d6ece8f80481106b1a50c39a8f941e7ff1dd0029cce22a89cc5042b1b1e27e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90d6ece8f80481106b1a50c39a8f941e7ff1dd0029cce22a89cc5042b1b1e27e", kill_on_drop: false }` [INFO] [stdout] 90d6ece8f80481106b1a50c39a8f941e7ff1dd0029cce22a89cc5042b1b1e27e [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=forbid" "-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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1859491d655fade29eb9c1615ec4a3054984fac2a470bf1597ed68c83fd592e0 [INFO] running `Command { std: "docker" "start" "-a" "1859491d655fade29eb9c1615ec4a3054984fac2a470bf1597ed68c83fd592e0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Checking bytes v0.5.3 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking futures-io v0.3.1 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking futures-task v0.3.1 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking pin-project-lite v0.1.2 [INFO] [stderr] Checking siphasher v0.3.1 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking futures-channel v0.3.1 [INFO] [stderr] Compiling indexmap v1.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.11 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [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 mio-uds v0.6.7 [INFO] [stderr] Checking tokio v0.2.9 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking postgres-protocol v0.5.0 [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 async-trait v0.1.22 [INFO] [stderr] Compiling pin-project-internal v0.4.6 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking pin-project v0.4.6 [INFO] [stderr] Checking futures-util v0.3.1 [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 tokio-postgres v0.5.1 [INFO] [stderr] Checking bb8 v0.4.0 [INFO] [stderr] Checking bb8-postgres v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking hyper v0.13.1 [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> examples/static_select.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> examples/txn.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> examples/async_await.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> examples/hyper.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl Future` [INFO] [stdout] --> examples/static_select.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | async fn main() { [INFO] [stdout] | ^ `main` can only return types that implement `Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/static_select.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [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] [stdout] error[E0277]: `main` has invalid return type `impl Future` [INFO] [stdout] --> examples/async_await.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | async fn main() { [INFO] [stdout] | ^ `main` can only return types that implement `Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/async_await.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl Future` [INFO] [stdout] --> examples/hyper.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | async fn main() { [INFO] [stdout] | ^ `main` can only return types that implement `Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/hyper.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl Future` [INFO] [stdout] --> examples/txn.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | async fn main() { [INFO] [stdout] | ^ `main` can only return types that implement `Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/txn.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1859491d655fade29eb9c1615ec4a3054984fac2a470bf1597ed68c83fd592e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1859491d655fade29eb9c1615ec4a3054984fac2a470bf1597ed68c83fd592e0", kill_on_drop: false }` [INFO] [stdout] 1859491d655fade29eb9c1615ec4a3054984fac2a470bf1597ed68c83fd592e0