[INFO] fetching crate bb8-postgres 0.4.0... [INFO] checking bb8-postgres-0.4.0 against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] extracting crate bb8-postgres 0.4.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate bb8-postgres 0.4.0 on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "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-9/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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 074786060ef244f1201c73766f8f12ef01b0c48d5b5590d68b1c8ef16640901c [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" "074786060ef244f1201c73766f8f12ef01b0c48d5b5590d68b1c8ef16640901c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "074786060ef244f1201c73766f8f12ef01b0c48d5b5590d68b1c8ef16640901c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "074786060ef244f1201c73766f8f12ef01b0c48d5b5590d68b1c8ef16640901c", kill_on_drop: false }` [INFO] [stdout] 074786060ef244f1201c73766f8f12ef01b0c48d5b5590d68b1c8ef16640901c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9fb3ec39fb94becb9824ed8a5f28dd23501189b9f0213e61c792935ae418a46 [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" "e9fb3ec39fb94becb9824ed8a5f28dd23501189b9f0213e61c792935ae418a46", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling log v0.4.8 [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 pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking pin-project-lite v0.1.2 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking siphasher v0.3.1 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.11 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling indexmap v1.3.1 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [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] Checking stringprep v0.1.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [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 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 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 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] [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/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[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[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] [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/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: 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/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[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: aborting due to 3 previous errors [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] 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" "e9fb3ec39fb94becb9824ed8a5f28dd23501189b9f0213e61c792935ae418a46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9fb3ec39fb94becb9824ed8a5f28dd23501189b9f0213e61c792935ae418a46", kill_on_drop: false }` [INFO] [stdout] e9fb3ec39fb94becb9824ed8a5f28dd23501189b9f0213e61c792935ae418a46