[INFO] updating cached repository https://github.com/cottonguard/rust-http-server
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 9a781651b7d6a31c95eed92255942ac6052211ae
[INFO] checking cottonguard/rust-http-server against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcottonguard%2Frust-http-server" "/workspace/builds/worker-0/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/cottonguard/rust-http-server on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/cottonguard/rust-http-server
[INFO] finished tweaking git repo https://github.com/cottonguard/rust-http-server
[INFO] tweaked toml for git repo https://github.com/cottonguard/rust-http-server written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/cottonguard/rust-http-server already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stdout] f0fd59aef1326815bdc7306e586052769e35a29bb424b5da23af9d02553e6c3a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "f0fd59aef1326815bdc7306e586052769e35a29bb424b5da23af9d02553e6c3a"`
[INFO] [stderr]     Checking env_logger v0.5.13
[INFO] [stderr]     Checking http v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]   --> src/static_router.rs:76:9
[INFO] [stderr]    |
[INFO] [stderr] 76 |     use super::*;
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method is never used: `method`
[INFO] [stderr]   --> src/request.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 |     pub fn method(&self) -> &Method {
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method is never used: `http_version`
[INFO] [stderr]   --> src/request.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 |     pub fn http_version(&self) -> &str {
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method is never used: `raw_headers`
[INFO] [stderr]   --> src/request.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 |     pub fn raw_headers(&self) -> &[String] {
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method is never used: `kind`
[INFO] [stderr]    --> src/request.rs:106:5
[INFO] [stderr]     |
[INFO] [stderr] 106 |     pub fn kind(&self) -> ErrorKind {
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/request.rs:135:13
[INFO] [stderr]     |
[INFO] [stderr] 135 |             b"Host: example.com:7777",
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^ expected an array with a fixed size of 27 elements, found one with 22 elements
[INFO] [stderr]     |
[INFO] [stderr]     = note:   expected type `&[u8; 27]`
[INFO] [stderr]             found reference `&'static [u8; 22]`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/request.rs:152:34
[INFO] [stderr]     |
[INFO] [stderr] 150 |         ].iter().map(|s| s.to_string());
[INFO] [stderr]     |                      ----------------- the found closure
[INFO] [stderr] 151 | 
[INFO] [stderr] 152 |         let req = Request::parse(msg);
[INFO] [stderr]     |                                  ^^^ expected `&[u8]`, found struct `std::iter::Map`
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected reference `&[u8]`
[INFO] [stderr]                   found struct `std::iter::Map<std::slice::Iter<'_, &str>, [closure@src/request.rs:150:22: 150:39]>`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/request.rs:165:34
[INFO] [stderr]     |
[INFO] [stderr] 163 |         ].iter().map(|s| s.to_string());
[INFO] [stderr]     |                      ----------------- the found closure
[INFO] [stderr] 164 | 
[INFO] [stderr] 165 |         let req = Request::parse(msg);
[INFO] [stderr]     |                                  ^^^ expected `&[u8]`, found struct `std::iter::Map`
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected reference `&[u8]`
[INFO] [stderr]                   found struct `std::iter::Map<std::slice::Iter<'_, &str>, [closure@src/request.rs:163:22: 163:39]>`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 3 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0308`.
[INFO] [stderr] error: could not compile `http`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "f0fd59aef1326815bdc7306e586052769e35a29bb424b5da23af9d02553e6c3a"`
[INFO] running `"docker" "rm" "-f" "f0fd59aef1326815bdc7306e586052769e35a29bb424b5da23af9d02553e6c3a"`
[INFO] [stdout] f0fd59aef1326815bdc7306e586052769e35a29bb424b5da23af9d02553e6c3a
