[INFO] cloning repository https://github.com/jashank/hyttpd-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jashank/hyttpd-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjashank%2Fhyttpd-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjashank%2Fhyttpd-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 91d58941b1c9fff3f07c08c775feeb390408b8f7 [INFO] checking jashank/hyttpd-rust against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjashank%2Fhyttpd-rust" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jashank/hyttpd-rust on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jashank/hyttpd-rust [INFO] finished tweaking git repo https://github.com/jashank/hyttpd-rust [INFO] tweaked toml for git repo https://github.com/jashank/hyttpd-rust written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/jashank/hyttpd-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-9/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44c87607a377450cf1dd7feb5184e486ae1faaaa79540ffac9ef00d2f6b1e480 [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" "44c87607a377450cf1dd7feb5184e486ae1faaaa79540ffac9ef00d2f6b1e480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44c87607a377450cf1dd7feb5184e486ae1faaaa79540ffac9ef00d2f6b1e480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44c87607a377450cf1dd7feb5184e486ae1faaaa79540ffac9ef00d2f6b1e480", kill_on_drop: false }` [INFO] [stdout] 44c87607a377450cf1dd7feb5184e486ae1faaaa79540ffac9ef00d2f6b1e480 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15ef8a46fac3a4a77797c9b5434e9186d917ea60148c3581ccd911e99cdeef3f [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" "15ef8a46fac3a4a77797c9b5434e9186d917ea60148c3581ccd911e99cdeef3f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking pin-project v1.0.1 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking hyttpd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::fs::PathExt` [INFO] [stdout] --> src/main.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::{self, PathExt}; [INFO] [stdout] | ^^^^^^^ no `PathExt` in `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `hyper::uri`, `hyper::status` [INFO] [stdout] --> src/main.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use hyper::{header, uri, status}; [INFO] [stdout] | ^^^ ^^^^^^ no `status` in the root [INFO] [stdout] | | [INFO] [stdout] | no `uri` in the root [INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `Uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `hyper::server::Request`, `hyper::server::Response` [INFO] [stdout] --> src/main.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use hyper::server::{Server, Request, Response}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ no `Response` in `server` [INFO] [stdout] | | [INFO] [stdout] | no `Request` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::net` [INFO] [stdout] --> src/main.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use hyper::net::HttpListener; [INFO] [stdout] | ^^^ could not find `net` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::fs::PathExt` [INFO] [stdout] --> src/main.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::{self, PathExt}; [INFO] [stdout] | ^^^^^^^ no `PathExt` in `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `hyper::uri`, `hyper::status` [INFO] [stdout] --> src/main.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use hyper::{header, uri, status}; [INFO] [stdout] | ^^^ ^^^^^^ no `status` in the root [INFO] [stdout] | | [INFO] [stdout] | no `uri` in the root [INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `Uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `hyper::server::Request`, `hyper::server::Response` [INFO] [stdout] --> src/main.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use hyper::server::{Server, Request, Response}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ no `Response` in `server` [INFO] [stdout] | | [INFO] [stdout] | no `Request` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::net` [INFO] [stdout] --> src/main.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use hyper::net::HttpListener; [INFO] [stdout] | ^^^ could not find `net` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Server` in module `header` [INFO] [stdout] --> src/main.rs:103:35 [INFO] [stdout] | [INFO] [stdout] 103 | res.headers_mut().set(header::Server(SERVER_VERSION.to_string())); [INFO] [stdout] | ^^^^^^ not found in `header` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 7 | use header::name::StandardHeader::Server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Server` in module `header` [INFO] [stdout] --> src/main.rs:103:35 [INFO] [stdout] | [INFO] [stdout] 103 | res.headers_mut().set(header::Server(SERVER_VERSION.to_string())); [INFO] [stdout] | ^^^^^^ not found in `header` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 7 | use header::name::StandardHeader::Server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(ip_addr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(ip_addr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(path_ext)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(path_ext)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected at least 2, found 1 [INFO] [stdout] --> src/main.rs:161:14 [INFO] [stdout] | [INFO] [stdout] 161 | let svr: Server = match Server::http((HOST, PORT as u16)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected at least 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected at least 2, found 1 [INFO] [stdout] --> src/main.rs:161:14 [INFO] [stdout] | [INFO] [stdout] 161 | let svr: Server = match Server::http((HOST, PORT as u16)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected at least 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `http` found for struct `Server<_, _, _>` in the current scope [INFO] [stdout] --> src/main.rs:161:51 [INFO] [stdout] | [INFO] [stdout] 161 | let svr: Server = match Server::http((HOST, PORT as u16)) { [INFO] [stdout] | ^^^^ function or associated item not found in `Server<_, _, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `http` found for struct `Server<_, _, _>` in the current scope [INFO] [stdout] --> src/main.rs:161:51 [INFO] [stdout] | [INFO] [stdout] 161 | let svr: Server = match Server::http((HOST, PORT as u16)) { [INFO] [stdout] | ^^^^ function or associated item not found in `Server<_, _, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, BufRead, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, BufRead, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0432, E0554, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0432, E0554, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hyttpd` [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: build failed [INFO] running `Command { std: "docker" "inspect" "15ef8a46fac3a4a77797c9b5434e9186d917ea60148c3581ccd911e99cdeef3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15ef8a46fac3a4a77797c9b5434e9186d917ea60148c3581ccd911e99cdeef3f", kill_on_drop: false }` [INFO] [stdout] 15ef8a46fac3a4a77797c9b5434e9186d917ea60148c3581ccd911e99cdeef3f