[INFO] cloning repository https://github.com/tduyng/httpr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tduyng/httpr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftduyng%2Fhttpr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftduyng%2Fhttpr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 32cd70d7094bab25428dfb69f5393c2b75ae4ecd [INFO] checking tduyng/httpr against try#3298c2ca5e390fd0d104357fdeec514a152a9561 for pr-136490 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftduyng%2Fhttpr" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tduyng/httpr on toolchain 3298c2ca5e390fd0d104357fdeec514a152a9561 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3298c2ca5e390fd0d104357fdeec514a152a9561" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tduyng/httpr [INFO] finished tweaking git repo https://github.com/tduyng/httpr [INFO] tweaked toml for git repo https://github.com/tduyng/httpr written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tduyng/httpr 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" "+3298c2ca5e390fd0d104357fdeec514a152a9561" "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] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking tduyng/httpr against try#3298c2ca5e390fd0d104357fdeec514a152a9561 for pr-136490 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftduyng%2Fhttpr" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tduyng/httpr on toolchain 3298c2ca5e390fd0d104357fdeec514a152a9561 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3298c2ca5e390fd0d104357fdeec514a152a9561" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tduyng/httpr [INFO] finished tweaking git repo https://github.com/tduyng/httpr [INFO] tweaked toml for git repo https://github.com/tduyng/httpr written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tduyng/httpr 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" "+3298c2ca5e390fd0d104357fdeec514a152a9561" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 httpstatus v0.1.2 [INFO] [stderr] Downloaded rstest v0.19.0 [INFO] [stderr] Downloaded rstest_macros v0.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+3298c2ca5e390fd0d104357fdeec514a152a9561" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3829f272a58b1607c8ebc579df4fe151787d2a6734e620211db228a71b6039a4 [INFO] running `Command { std: "docker" "start" "-a" "3829f272a58b1607c8ebc579df4fe151787d2a6734e620211db228a71b6039a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3829f272a58b1607c8ebc579df4fe151787d2a6734e620211db228a71b6039a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3829f272a58b1607c8ebc579df4fe151787d2a6734e620211db228a71b6039a4", kill_on_drop: false }` [INFO] [stdout] 3829f272a58b1607c8ebc579df4fe151787d2a6734e620211db228a71b6039a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+3298c2ca5e390fd0d104357fdeec514a152a9561" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 943081980c25ce69e6862502793578b373a0c6e52ea82e4b5c17bd197163ed4a [INFO] running `Command { std: "docker" "start" "-a" "943081980c25ce69e6862502793578b373a0c6e52ea82e4b5c17bd197163ed4a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling rstest_macros v0.19.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling relative-path v1.9.2 [INFO] [stderr] Checking rustls-pki-types v1.5.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rstest v0.19.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking httpstatus v0.1.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking rhhtp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/server.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | router.get("/", hello_world_handler); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^ expected `Box ... + Send + Sync>`, found fn item [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<(dyn for<'a> Fn(&'a mut rhhtp::Context) -> Pin + Send + 'static)>> + Send + Sync + 'static)>` [INFO] [stdout] found fn item `for<'a> fn(&'a mut rhhtp::Context) -> impl Future {hello_world_handler}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/router.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get(&mut self, path: &str, handler: Handler) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/server.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | router.get("/:name", hello_name_handler); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^ expected `Box ... + Send + Sync>`, found fn item [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<(dyn for<'a> Fn(&'a mut rhhtp::Context) -> Pin + Send + 'static)>> + Send + Sync + 'static)>` [INFO] [stdout] found fn item `for<'a> fn(&'a mut rhhtp::Context) -> impl Future {hello_name_handler}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/router.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get(&mut self, path: &str, handler: Handler) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/server.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | router.any("*", not_found_handler); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^ expected `Box ... + Send + Sync>`, found fn item [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<(dyn for<'a> Fn(&'a mut rhhtp::Context) -> Pin + Send + 'static)>> + Send + Sync + 'static)>` [INFO] [stdout] found fn item `for<'a> fn(&'a mut rhhtp::Context) -> impl Future {not_found_handler}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/router.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn any(&mut self, path: &str, handler: Handler) { [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 `rhhtp` (bin "server") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "943081980c25ce69e6862502793578b373a0c6e52ea82e4b5c17bd197163ed4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "943081980c25ce69e6862502793578b373a0c6e52ea82e4b5c17bd197163ed4a", kill_on_drop: false }` [INFO] [stdout] 943081980c25ce69e6862502793578b373a0c6e52ea82e4b5c17bd197163ed4a