[INFO] cloning repository https://github.com/vjgaur/rust-httpserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vjgaur/rust-httpserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/vjgaur/rust-httpserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vjgaur/rust-httpserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/vjgaur/rust-httpserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vjgaur/rust-httpserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/vjgaur/rust-httpserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vjgaur/rust-httpserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/vjgaur/rust-httpserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vjgaur/rust-httpserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/vjgaur/rust-httpserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vjgaur/rust-httpserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/vjgaur/rust-httpserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vjgaur/rust-httpserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/vjgaur/rust-httpserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vjgaur/rust-httpserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/vjgaur/rust-httpserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vjgaur/rust-httpserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/vjgaur/rust-httpserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vjgaur/rust-httpserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/vjgaur/rust-httpserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vjgaur/rust-httpserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/vjgaur/rust-httpserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vjgaur/rust-httpserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/vjgaur/rust-httpserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vjgaur/rust-httpserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/vjgaur/rust-httpserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vjgaur/rust-httpserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/vjgaur/rust-httpserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vjgaur/rust-httpserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a1c1c55ec869a16349d687e510413497c0a6d2f8 [INFO] checking vjgaur/rust-httpserver against try#b8ee37b59c6e1f39bae18b85e057975ab0d89308 for pr-139587-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] error: failed to write new configuration file /workspace/builds/worker-0-tc2/source/.git/config.lock [INFO] [stderr] fatal: could not set 'core.repositoryformatversion' to '0' [INFO] checking vjgaur/rust-httpserver against try#b8ee37b59c6e1f39bae18b85e057975ab0d89308 for pr-139587-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] fatal: error closing file /workspace/builds/worker-0-tc2/source/.git/packed-refs.new: No space left on device [INFO] checking vjgaur/rust-httpserver against try#b8ee37b59c6e1f39bae18b85e057975ab0d89308 for pr-139587-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] fatal: error closing file /workspace/builds/worker-0-tc2/source/.git/packed-refs.new: No space left on device [INFO] checking vjgaur/rust-httpserver against try#b8ee37b59c6e1f39bae18b85e057975ab0d89308 for pr-139587-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvjgaur%2Frust-httpserver" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vjgaur/rust-httpserver on toolchain b8ee37b59c6e1f39bae18b85e057975ab0d89308 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vjgaur/rust-httpserver [INFO] finished tweaking git repo https://github.com/vjgaur/rust-httpserver [INFO] tweaked toml for git repo https://github.com/vjgaur/rust-httpserver written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/vjgaur/rust-httpserver 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" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 684631f07303f7c94afd910845743627b64a9450d0c8d21159e2cfa3970f5897 [INFO] running `Command { std: "docker" "start" "-a" "684631f07303f7c94afd910845743627b64a9450d0c8d21159e2cfa3970f5897", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "684631f07303f7c94afd910845743627b64a9450d0c8d21159e2cfa3970f5897", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "684631f07303f7c94afd910845743627b64a9450d0c8d21159e2cfa3970f5897", kill_on_drop: false }` [INFO] [stdout] 684631f07303f7c94afd910845743627b64a9450d0c8d21159e2cfa3970f5897 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f61afef40ce038f512250a836d79636c8ea4549ba4d34ee4708202ac18281bd [INFO] running `Command { std: "docker" "start" "-a" "5f61afef40ce038f512250a836d79636c8ea4549ba4d34ee4708202ac18281bd", kill_on_drop: false }` [INFO] [stderr] Checking httpserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `super::convert` [INFO] [stdout] --> src/http/request.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use super::convert::TryFrom; [INFO] [stdout] | ^^^^^^^ could not find `convert` in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::convert` [INFO] [stdout] --> src/http/request.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use super::convert::TryFrom; [INFO] [stdout] | ^^^^^^^ could not find `convert` in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `method` [INFO] [stdout] --> src/http/request.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let method::Method = method.parse()?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `method` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `method`, use `cargo add method` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::http::method; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `method` [INFO] [stdout] --> src/http/request.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let method::Method = method.parse()?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `method` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `method`, use `cargo add method` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::http::method; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Method` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use http::Method; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Request` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use http::Request; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Method` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use http::Method; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `request::ParseError` [INFO] [stdout] --> src/http/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use request::ParseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Request` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use http::Request; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `request::ParseError` [INFO] [stdout] --> src/http/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use request::ParseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `Self` constructor can only be used with tuple or unit structs [INFO] [stdout] --> src/http/method.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | "OPTIONS" => Ok(Self.OPTIONS), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to use one of the enum's variants? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `Self` constructor can only be used with tuple or unit structs [INFO] [stdout] --> src/http/method.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | "OPTIONS" => Ok(Self.OPTIONS), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to use one of the enum's variants? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `Self` constructor can only be used with tuple or unit structs [INFO] [stdout] --> src/http/method.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | "TRACE" => Ok(Self.TRACE), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to use one of the enum's variants? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `Self` constructor can only be used with tuple or unit structs [INFO] [stdout] --> src/http/method.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | "TRACE" => Ok(Self.TRACE), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to use one of the enum's variants? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `Self` constructor can only be used with tuple or unit structs [INFO] [stdout] --> src/http/method.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | "PATCH" => Ok(Self.PATCH), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to use one of the enum's variants? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `Self` constructor can only be used with tuple or unit structs [INFO] [stdout] --> src/http/method.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | "PATCH" => Ok(Self.PATCH), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to use one of the enum's variants? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/http/method.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | _ => Err(MethodError), [INFO] [stdout] | --- ^^^^^^^^^^^ expected `String`, found `MethodError` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `MethodError` due to the type of the argument passed [INFO] [stdout] --> src/http/method.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | _ => Err(MethodError), [INFO] [stdout] | ^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Err` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/b8ee37b59c6e1f39bae18b85e057975ab0d89308/library/core/src/result.rs:557:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/http/method.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | _ => Err(MethodError), [INFO] [stdout] | --- ^^^^^^^^^^^ expected `String`, found `MethodError` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `MethodError` due to the type of the argument passed [INFO] [stdout] --> src/http/method.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | _ => Err(MethodError), [INFO] [stdout] | ^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Err` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/b8ee37b59c6e1f39bae18b85e057975ab0d89308/library/core/src/result.rs:557:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/http/request.rs:77:41 [INFO] [stdout] | [INFO] [stdout] 77 | fn fmt(&self, f: &mut Formatter) -> FmtResult { [INFO] [stdout] | --- ^^^^^^^^^ expected `Result<(), Error>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] 78 | write!(f, "{}", self.message()); [INFO] [stdout] | - help: remove this semicolon to return this value [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::fmt::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/http/request.rs:77:41 [INFO] [stdout] | [INFO] [stdout] 77 | fn fmt(&self, f: &mut Formatter) -> FmtResult { [INFO] [stdout] | --- ^^^^^^^^^ expected `Result<(), Error>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] 78 | write!(f, "{}", self.message()); [INFO] [stdout] | - help: remove this semicolon to return this value [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::fmt::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/http/request.rs:82:41 [INFO] [stdout] | [INFO] [stdout] 82 | fn fmt(&self, f: &mut Formatter) -> FmtResult { [INFO] [stdout] | --- ^^^^^^^^^ expected `Result<(), Error>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] 83 | write!(f, "{}", self.message()); [INFO] [stdout] | - help: remove this semicolon to return this value [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::fmt::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/http/request.rs:82:41 [INFO] [stdout] | [INFO] [stdout] 82 | fn fmt(&self, f: &mut Formatter) -> FmtResult { [INFO] [stdout] | --- ^^^^^^^^^ expected `Result<(), Error>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] 83 | write!(f, "{}", self.message()); [INFO] [stdout] | - help: remove this semicolon to return this value [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::fmt::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/server.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | ... Ok(request) => {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/server.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | ... Err(e) => println!("Failed to parse a request "), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/server.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | ... Ok(request) => {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/server.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | ... Err(e) => println!("Failed to parse a request "), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `httpserver` (bin "httpserver" test) due to 8 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `httpserver` (bin "httpserver") due to 8 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5f61afef40ce038f512250a836d79636c8ea4549ba4d34ee4708202ac18281bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f61afef40ce038f512250a836d79636c8ea4549ba4d34ee4708202ac18281bd", kill_on_drop: false }` [INFO] [stdout] 5f61afef40ce038f512250a836d79636c8ea4549ba4d34ee4708202ac18281bd