[INFO] cloning repository https://github.com/oloshe/rust-uno-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oloshe/rust-uno-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foloshe%2Frust-uno-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foloshe%2Frust-uno-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 86703463b542805ecfa6abc6744a80e375faa7ba [INFO] testing oloshe/rust-uno-server against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foloshe%2Frust-uno-server" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oloshe/rust-uno-server on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/oloshe/rust-uno-server [INFO] finished tweaking git repo https://github.com/oloshe/rust-uno-server [INFO] tweaked toml for git repo https://github.com/oloshe/rust-uno-server written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/oloshe/rust-uno-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 224f657babdafa83cfb29f5555c0094ff72a64183c1871ff175f9b1f07c0aad0 [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" "224f657babdafa83cfb29f5555c0094ff72a64183c1871ff175f9b1f07c0aad0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "224f657babdafa83cfb29f5555c0094ff72a64183c1871ff175f9b1f07c0aad0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "224f657babdafa83cfb29f5555c0094ff72a64183c1871ff175f9b1f07c0aad0", kill_on_drop: false }` [INFO] [stdout] 224f657babdafa83cfb29f5555c0094ff72a64183c1871ff175f9b1f07c0aad0 [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 30457428a871772fa33cd63beb9b85a311e3113545c1d75013c23d981a61d70b [INFO] running `Command { std: "docker" "start" "-a" "30457428a871772fa33cd63beb9b85a311e3113545c1d75013c23d981a61d70b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling fastrand v1.4.1 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling polling v2.0.3 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-io v1.4.1 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling rust-uno-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found keyword `for` [INFO] [stdout] --> src/main.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | server.set_ttl(ttl) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 7 | for ret in server.incoming() { [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | for ret in server.incoming() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpListener` [INFO] [stdout] --> src/main.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{self, io::{Read, Write}, net::{TcpListener, TcpStream}}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `rust_uno_server` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::{self, io::{Read, Write}, net::{TcpListener, TcpStream}}; [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | #[async_std::main] [INFO] [stdout] 4 | | async fn main() { [INFO] [stdout] ... | [INFO] [stdout] 18 | | stream.write(&buf).unwrap(); [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-uno-server` due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "30457428a871772fa33cd63beb9b85a311e3113545c1d75013c23d981a61d70b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30457428a871772fa33cd63beb9b85a311e3113545c1d75013c23d981a61d70b", kill_on_drop: false }` [INFO] [stdout] 30457428a871772fa33cd63beb9b85a311e3113545c1d75013c23d981a61d70b