[INFO] cloning repository https://github.com/Yourlitdaddy/minihttp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yourlitdaddy/minihttp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYourlitdaddy%2Fminihttp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYourlitdaddy%2Fminihttp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e39b651aba0b21829bcc43ceccd4111a4c3a6603 [INFO] testing Yourlitdaddy/minihttp against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYourlitdaddy%2Fminihttp" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Yourlitdaddy/minihttp on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Yourlitdaddy/minihttp [INFO] finished tweaking git repo https://github.com/Yourlitdaddy/minihttp [INFO] tweaked toml for git repo https://github.com/Yourlitdaddy/minihttp written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Yourlitdaddy/minihttp already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/Yourlitdaddy/minihttp-codegen.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b13d2f79a972c1568025f283db960f196bbd968b33ba1aa99b0284773cd7b6d8 [INFO] running `Command { std: "docker" "start" "-a" "b13d2f79a972c1568025f283db960f196bbd968b33ba1aa99b0284773cd7b6d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b13d2f79a972c1568025f283db960f196bbd968b33ba1aa99b0284773cd7b6d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b13d2f79a972c1568025f283db960f196bbd968b33ba1aa99b0284773cd7b6d8", kill_on_drop: false }` [INFO] [stdout] b13d2f79a972c1568025f283db960f196bbd968b33ba1aa99b0284773cd7b6d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a650fbe4ca3b7eff028daeb22421b48e690befe5b66e5c0b347796a041a5cf6b [INFO] running `Command { std: "docker" "start" "-a" "a650fbe4ca3b7eff028daeb22421b48e690befe5b66e5c0b347796a041a5cf6b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling cfb v0.4.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling infer v0.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling fancy-regex v0.7.1 [INFO] [stderr] Compiling minihttp-codegen v0.1.0 (https://github.com/Yourlitdaddy/minihttp-codegen.git?branch=main#6198864c) [INFO] [stderr] Compiling minihttp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/config.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn get_routes(&self, path: String) -> Option<(String, Vec)> { [INFO] [stdout] | ------------------------- expected `Option<(String, Vec)>` because of return type [INFO] [stdout] ... [INFO] [stdout] 153 | / for i in vec { [INFO] [stdout] 154 | | let res: Option<(String, Vec)> = if i.0 == path { Some(i) } else { None }; [INFO] [stdout] 155 | | return res; [INFO] [stdout] 156 | | } [INFO] [stdout] | |_________________^ expected enum `Option`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<(String, Vec)>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `minihttp` due to 2 previous errors; 1 warning emitted [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a650fbe4ca3b7eff028daeb22421b48e690befe5b66e5c0b347796a041a5cf6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a650fbe4ca3b7eff028daeb22421b48e690befe5b66e5c0b347796a041a5cf6b", kill_on_drop: false }` [INFO] [stdout] a650fbe4ca3b7eff028daeb22421b48e690befe5b66e5c0b347796a041a5cf6b