[INFO] cloning repository https://github.com/tuckersn/Simple_Rust_HTTP [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tuckersn/Simple_Rust_HTTP" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuckersn%2FSimple_Rust_HTTP", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuckersn%2FSimple_Rust_HTTP'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b08690030a33effcef1f8ba6992fd83e57e74f9a [INFO] testing tuckersn/Simple_Rust_HTTP against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuckersn%2FSimple_Rust_HTTP" "/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/tuckersn/Simple_Rust_HTTP on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tuckersn/Simple_Rust_HTTP [INFO] finished tweaking git repo https://github.com/tuckersn/Simple_Rust_HTTP [INFO] tweaked toml for git repo https://github.com/tuckersn/Simple_Rust_HTTP written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/tuckersn/Simple_Rust_HTTP already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f2a8182329f768b22b6cf7ec01088f19ca76bdb4837334f69e3fde715aa97a5 [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" "4f2a8182329f768b22b6cf7ec01088f19ca76bdb4837334f69e3fde715aa97a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f2a8182329f768b22b6cf7ec01088f19ca76bdb4837334f69e3fde715aa97a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f2a8182329f768b22b6cf7ec01088f19ca76bdb4837334f69e3fde715aa97a5", kill_on_drop: false }` [INFO] [stdout] 4f2a8182329f768b22b6cf7ec01088f19ca76bdb4837334f69e3fde715aa97a5 [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=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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bac282c79b7252ff71257bc9ec3bbe68082fbcab3dbdcfbbc7afaae75f03223 [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" "9bac282c79b7252ff71257bc9ec3bbe68082fbcab3dbdcfbbc7afaae75f03223", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.51 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling vec-arena v1.0.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling async-channel v1.5.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling futures-lite v1.11.2 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling nb-connect v1.0.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling async-io v1.2.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-global-executor v1.4.3 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling async-std v1.7.0 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling http v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `AsyncBufReadExt` [INFO] [stdout] --> src/http/request.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::io::{AsyncBufReadExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_till_next_string` [INFO] [stdout] --> src/http/request.rs:12:53 [INFO] [stdout] | [INFO] [stdout] 12 | use super::stream::{read_next_line, read_till_next, read_till_next_string}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt`, `pin::Pin` [INFO] [stdout] --> src/http/response.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, pin::Pin, fmt}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/http/response.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use async_std::stream::{StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/http/routes.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, marker::Send, pin::Pin}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::clone::Clone` [INFO] [stdout] --> src/http/routes.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::clone::Clone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/http/stream.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Error, ErrorKind}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/http/routes.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | if seg.split_at(1) == b'{' { [INFO] [stdout] | ^^^^ expected tuple, found `u8` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(&str, &str)` [INFO] [stdout] found type `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `http` due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9bac282c79b7252ff71257bc9ec3bbe68082fbcab3dbdcfbbc7afaae75f03223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bac282c79b7252ff71257bc9ec3bbe68082fbcab3dbdcfbbc7afaae75f03223", kill_on_drop: false }` [INFO] [stdout] 9bac282c79b7252ff71257bc9ec3bbe68082fbcab3dbdcfbbc7afaae75f03223