[INFO] updating cached repository cottonguard/rust-http-server [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/cottonguard/rust-http-server [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/cottonguard/rust-http-server" "work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/cottonguard/rust-http-server"` [INFO] [stderr] Cloning into 'work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/cottonguard/rust-http-server'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/cottonguard/rust-http-server" "work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/gh/cottonguard/rust-http-server"` [INFO] [stderr] Cloning into 'work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/gh/cottonguard/rust-http-server'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9a781651b7d6a31c95eed92255942ac6052211ae [INFO] sha for GitHub repo cottonguard/rust-http-server: 9a781651b7d6a31c95eed92255942ac6052211ae [INFO] validating manifest of cottonguard/rust-http-server on toolchain master#e305df1846a6d985315917ae0c81b74af8b4e641 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of cottonguard/rust-http-server on toolchain try#99a7498759a22b5684caf798a98b7e90ad9d2443 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing cottonguard/rust-http-server [INFO] finished frobbing cottonguard/rust-http-server [INFO] frobbed toml for cottonguard/rust-http-server written to work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/cottonguard/rust-http-server/Cargo.toml [INFO] started frobbing cottonguard/rust-http-server [INFO] finished frobbing cottonguard/rust-http-server [INFO] frobbed toml for cottonguard/rust-http-server written to work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/gh/cottonguard/rust-http-server/Cargo.toml [INFO] crate cottonguard/rust-http-server already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking cottonguard/rust-http-server against master#e305df1846a6d985315917ae0c81b74af8b4e641 for pr-60039-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-60039-1/worker-1/master#e305df1846a6d985315917ae0c81b74af8b4e641:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/cottonguard/rust-http-server:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 24eea44cb5dd14eb403070a3bf7cfc3d3d34c1bbee940b813c1dff13be42fd79 [INFO] running `"docker" "start" "-a" "24eea44cb5dd14eb403070a3bf7cfc3d3d34c1bbee940b813c1dff13be42fd79"` [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking http v0.1.0 (/opt/crater/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] 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 type `&'static [u8; 22]` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/request.rs:152:34 [INFO] [stderr] | [INFO] [stderr] 152 | let req = Request::parse(msg); [INFO] [stderr] | ^^^ expected &[u8], found struct `std::iter::Map` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&[u8]` [INFO] [stderr] found type `std::iter::Map, [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] 165 | let req = Request::parse(msg); [INFO] [stderr] | ^^^ expected &[u8], found struct `std::iter::Map` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&[u8]` [INFO] [stderr] found type `std::iter::Map, [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] warning: build failed, waiting for other jobs to finish... [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: build failed [INFO] running `"docker" "inspect" "24eea44cb5dd14eb403070a3bf7cfc3d3d34c1bbee940b813c1dff13be42fd79"` [INFO] running `"docker" "rm" "-f" "24eea44cb5dd14eb403070a3bf7cfc3d3d34c1bbee940b813c1dff13be42fd79"` [INFO] [stdout] 24eea44cb5dd14eb403070a3bf7cfc3d3d34c1bbee940b813c1dff13be42fd79