[INFO] fetching crate panda 0.5.0... [INFO] checking panda-0.5.0 against master#783139bd8fc3b94fac9a1bf81bba2c506e8221b6 for pr-72644 [INFO] extracting crate panda 0.5.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate panda 0.5.0 on toolchain 783139bd8fc3b94fac9a1bf81bba2c506e8221b6 [INFO] running `"/workspace/cargo-home/bin/cargo" "+783139bd8fc3b94fac9a1bf81bba2c506e8221b6" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate panda 0.5.0 [INFO] finished tweaking crates.io crate panda 0.5.0 [INFO] tweaked toml for crates.io crate panda 0.5.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate crates.io crate panda 0.5.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+783139bd8fc3b94fac9a1bf81bba2c506e8221b6" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+783139bd8fc3b94fac9a1bf81bba2c506e8221b6" "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] f67698fee0c5d44d36e20f7b4074a12892ee2fa329fe23bd87d3f1d1a5ffa042 [INFO] running `"docker" "start" "-a" "f67698fee0c5d44d36e20f7b4074a12892ee2fa329fe23bd87d3f1d1a5ffa042"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.23 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling curl v0.4.29 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling isahc v0.9.3 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Checking tracing-core v0.1.10 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling libnghttp2-sys v0.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.57 [INFO] [stderr] Compiling curl-sys v0.4.31+curl-7.70.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking tungstenite v0.10.1 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tracing-attributes v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling serde_repr v0.1.5 [INFO] [stderr] Checking tracing v0.1.14 [INFO] [stderr] Checking pin-project v0.4.17 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking serde v1.0.110 [INFO] [stderr] Checking sluice v0.5.2 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking async-tungstenite v0.5.0 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking panda v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> examples/ping_pong.rs:1:3 [INFO] [stderr] | [INFO] [stderr] 1 | #[tokio::main] [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `new` in crate `panda` [INFO] [stderr] --> examples/ping_pong.rs:3:29 [INFO] [stderr] | [INFO] [stderr] 3 | let mut client = panda::new("your token here").await?; [INFO] [stderr] | ^^^ not found in `panda` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `panda::events`, `panda::models`, `panda::HandlerResult`, `panda::Session` [INFO] [stderr] --> examples/embed.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use panda::{events::MessageCreate, models::Embed, HandlerResult, Session}; [INFO] [stderr] | ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ no `Session` in the root [INFO] [stderr] | | | | [INFO] [stderr] | | | no `HandlerResult` in the root [INFO] [stderr] | | could not find `models` in `panda` [INFO] [stderr] | could not find `events` in `panda` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> examples/embed.rs:7:3 [INFO] [stderr] | [INFO] [stderr] 7 | #[tokio::main] [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `new` in crate `panda` [INFO] [stderr] --> examples/embed.rs:9:29 [INFO] [stderr] | [INFO] [stderr] 9 | let mut client = panda::new("your token here").await?; [INFO] [stderr] | ^^^ not found in `panda` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `panda::client` [INFO] [stderr] --> examples/config.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | use panda::client::Config; [INFO] [stderr] | ^^^^^^ could not find `client` in `panda` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> examples/config.rs:3:3 [INFO] [stderr] | [INFO] [stderr] 3 | #[tokio::main] [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `new` in crate `panda` [INFO] [stderr] --> examples/config.rs:5:29 [INFO] [stderr] | [INFO] [stderr] 5 | let mut client = panda::new("your token here").await?; [INFO] [stderr] | ^^^ not found in `panda` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `panda::Session`, `panda::events`, `panda::HandlerResult` [INFO] [stderr] --> examples/state.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use panda::{Session, events::GuildMemberAdd, HandlerResult }; [INFO] [stderr] | ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ no `HandlerResult` in the root [INFO] [stderr] | | | [INFO] [stderr] | | could not find `events` in `panda` [INFO] [stderr] | no `Session` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> examples/state.rs:19:3 [INFO] [stderr] | [INFO] [stderr] 19 | #[tokio::main] [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `new_with_state` in crate `panda` [INFO] [stderr] --> examples/state.rs:21:29 [INFO] [stderr] | [INFO] [stderr] 21 | let mut client = panda::new_with_state("your token here", State::default()).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in `panda` [INFO] [stderr] [INFO] [stderr] error[E0277]: `main` has invalid return type `impl futures_core::Future` [INFO] [stderr] --> examples/ping_pong.rs:2:20 [INFO] [stderr] | [INFO] [stderr] 2 | async fn main() -> Result<(), Box> { [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/ping_pong.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | async fn main() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0425, E0433, E0752. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `panda`. [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 futures::Future` [INFO] [stderr] --> examples/embed.rs:8:20 [INFO] [stderr] | [INFO] [stderr] 8 | async fn main() -> Result<(), Box> { [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/embed.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | async fn main() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0425, E0432, E0433, E0752. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error[E0277]: `main` has invalid return type `impl opaque_debug::core::future::future::Future` [INFO] [stderr] --> examples/state.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | async fn main() -> Result<(), Box> { [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/state.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | async fn main() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0425, E0432, E0433, E0752. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error[E0277]: `main` has invalid return type `impl futures::Future` [INFO] [stderr] --> examples/config.rs:4:20 [INFO] [stderr] | [INFO] [stderr] 4 | async fn main() -> Result<(), Box> { [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/config.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | async fn main() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0425, E0432, E0433, E0752. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "f67698fee0c5d44d36e20f7b4074a12892ee2fa329fe23bd87d3f1d1a5ffa042"` [INFO] running `"docker" "rm" "-f" "f67698fee0c5d44d36e20f7b4074a12892ee2fa329fe23bd87d3f1d1a5ffa042"` [INFO] [stdout] f67698fee0c5d44d36e20f7b4074a12892ee2fa329fe23bd87d3f1d1a5ffa042