[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 try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foloshe%2Frust-uno-server" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oloshe/rust-uno-server on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-1/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34526630a4c25634dfd601c8096fbd3e7f06efd1a568470aff921ad43c04f411 [INFO] running `Command { std: "docker" "start" "-a" "34526630a4c25634dfd601c8096fbd3e7f06efd1a568470aff921ad43c04f411", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34526630a4c25634dfd601c8096fbd3e7f06efd1a568470aff921ad43c04f411", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34526630a4c25634dfd601c8096fbd3e7f06efd1a568470aff921ad43c04f411", kill_on_drop: false }` [INFO] [stdout] 34526630a4c25634dfd601c8096fbd3e7f06efd1a568470aff921ad43c04f411 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 574192541b92704c4b4660a343919766d60533d96eb8d7ca976fc952f4b9b669 [INFO] running `Command { std: "docker" "start" "-a" "574192541b92704c4b4660a343919766d60533d96eb8d7ca976fc952f4b9b669", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling fastrand v1.4.1 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [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 one of `.`, `;`, `?`, `}`, or an operator, found keyword `for` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | server.set_ttl(ttl) [INFO] [stdout] | - expected one of `.`, `;`, `?`, `}`, or an operator [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "574192541b92704c4b4660a343919766d60533d96eb8d7ca976fc952f4b9b669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "574192541b92704c4b4660a343919766d60533d96eb8d7ca976fc952f4b9b669", kill_on_drop: false }` [INFO] [stdout] 574192541b92704c4b4660a343919766d60533d96eb8d7ca976fc952f4b9b669