[INFO] fetching crate lava-http 0.1.1... [INFO] testing lava-http-0.1.1 against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] extracting crate lava-http 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate lava-http 0.1.1 on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lava-http 0.1.1 [INFO] finished tweaking crates.io crate lava-http 0.1.1 [INFO] tweaked toml for crates.io crate lava-http 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate lava-http 0.1.1 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] Error response from daemon: mkdir /var/lib/docker/overlay2/72ee05581b1dbe61b4b88fb1133c0bce285a425937a9ecd4ffd0b7606e8ca151: no space left on device [INFO] testing lava-http-0.1.1 against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] extracting crate lava-http 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] testing lava-http-0.1.1 against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] extracting crate lava-http 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] testing lava-http-0.1.1 against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] extracting crate lava-http 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] testing lava-http-0.1.1 against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] extracting crate lava-http 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate lava-http 0.1.1 on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lava-http 0.1.1 [INFO] finished tweaking crates.io crate lava-http 0.1.1 [INFO] tweaked toml for crates.io crate lava-http 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate lava-http 0.1.1 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d43bb1bb00909ecf67ddf3d1fdb6ab60e1da809f98a3550cc93fcff4611dcdc [INFO] running `Command { std: "docker" "start" "-a" "4d43bb1bb00909ecf67ddf3d1fdb6ab60e1da809f98a3550cc93fcff4611dcdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d43bb1bb00909ecf67ddf3d1fdb6ab60e1da809f98a3550cc93fcff4611dcdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d43bb1bb00909ecf67ddf3d1fdb6ab60e1da809f98a3550cc93fcff4611dcdc", kill_on_drop: false }` [INFO] [stdout] 4d43bb1bb00909ecf67ddf3d1fdb6ab60e1da809f98a3550cc93fcff4611dcdc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07bac38a376ba466155350a51c328817ae0959930d3aef66a6e288d3f671f037 [INFO] running `Command { std: "docker" "start" "-a" "07bac38a376ba466155350a51c328817ae0959930d3aef66a6e288d3f671f037", kill_on_drop: false }` [INFO] [stderr] Compiling lava-http v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `SeekFrom`, `fmt::format`, and `string` [INFO] [stdout] --> src/server/server.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | Write, SeekFrom [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | }, [INFO] [stdout] 10 | fmt::format, string [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/server/server.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | let mut res: Response = Response { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | fn test(mut res: Response, req: &Request) -> Response{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | fn test2(mut res: Response, req: &Request) -> Response{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `functions` is never used [INFO] [stdout] --> src/main.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn functions(mut res: Response, req: &Request) -> Response{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.86s [INFO] running `Command { std: "docker" "inspect" "07bac38a376ba466155350a51c328817ae0959930d3aef66a6e288d3f671f037", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07bac38a376ba466155350a51c328817ae0959930d3aef66a6e288d3f671f037", kill_on_drop: false }` [INFO] [stdout] 07bac38a376ba466155350a51c328817ae0959930d3aef66a6e288d3f671f037 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df7bf3de9ca6b2dee5775493146034e19dd4e1a7c9f9947ae2b6c67b6fc6516c [INFO] running `Command { std: "docker" "start" "-a" "df7bf3de9ca6b2dee5775493146034e19dd4e1a7c9f9947ae2b6c67b6fc6516c", kill_on_drop: false }` [INFO] [stderr] Compiling lava-http v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `SeekFrom`, `fmt::format`, and `string` [INFO] [stdout] --> src/server/server.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | Write, SeekFrom [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | }, [INFO] [stdout] 10 | fmt::format, string [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/server/server.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | let mut res: Response = Response { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SeekFrom`, `fmt::format`, and `string` [INFO] [stdout] --> src/server/server.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | Write, SeekFrom [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | }, [INFO] [stdout] 10 | fmt::format, string [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | fn test(mut res: Response, req: &Request) -> Response{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | fn test2(mut res: Response, req: &Request) -> Response{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `functions` is never used [INFO] [stdout] --> src/main.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn functions(mut res: Response, req: &Request) -> Response{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/server/server.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | let mut res: Response = Response { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] running `Command { std: "docker" "inspect" "df7bf3de9ca6b2dee5775493146034e19dd4e1a7c9f9947ae2b6c67b6fc6516c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df7bf3de9ca6b2dee5775493146034e19dd4e1a7c9f9947ae2b6c67b6fc6516c", kill_on_drop: false }` [INFO] [stdout] df7bf3de9ca6b2dee5775493146034e19dd4e1a7c9f9947ae2b6c67b6fc6516c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 874d9954ef332f169c8518ff9f0ea7225881d221c203d5542f7ea00c6b4be9ba [INFO] running `Command { std: "docker" "start" "-a" "874d9954ef332f169c8518ff9f0ea7225881d221c203d5542f7ea00c6b4be9ba", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `SeekFrom`, `fmt::format`, and `string` [INFO] [stderr] --> src/server/server.rs:8:16 [INFO] [stderr] | [INFO] [stderr] 8 | Write, SeekFrom [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 9 | }, [INFO] [stderr] 10 | fmt::format, string [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `res` is never read [INFO] [stderr] --> src/server/server.rs:83:21 [INFO] [stderr] | [INFO] [stderr] 83 | let mut res: Response = Response { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `lava-http` (lib) generated 2 warnings (run `cargo fix --lib -p lava-http` to apply 1 suggestion) [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/main.rs:38:28 [INFO] [stderr] | [INFO] [stderr] 38 | fn test(mut res: Response, req: &Request) -> Response{ [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/main.rs:44:29 [INFO] [stderr] | [INFO] [stderr] 44 | fn test2(mut res: Response, req: &Request) -> Response{ [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: function `functions` is never used [INFO] [stderr] --> src/main.rs:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | fn functions(mut res: Response, req: &Request) -> Response{ [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `lava-http` (bin "lava-http" test) generated 3 warnings [INFO] [stderr] warning: `lava-http` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lava_http-882bf69ca86faf8e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lava_http-b262292bd290cafd) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests lava_http [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/response/res.rs - response::res::Response::append_string_header (line 166) ... FAILED [INFO] [stdout] test src/response/res.rs - response::res::Response::send_body (line 43) ... FAILED [INFO] [stdout] test src/response/res.rs - response::res::Response::append_header (line 127) ... FAILED [INFO] [stdout] test src/response/res.rs - response::res::Response::redirect (line 187) ... FAILED [INFO] [stdout] test src/response/res.rs - response::res::Response::set_header (line 110) ... FAILED [INFO] [stdout] test src/response/res.rs - response::res::Response::clear_header (line 146) ... FAILED [INFO] [stdout] test src/response/res.rs - response::res::Response::get_header (line 178) ... FAILED [INFO] [stdout] test src/response/res.rs - response::res::Response::get_status (line 33) ... FAILED [INFO] [stdout] test src/response/res.rs - response::res::Response::get_body (line 88) ... FAILED [INFO] [stdout] test src/response/res.rs - response::res::Response::send_file (line 61) ... FAILED [INFO] [stdout] test src/response/res.rs - response::res::Response::set_status (line 17) ... FAILED [INFO] [stdout] test src/server/server.rs - server::server::Server::erupt (line 59) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/response/res.rs - response::res::Response::set_string_header (line 156) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/response/res.rs - response::res::Response::append_string_header (line 166) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `res` in this scope [INFO] [stdout] --> src/response/res.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 3 | res.append_string_header("Key: Value"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response/res.rs - response::res::Response::send_body (line 43) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `res` in this scope [INFO] [stdout] --> src/response/res.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 3 | res.send_body("body content"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response/res.rs - response::res::Response::append_header (line 127) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/response/res.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut headers: HashMap<&str, &str> = HashMap::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/response/res.rs:128:40 [INFO] [stdout] | [INFO] [stdout] 3 | let mut headers: HashMap<&str, &str> = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `res` in this scope [INFO] [stdout] --> src/response/res.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 7 | res.append_header(&headers); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response/res.rs - response::res::Response::redirect (line 187) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `res` in this scope [INFO] [stdout] --> src/response/res.rs:188:1 [INFO] [stdout] | [INFO] [stdout] 3 | res.redirect("/path"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response/res.rs - response::res::Response::set_header (line 110) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/response/res.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut headers: HashMap<&str, &str> = HashMap::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/response/res.rs:111:40 [INFO] [stdout] | [INFO] [stdout] 3 | let mut headers: HashMap<&str, &str> = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `res` in this scope [INFO] [stdout] --> src/response/res.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 7 | res.set_header(&headers); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response/res.rs - response::res::Response::clear_header (line 146) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `res` in this scope [INFO] [stdout] --> src/response/res.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 3 | res.clear_header(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response/res.rs - response::res::Response::get_header (line 178) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `res` in this scope [INFO] [stdout] --> src/response/res.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 3 | res.get_header(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response/res.rs - response::res::Response::get_status (line 33) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `res` in this scope [INFO] [stdout] --> src/response/res.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 3 | res.get_status(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response/res.rs - response::res::Response::get_body (line 88) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `res` in this scope [INFO] [stdout] --> src/response/res.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 3 | res.get_body(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response/res.rs - response::res::Response::send_file (line 61) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `res` in this scope [INFO] [stdout] --> src/response/res.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 3 | res.send_file("path.html"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response/res.rs - response::res::Response::set_status (line 17) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `res` in this scope [INFO] [stdout] --> src/response/res.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 3 | res.set_status(404); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/server/server.rs - server::server::Server::erupt (line 59) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Server` in this scope [INFO] [stdout] --> src/server/server.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 3 | let server: Server = Server{ [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use lava_http::server::Server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Server` in this scope [INFO] [stdout] --> src/server/server.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 3 | let server: Server = Server{ [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use lava_http::server::Server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `routes` in this scope [INFO] [stdout] --> src/server/server.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 6 | routes: routes [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response/res.rs - response::res::Response::set_string_header (line 156) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `res` in this scope [INFO] [stdout] --> src/response/res.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 3 | res.set_string_header("Key: Value"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/response/res.rs - response::res::Response::append_header (line 127) [INFO] [stdout] src/response/res.rs - response::res::Response::append_string_header (line 166) [INFO] [stdout] src/response/res.rs - response::res::Response::clear_header (line 146) [INFO] [stdout] src/response/res.rs - response::res::Response::get_body (line 88) [INFO] [stdout] src/response/res.rs - response::res::Response::get_header (line 178) [INFO] [stdout] src/response/res.rs - response::res::Response::get_status (line 33) [INFO] [stdout] src/response/res.rs - response::res::Response::redirect (line 187) [INFO] [stdout] src/response/res.rs - response::res::Response::send_body (line 43) [INFO] [stdout] src/response/res.rs - response::res::Response::send_file (line 61) [INFO] [stdout] src/response/res.rs - response::res::Response::set_header (line 110) [INFO] [stdout] src/response/res.rs - response::res::Response::set_status (line 17) [INFO] [stdout] src/response/res.rs - response::res::Response::set_string_header (line 156) [INFO] [stdout] src/server/server.rs - server::server::Server::erupt (line 59) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "874d9954ef332f169c8518ff9f0ea7225881d221c203d5542f7ea00c6b4be9ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "874d9954ef332f169c8518ff9f0ea7225881d221c203d5542f7ea00c6b4be9ba", kill_on_drop: false }` [INFO] [stdout] 874d9954ef332f169c8518ff9f0ea7225881d221c203d5542f7ea00c6b4be9ba