[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] testing JordanShurmer/solid-rust against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJordanShurmer%2Fsolid-rust" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JordanShurmer/solid-rust on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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-2/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" "+1.44.0" "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-2/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" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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" "+1.44.0" "build" "--frozen"` [INFO] [stdout] fb2bf6960931eaecaddfc29f2d4de6e2698fe768e0abc505b5d45f6c8c002228 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "fb2bf6960931eaecaddfc29f2d4de6e2698fe768e0abc505b5d45f6c8c002228"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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 futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling server v0.1.0 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling pretty_env_logger v0.3.1 [INFO] [stderr] Compiling tokio-sync v0.2.0-alpha.6 [INFO] [stderr] Compiling tokio-executor v0.2.0-alpha.6 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling pin-project-internal v0.4.19 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Compiling pin-project v0.4.19 [INFO] [stderr] Compiling tokio-io v0.2.0-alpha.6 [INFO] [stderr] Compiling tokio-fs v0.2.0-alpha.6 [INFO] [stderr] Compiling structopt v0.3.14 [INFO] [stderr] Compiling 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[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" "fb2bf6960931eaecaddfc29f2d4de6e2698fe768e0abc505b5d45f6c8c002228"` [INFO] running `"docker" "rm" "-f" "fb2bf6960931eaecaddfc29f2d4de6e2698fe768e0abc505b5d45f6c8c002228"` [INFO] [stdout] fb2bf6960931eaecaddfc29f2d4de6e2698fe768e0abc505b5d45f6c8c002228