[INFO] cloning repository https://github.com/rock16/zero2prod [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rock16/zero2prod" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frock16%2Fzero2prod", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frock16%2Fzero2prod'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c553929c88a914cf63effe19af23e777f399636b [INFO] checking rock16/zero2prod against try#e90f1ff63e694965281f833819a486da29772bdf for pr-146167 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frock16%2Fzero2prod" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rock16/zero2prod [INFO] finished tweaking git repo https://github.com/rock16/zero2prod [INFO] tweaked toml for git repo https://github.com/rock16/zero2prod written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rock16/zero2prod on toolchain e90f1ff63e694965281f833819a486da29772bdf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rock16/zero2prod already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.5.1 [INFO] [stderr] Downloaded actix-router v0.5.3 [INFO] [stderr] Downloaded regex-lite v0.1.5 [INFO] [stderr] Downloaded backtrace v0.3.72 [INFO] [stderr] Downloaded actix-http v3.7.0 [INFO] [stderr] Downloaded brotli-decompressor v4.0.1 [INFO] [stderr] Downloaded actix-web v4.6.0 [INFO] [stderr] Downloaded object v0.35.0 [INFO] [stderr] Downloaded brotli v6.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c81b224992e89cb5e7b27ccf910eb1ac5f73ed1c998ec9587eb8401c620f4f6 [INFO] running `Command { std: "docker" "start" "-a" "4c81b224992e89cb5e7b27ccf910eb1ac5f73ed1c998ec9587eb8401c620f4f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c81b224992e89cb5e7b27ccf910eb1ac5f73ed1c998ec9587eb8401c620f4f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c81b224992e89cb5e7b27ccf910eb1ac5f73ed1c998ec9587eb8401c620f4f6", kill_on_drop: false }` [INFO] [stdout] 4c81b224992e89cb5e7b27ccf910eb1ac5f73ed1c998ec9587eb8401c620f4f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d20b2b5aa968fdad34a65029c860aa7750ffa7c0b8c95561f7e34ab7bd87523f [INFO] running `Command { std: "docker" "start" "-a" "d20b2b5aa968fdad34a65029c860aa7750ffa7c0b8c95561f7e34ab7bd87523f", kill_on_drop: false }` [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Compiling regex-lite v0.1.5 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking httparse v1.8.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking actix-router v0.5.3 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-server v2.3.0 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Checking actix-http v3.7.0 [INFO] [stderr] Checking actix-web v4.6.0 [INFO] [stderr] Checking zero2prod v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/main.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zero2prod` (bin "zero2prod") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | async fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/main.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zero2prod` (bin "zero2prod" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "d20b2b5aa968fdad34a65029c860aa7750ffa7c0b8c95561f7e34ab7bd87523f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d20b2b5aa968fdad34a65029c860aa7750ffa7c0b8c95561f7e34ab7bd87523f", kill_on_drop: false }` [INFO] [stdout] d20b2b5aa968fdad34a65029c860aa7750ffa7c0b8c95561f7e34ab7bd87523f