[INFO] updating cached repository https://github.com/JordanShurmer/solid-rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8d603f9af5ff584c2ea824d5a5a37e0e9f4f4202 [INFO] checking JordanShurmer/solid-rust against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJordanShurmer%2Fsolid-rust" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JordanShurmer/solid-rust on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/JordanShurmer/solid-rust [INFO] removed workspace from git repo https://github.com/JordanShurmer/solid-rust [INFO] removed path dependency server from git repo https://github.com/JordanShurmer/solid-rust [INFO] finished tweaking git repo https://github.com/JordanShurmer/solid-rust [INFO] tweaked toml for git repo https://github.com/JordanShurmer/solid-rust written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/JordanShurmer/solid-rust already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (server) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (server) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+45d050cde277b22a755847338f2acc2c7b834141" "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] 96b993c52c80ad4d7a9e1aa1610a9aa6e5a6392c5b2ef63e98acab986f21e389 [INFO] running `"docker" "start" "-a" "96b993c52c80ad4d7a9e1aa1610a9aa6e5a6392c5b2ef63e98acab986f21e389"` [INFO] [stderr] warning: dependency (server) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking server v0.1.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Checking tokio v0.2.20 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking tokio-sync v0.2.0-alpha.6 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking tokio-executor v0.2.0-alpha.6 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Checking pin-project v0.4.9 [INFO] [stderr] Checking tokio-io v0.2.0-alpha.6 [INFO] [stderr] Checking tokio-fs v0.2.0-alpha.6 [INFO] [stderr] Checking structopt v0.3.14 [INFO] [stderr] Checking solid-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `server::serve` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use server::serve; [INFO] [stderr] | ^^^^^^^^^^^^^ no `serve` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stderr] --> src/main.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[tokio::main] [INFO] [stderr] | ^^^^ could not find `main` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `server::serve` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use server::serve; [INFO] [stderr] | ^^^^^^^^^^^^^ no `serve` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stderr] --> src/main.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[tokio::main] [INFO] [stderr] | ^^^^ could not find `main` in `tokio` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `solid-rust`. [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] --> src/main.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | 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] --> src/main.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | 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, E0432, E0433, E0752. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `solid-rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "96b993c52c80ad4d7a9e1aa1610a9aa6e5a6392c5b2ef63e98acab986f21e389"` [INFO] running `"docker" "rm" "-f" "96b993c52c80ad4d7a9e1aa1610a9aa6e5a6392c5b2ef63e98acab986f21e389"` [INFO] [stdout] 96b993c52c80ad4d7a9e1aa1610a9aa6e5a6392c5b2ef63e98acab986f21e389