[INFO] cloning repository https://github.com/svenstaro/miniserve [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/svenstaro/miniserve" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvenstaro%2Fminiserve", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvenstaro%2Fminiserve'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 47a0414325f4d7beda38b6c0e92ed2fd37891707 [INFO] checking svenstaro/miniserve against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvenstaro%2Fminiserve" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/svenstaro/miniserve on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/svenstaro/miniserve [INFO] finished tweaking git repo https://github.com/svenstaro/miniserve [INFO] tweaked toml for git repo https://github.com/svenstaro/miniserve written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/svenstaro/miniserve 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3b335b1ccd189ad247ba27be652ff31c0c9fe848f20c951df6b743cfa05d27c [INFO] running `Command { std: "docker" "start" "-a" "e3b335b1ccd189ad247ba27be652ff31c0c9fe848f20c951df6b743cfa05d27c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3b335b1ccd189ad247ba27be652ff31c0c9fe848f20c951df6b743cfa05d27c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3b335b1ccd189ad247ba27be652ff31c0c9fe848f20c951df6b743cfa05d27c", kill_on_drop: false }` [INFO] [stdout] e3b335b1ccd189ad247ba27be652ff31c0c9fe848f20c951df6b743cfa05d27c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 718982658d9c97ac9e2f750c0464121b3753d7e1a9e463bc29d40ca6992ecf16 [INFO] running `Command { std: "docker" "start" "-a" "718982658d9c97ac9e2f750c0464121b3753d7e1a9e463bc29d40ca6992ecf16", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking anstyle v1.0.2 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Checking local-waker v0.1.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling regex-automata v0.3.6 [INFO] [stderr] Checking ahash v0.7.6 [INFO] [stderr] Checking ahash v0.8.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling zstd-sys v2.0.8+zstd.1.5.5 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking actix-rt v2.8.0 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling regex v1.9.3 [INFO] [stderr] Checking actix-codec v0.5.1 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling time-macros v0.2.13 [INFO] [stderr] Checking brotli-decompressor v2.3.4 [INFO] [stderr] Compiling bytestring v1.3.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling rustix v0.38.9 [INFO] [stderr] Checking deranged v0.3.8 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking brotli v3.3.4 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling actix-router v0.5.1 [INFO] [stderr] Checking time v0.3.27 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking actix-tls v3.0.3 [INFO] [stderr] Checking terminal_size v0.2.6 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking clap_builder v4.4.0 [INFO] [stderr] Checking futures-util v0.3.28 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Compiling actix-web-codegen v4.2.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling clap_derive v4.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rustls v0.21.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling lasso v0.6.0 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Checking rustls-webpki v0.101.4 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking local-channel v0.1.3 [INFO] [stderr] Checking actix-server v2.2.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling grass_compiler v0.13.0 [INFO] [stderr] Checking serde v1.0.188 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking clap v4.4.0 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Checking globset v0.4.13 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Checking codemap v0.1.3 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking predicates v3.0.3 [INFO] [stderr] Checking libflate_lz77 v2.0.0 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking ignore v0.4.20 [INFO] [stderr] Compiling strum_macros v0.25.2 [INFO] [stderr] Compiling maud_macros v0.25.0 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking serde_json v1.0.105 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking xattr v1.0.1 [INFO] [stderr] Checking filetime v0.2.22 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling relative-path v1.9.0 [INFO] [stderr] Checking entities v1.0.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking xml5ever v0.17.0 [INFO] [stderr] Checking dary_heap v0.3.6 [INFO] [stderr] Checking roff v0.2.1 [INFO] [stderr] Checking askama_escape v0.10.3 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking clap_mangen v0.2.13 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking libflate v2.0.0 [INFO] [stderr] Checking comrak v0.18.0 [INFO] [stderr] Checking markup5ever_rcdom v0.2.0 [INFO] [stderr] Checking simplelog v0.12.1 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Checking tar v0.4.40 [INFO] [stderr] Checking maud v0.25.0 [INFO] [stderr] Checking chrono-humanize v0.2.3 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking clap_complete v4.4.0 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Checking nanoid v0.4.0 [INFO] [stderr] Checking if-addrs v0.10.1 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking fast_qr v0.9.0 [INFO] [stderr] Checking port_check v0.1.5 [INFO] [stderr] Checking bytesize v1.3.0 [INFO] [stderr] Checking webpki-roots v0.25.2 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking alphanumeric-sort v1.5.1 [INFO] [stderr] Checking assert_cmd v2.0.12 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking assert_fs v1.0.13 [INFO] [stderr] Checking select v0.6.0 [INFO] [stderr] Checking fake-tty v0.3.1 [INFO] [stderr] Checking hyper-rustls v0.24.1 [INFO] [stderr] Checking reqwest v0.11.20 [INFO] [stderr] Checking rstest v0.18.2 [INFO] [stderr] Compiling include_sass v0.13.0 [INFO] [stderr] Checking grass v0.13.1 [INFO] [stderr] Checking zstd v0.12.4 [INFO] [stderr] Checking actix-http v3.3.1 [INFO] [stderr] Checking actix-web v4.3.1 [INFO] [stderr] Checking actix-files v0.6.2 [INFO] [stderr] Checking actix-multipart v0.5.0 [INFO] [stderr] Checking actix-web-httpauth v0.8.0 [INFO] [stderr] Checking miniserve v0.24.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | / App::new() [INFO] [stdout] 199 | | .wrap(configure_header(&inside_config.clone())) [INFO] [stdout] 200 | | .app_data(inside_config.clone()) [INFO] [stdout] 201 | | .app_data(stylesheet.clone()) [INFO] [stdout] 202 | | .wrap_fn(errors::error_page_middleware) [INFO] [stdout] 203 | | .wrap(middleware::Logger::default()) [INFO] [stdout] | |________________________________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] ::: src/errors.rs:123:6 [INFO] [stdout] | [INFO] [stdout] 123 | ) -> impl Future> + 'static [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | the expected future [INFO] [stdout] | the found future [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.3.1/src/app.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | / impl ServiceFactory< [INFO] [stdout] 356 | | ServiceRequest, [INFO] [stdout] 357 | | Config = (), [INFO] [stdout] 358 | | Response = ServiceResponse, [INFO] [stdout] 359 | | Error = Error, [INFO] [stdout] 360 | | InitError = (), [INFO] [stdout] 361 | | >, [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________the expected opaque type [INFO] [stdout] | the found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `impl for<'a> futures::Future> + 'static` [INFO] [stdout] found opaque type `impl futures::Future> + 'static` [INFO] [stdout] = help: consider `await`ing on both `Future`s [INFO] [stdout] = note: distinct uses of `impl Trait` result in different opaque types [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.3.1/src/app.rs:432:47 [INFO] [stdout] | [INFO] [stdout] 432 | F: Fn(ServiceRequest, &T::Service) -> R + Clone + 'static, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `miniserve` (bin "miniserve") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | / App::new() [INFO] [stdout] 199 | | .wrap(configure_header(&inside_config.clone())) [INFO] [stdout] 200 | | .app_data(inside_config.clone()) [INFO] [stdout] 201 | | .app_data(stylesheet.clone()) [INFO] [stdout] 202 | | .wrap_fn(errors::error_page_middleware) [INFO] [stdout] 203 | | .wrap(middleware::Logger::default()) [INFO] [stdout] | |________________________________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] ::: src/errors.rs:123:6 [INFO] [stdout] | [INFO] [stdout] 123 | ) -> impl Future> + 'static [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | the expected future [INFO] [stdout] | the found future [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.3.1/src/app.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | / impl ServiceFactory< [INFO] [stdout] 356 | | ServiceRequest, [INFO] [stdout] 357 | | Config = (), [INFO] [stdout] 358 | | Response = ServiceResponse, [INFO] [stdout] 359 | | Error = Error, [INFO] [stdout] 360 | | InitError = (), [INFO] [stdout] 361 | | >, [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________the expected opaque type [INFO] [stdout] | the found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `impl for<'a> futures::Future> + 'static` [INFO] [stdout] found opaque type `impl futures::Future> + 'static` [INFO] [stdout] = help: consider `await`ing on both `Future`s [INFO] [stdout] = note: distinct uses of `impl Trait` result in different opaque types [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.3.1/src/app.rs:432:47 [INFO] [stdout] | [INFO] [stdout] 432 | F: Fn(ServiceRequest, &T::Service) -> R + Clone + 'static, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `miniserve` (bin "miniserve" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "718982658d9c97ac9e2f750c0464121b3753d7e1a9e463bc29d40ca6992ecf16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "718982658d9c97ac9e2f750c0464121b3753d7e1a9e463bc29d40ca6992ecf16", kill_on_drop: false }` [INFO] [stdout] 718982658d9c97ac9e2f750c0464121b3753d7e1a9e463bc29d40ca6992ecf16