[INFO] cloning repository https://github.com/pp-qq/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/pp-qq/rust-http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpp-qq%2Frust-http-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpp-qq%2Frust-http-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 87ddd70278e8a23702c46917db5e1cb2edb2c5e1 [INFO] checking pp-qq/rust-http-server against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpp-qq%2Frust-http-server" "/workspace/builds/worker-32/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-32/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pp-qq/rust-http-server on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pp-qq/rust-http-server [INFO] finished tweaking git repo https://github.com/pp-qq/rust-http-server [INFO] tweaked toml for git repo https://github.com/pp-qq/rust-http-server written to /workspace/builds/worker-32/source/Cargo.toml [INFO] crate git repo https://github.com/pp-qq/rust-http-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 580e1adcf1b7006fa487245ad15d10174d93df67d9017d04a7343290ab5ef331 [INFO] running `Command { std: "docker" "start" "-a" "580e1adcf1b7006fa487245ad15d10174d93df67d9017d04a7343290ab5ef331", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "580e1adcf1b7006fa487245ad15d10174d93df67d9017d04a7343290ab5ef331", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "580e1adcf1b7006fa487245ad15d10174d93df67d9017d04a7343290ab5ef331", kill_on_drop: false }` [INFO] [stdout] 580e1adcf1b7006fa487245ad15d10174d93df67d9017d04a7343290ab5ef331 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16ee2b8add6be9aebf33a47217bfe758c87c02eb16590e729543fcdf2a21fb3d [INFO] running `Command { std: "docker" "start" "-a" "16ee2b8add6be9aebf33a47217bfe758c87c02eb16590e729543fcdf2a21fb3d", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking humansize v1.1.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Checking tracing-core v0.1.20 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking tracing v0.1.27 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking h2 v0.3.4 [INFO] [stderr] Checking hyper v0.14.13 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking rusqlite v0.25.3 [INFO] [stderr] Checking tera v1.12.1 [INFO] [stderr] Checking web-memory v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | ("/", "GET") => handle_with_body(req, tera).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result, hyper::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | ("/", "GET") => handle_with_body(req, tera).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result, hyper::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:94:31 [INFO] [stdout] | [INFO] [stdout] 94 | ("/posts", "POST") => create_post(req, tera, conn).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result, hyper::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:94:31 [INFO] [stdout] | [INFO] [stdout] 94 | ("/posts", "POST") => create_post(req, tera, conn).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result, hyper::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `status_with` found for reference `&str` in the current scope [INFO] [stdout] --> src/main.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | (path, "GET") if path.status_with("/posts/") => find_post(req, tera, conn).await, [INFO] [stdout] | ^^^^^^^^^^^ help: there is an associated function with a similar name: `starts_with` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `status_with` found for reference `&str` in the current scope [INFO] [stdout] --> src/main.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | (path, "GET") if path.status_with("/posts/") => find_post(req, tera, conn).await, [INFO] [stdout] | ^^^^^^^^^^^ help: there is an associated function with a similar name: `starts_with` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:95:57 [INFO] [stdout] | [INFO] [stdout] 95 | (path, "GET") if path.status_with("/posts/") => find_post(req, tera, conn).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result, hyper::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:95:57 [INFO] [stdout] | [INFO] [stdout] 95 | (path, "GET") if path.status_with("/posts/") => find_post(req, tera, conn).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result, hyper::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 41 | fn render(&self, tera: Arc) -> String { [INFO] [stdout] | ------ ^^^^^^ expected struct `std::string::String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | fn get_id(req: &Request) -> Uuid { [INFO] [stdout] | ------ ^^^^ expected struct `Uuid`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 41 | fn render(&self, tera: Arc) -> String { [INFO] [stdout] | ------ ^^^^^^ expected struct `std::string::String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | fn get_id(req: &Request) -> Uuid { [INFO] [stdout] | ------ ^^^^ expected struct `Uuid`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `web-memory` due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "16ee2b8add6be9aebf33a47217bfe758c87c02eb16590e729543fcdf2a21fb3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16ee2b8add6be9aebf33a47217bfe758c87c02eb16590e729543fcdf2a21fb3d", kill_on_drop: false }` [INFO] [stdout] 16ee2b8add6be9aebf33a47217bfe758c87c02eb16590e729543fcdf2a21fb3d