[INFO] cloning repository https://github.com/kulame/http-proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kulame/http-proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkulame%2Fhttp-proxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkulame%2Fhttp-proxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75ddcbf1fc53e3d154c152e89fb341f89a001e40 [INFO] checking kulame/http-proxy against master#3cdcdaf31b45f8045164aae9604573d23091970b for pr-122267 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkulame%2Fhttp-proxy" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kulame/http-proxy on toolchain 3cdcdaf31b45f8045164aae9604573d23091970b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3cdcdaf31b45f8045164aae9604573d23091970b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kulame/http-proxy [INFO] finished tweaking git repo https://github.com/kulame/http-proxy [INFO] tweaked toml for git repo https://github.com/kulame/http-proxy written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kulame/http-proxy 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" "+3cdcdaf31b45f8045164aae9604573d23091970b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking kulame/http-proxy against try#05804f728f276cf7ecedbf71c814df440d37f293 for pr-122267 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkulame%2Fhttp-proxy" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kulame/http-proxy on toolchain 05804f728f276cf7ecedbf71c814df440d37f293 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+05804f728f276cf7ecedbf71c814df440d37f293" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kulame/http-proxy [INFO] finished tweaking git repo https://github.com/kulame/http-proxy [INFO] tweaked toml for git repo https://github.com/kulame/http-proxy written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kulame/http-proxy 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" "+05804f728f276cf7ecedbf71c814df440d37f293" "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 kulame/http-proxy against try#05804f728f276cf7ecedbf71c814df440d37f293 for pr-122267 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkulame%2Fhttp-proxy" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kulame/http-proxy on toolchain 05804f728f276cf7ecedbf71c814df440d37f293 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+05804f728f276cf7ecedbf71c814df440d37f293" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kulame/http-proxy [INFO] finished tweaking git repo https://github.com/kulame/http-proxy [INFO] tweaked toml for git repo https://github.com/kulame/http-proxy written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kulame/http-proxy 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" "+05804f728f276cf7ecedbf71c814df440d37f293" "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 sqlx-macros v0.6.1 [INFO] [stderr] Downloaded sea-query-driver v0.2.0 [INFO] [stderr] Downloaded sqlx-rt v0.6.1 [INFO] [stderr] Downloaded ouroboros v0.15.2 [INFO] [stderr] Downloaded dotenvy v0.15.1 [INFO] [stderr] Downloaded axum-core v0.2.7 [INFO] [stderr] Downloaded sea-orm-macros v0.9.1 [INFO] [stderr] Downloaded ouroboros_macro v0.15.2 [INFO] [stderr] Downloaded axum v0.5.13 [INFO] [stderr] Downloaded sqlx-core v0.6.1 [INFO] [stderr] Downloaded sea-query v0.26.2 [INFO] [stderr] Downloaded sea-orm v0.9.1 [INFO] [stderr] Downloaded sqlx v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+05804f728f276cf7ecedbf71c814df440d37f293" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be74d32674fc00825f41f665d4385cd95b84436709bdf1f206417a3abe2cadec [INFO] running `Command { std: "docker" "start" "-a" "be74d32674fc00825f41f665d4385cd95b84436709bdf1f206417a3abe2cadec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be74d32674fc00825f41f665d4385cd95b84436709bdf1f206417a3abe2cadec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be74d32674fc00825f41f665d4385cd95b84436709bdf1f206417a3abe2cadec", kill_on_drop: false }` [INFO] [stdout] be74d32674fc00825f41f665d4385cd95b84436709bdf1f206417a3abe2cadec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+05804f728f276cf7ecedbf71c814df440d37f293" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26f747cc3020df6a82396efdbe7d8bd8e538fa1428cfd93d1fb4faaa94ee347a [INFO] running `Command { std: "docker" "start" "-a" "26f747cc3020df6a82396efdbe7d8bd8e538fa1428cfd93d1fb4faaa94ee347a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.127 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.142 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling serde v1.0.142 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling rust_decimal v1.26.1 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking matchit v0.5.0 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking time v0.3.12 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling bae v0.1.7 [INFO] [stderr] Compiling ouroboros_macro v0.15.2 [INFO] [stderr] Compiling sea-strum_macros v0.23.0 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling sea-orm-macros v0.9.1 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Checking ouroboros v0.15.2 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking tracing-subscriber v0.3.15 [INFO] [stderr] Checking pin-project v1.0.11 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling sea-query-derive v0.2.0 [INFO] [stderr] Checking sea-strum v0.23.0 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking axum-core v0.2.7 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tower-http v0.3.4 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking chrono v0.4.20 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking sea-query v0.26.2 [INFO] [stderr] Checking sea-orm v0.9.1 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking axum v0.5.13 [INFO] [stderr] Checking example-http-proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/main.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | async fn proxy(req: Request,conn:DatabaseConnection) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/main.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | async fn proxy(req: Request,conn:DatabaseConnection) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0525]: expected a closure that implements the `FnMut` trait, but this closure only implements `FnOnce` [INFO] [stdout] --> src/main.rs:47:37 [INFO] [stdout] | [INFO] [stdout] 47 | let service = tower::service_fn(move |req: Request| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ this closure implements `FnOnce`, not `FnMut` [INFO] [stdout] ... [INFO] [stdout] 51 | proxy(req,conn).await [INFO] [stdout] | ---- closure is `FnOnce` because it moves the variable `conn` out of its environment [INFO] [stdout] ... [INFO] [stdout] 63 | .serve(Shared::new(service)) [INFO] [stdout] | ----- the requirement to implement `FnMut` derives from here [INFO] [stdout] | [INFO] [stdout] = note: required for `ServiceFn<{closure@src/main.rs:47:37: 47:62}>` to implement `Service>` [INFO] [stdout] = note: required for `ServiceFn<{closure@src/main.rs:47:37: 47:62}>` to implement `hyper::service::http::HttpService` [INFO] [stdout] = note: required for `Shared>` to implement `hyper::service::make::MakeServiceRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0525`. [INFO] [stdout] [INFO] [stderr] error: could not compile `example-http-proxy` (bin "example-http-proxy") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0525]: expected a closure that implements the `FnMut` trait, but this closure only implements `FnOnce` [INFO] [stdout] --> src/main.rs:47:37 [INFO] [stdout] | [INFO] [stdout] 47 | let service = tower::service_fn(move |req: Request| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ this closure implements `FnOnce`, not `FnMut` [INFO] [stdout] ... [INFO] [stdout] 51 | proxy(req,conn).await [INFO] [stdout] | ---- closure is `FnOnce` because it moves the variable `conn` out of its environment [INFO] [stdout] ... [INFO] [stdout] 63 | .serve(Shared::new(service)) [INFO] [stdout] | ----- the requirement to implement `FnMut` derives from here [INFO] [stdout] | [INFO] [stdout] = note: required for `ServiceFn<{closure@src/main.rs:47:37: 47:62}>` to implement `Service>` [INFO] [stdout] = note: required for `ServiceFn<{closure@src/main.rs:47:37: 47:62}>` to implement `hyper::service::http::HttpService` [INFO] [stdout] = note: required for `Shared>` to implement `hyper::service::make::MakeServiceRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0525`. [INFO] [stdout] [INFO] [stderr] error: could not compile `example-http-proxy` (bin "example-http-proxy" test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "26f747cc3020df6a82396efdbe7d8bd8e538fa1428cfd93d1fb4faaa94ee347a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26f747cc3020df6a82396efdbe7d8bd8e538fa1428cfd93d1fb4faaa94ee347a", kill_on_drop: false }` [INFO] [stdout] 26f747cc3020df6a82396efdbe7d8bd8e538fa1428cfd93d1fb4faaa94ee347a