[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] testing pp-qq/rust-http-server against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpp-qq%2Frust-http-server" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pp-qq/rust-http-server on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rusqlite v0.25.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0fd1d12906840082446ae849149e19284f344e64810a4e026113a79d7a594fb [INFO] running `Command { std: "docker" "start" "-a" "a0fd1d12906840082446ae849149e19284f344e64810a4e026113a79d7a594fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0fd1d12906840082446ae849149e19284f344e64810a4e026113a79d7a594fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0fd1d12906840082446ae849149e19284f344e64810a4e026113a79d7a594fb", kill_on_drop: false }` [INFO] [stdout] a0fd1d12906840082446ae849149e19284f344e64810a4e026113a79d7a594fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 787b8d0e9bf82377fdfab784ec976c711617f88acc47a003e1336051ede70fa5 [INFO] running `Command { std: "docker" "start" "-a" "787b8d0e9bf82377fdfab784ec976c711617f88acc47a003e1336051ede70fa5", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling h2 v0.3.4 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling rusqlite v0.25.3 [INFO] [stderr] Compiling tera v1.12.1 [INFO] [stderr] Compiling hyper v0.14.13 [INFO] [stderr] Compiling 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 `Result, Error>` [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 `Result, Error>` [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `starts_with` with a similar name [INFO] [stdout] | [INFO] [stdout] 95 - (path, "GET") if path.status_with("/posts/") => find_post(req, tera, conn).await, [INFO] [stdout] 95 + (path, "GET") if path.starts_with("/posts/") => find_post(req, tera, conn).await, [INFO] [stdout] | [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 `Result, Error>` [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 `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 `Uuid`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/main.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | tera.add_raw_template( [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0596, 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` (bin "web-memory") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "787b8d0e9bf82377fdfab784ec976c711617f88acc47a003e1336051ede70fa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "787b8d0e9bf82377fdfab784ec976c711617f88acc47a003e1336051ede70fa5", kill_on_drop: false }` [INFO] [stdout] 787b8d0e9bf82377fdfab784ec976c711617f88acc47a003e1336051ede70fa5