[INFO] cloning repository https://github.com/cottonguard/rust-http-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cottonguard/rust-http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcottonguard%2Frust-http-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcottonguard%2Frust-http-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a781651b7d6a31c95eed92255942ac6052211ae [INFO] checking cottonguard/rust-http-server/9a781651b7d6a31c95eed92255942ac6052211ae against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcottonguard%2Frust-http-server" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cottonguard/rust-http-server on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7-tc1/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 `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aho-corasick v0.6.8 [INFO] [stderr] Downloaded env_logger v0.5.13 [INFO] [stderr] Downloaded wincolor v1.0.1 [INFO] [stderr] Downloaded humantime v1.1.1 [INFO] [stderr] Downloaded utf8-ranges v1.0.1 [INFO] [stderr] Downloaded termcolor v1.0.4 [INFO] [stderr] Downloaded regex v1.0.5 [INFO] [stderr] Downloaded regex-syntax v0.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81d295231e0539ce5a42560a95885b1d398a183569fae415bfd3ef855ecd5e16 [INFO] running `Command { std: "docker" "start" "-a" "81d295231e0539ce5a42560a95885b1d398a183569fae415bfd3ef855ecd5e16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81d295231e0539ce5a42560a95885b1d398a183569fae415bfd3ef855ecd5e16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81d295231e0539ce5a42560a95885b1d398a183569fae415bfd3ef855ecd5e16", kill_on_drop: false }` [INFO] [stdout] 81d295231e0539ce5a42560a95885b1d398a183569fae415bfd3ef855ecd5e16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfd303bc98454607e1bf7a41765e67089d126dcf2fe504387857827968f1b95e [INFO] running `Command { std: "docker" "start" "-a" "bfd303bc98454607e1bf7a41765e67089d126dcf2fe504387857827968f1b95e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking lazycell v1.2.0 [INFO] [stderr] Checking slab v0.4.1 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking http v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/request.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | b"Host: example.com:7777", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected an array with a fixed size of 27 elements, found one with 22 elements [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/request.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 150 | ].iter().map(|s| s.to_string()); [INFO] [stdout] | --- the found closure [INFO] [stdout] 151 | [INFO] [stdout] 152 | let req = Request::parse(msg); [INFO] [stdout] | -------------- ^^^ expected `&[u8]`, found `Map, ...>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Map, {closure@src/request.rs:150:22: 150:25}>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/request.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn parse(data: &[u8]) [INFO] [stdout] | ^^^^^ ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/request.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 163 | ].iter().map(|s| s.to_string()); [INFO] [stdout] | --- the found closure [INFO] [stdout] 164 | [INFO] [stdout] 165 | let req = Request::parse(msg); [INFO] [stdout] | -------------- ^^^ expected `&[u8]`, found `Map, ...>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Map, {closure@src/request.rs:163:22: 163:25}>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/request.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn parse(data: &[u8]) [INFO] [stdout] | ^^^^^ ----------- [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` (bin "http" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "bfd303bc98454607e1bf7a41765e67089d126dcf2fe504387857827968f1b95e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfd303bc98454607e1bf7a41765e67089d126dcf2fe504387857827968f1b95e", kill_on_drop: false }` [INFO] [stdout] bfd303bc98454607e1bf7a41765e67089d126dcf2fe504387857827968f1b95e