Skip to content

regression: error[E0275]: overflow evaluating the requirement (related to pin-project) #134709

Closed

Description

@cuviper

These look similar, but feel free to split the issue if they have distinct causes.

  1. https://crater-reports.s3.amazonaws.com/beta-1.84.0-4-retry2/beta-2024-12-08/gh/ethereum-mousse.mousse/log.txt
[INFO] [stdout] error[E0275]: overflow evaluating the requirement `(PhantomData<warp::filters::any::AnyFut>, PhantomData<()>, PhantomData<Exact<...>>): Sized`
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`http_api`)
[INFO] [stdout]     = note: required for `AlwaysUnpin<'_, (PhantomData<AnyFut>, PhantomData<()>, ...)>` to implement `Unpin`
[INFO] [stdout] note: required because it appears within the type `__State<'_, AnyFut, (), Exact<Opaque<__StaticPath>>>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.0/src/filter/and.rs:46:6
[INFO] [stdout]     |
[INFO] [stdout] 46  | enum State<T, TE, U: Filter> {
[INFO] [stdout]     |      ^^^^^
[INFO] [stdout]     = note: required for `State<AnyFut, (), Exact<Opaque<__StaticPath>>>` to implement `Unpin`
[INFO] [stdout] note: required because it appears within the type `__AndFuture<'_, Any, Exact<Opaque<__StaticPath>>>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.0/src/filter/and.rs:40:12
[INFO] [stdout]     |
[INFO] [stdout] 40  | pub struct AndFuture<T: Filter, U: Filter> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout]     = note: required for `AndFuture<Any, Exact<Opaque<__StaticPath>>>` to implement `Unpin`
[INFO] [stdout] note: required because it appears within the type `__State<'_, AndFuture<Any, Exact<Opaque<__StaticPath>>>, (), ...>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.0/src/filter/and.rs:46:6
[INFO] [stdout]     |
[INFO] [stdout] 46  | enum State<T, TE, U: Filter> {
[INFO] [stdout]     |      ^^^^^
[INFO] [stdout]     = note: required for `State<AndFuture<Any, Exact<Opaque<__StaticPath>>>, (), Exact<...>>` to implement `Unpin`
[INFO] [stdout] note: required because it appears within the type `__AndFuture<'_, And<Any, Exact<Opaque<__StaticPath>>>, Exact<...>>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.0/src/filter/and.rs:40:12
[INFO] [stdout]     |
[INFO] [stdout] 40  | pub struct AndFuture<T: Filter, U: Filter> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout]     = note: required for `AndFuture<And<Any, Exact<Opaque<__StaticPath>>>, Exact<Opaque<...>>>` to implement `Unpin`
[...]
  1. https://crater-reports.s3.amazonaws.com/beta-1.84.0-4-retry2/beta-2024-12-08/gh/vagicc.diesel-demo/log.txt
[INFO] [stdout] error[E0275]: overflow evaluating the requirement `pin_project::__private::AlwaysUnpin<'_, (PhantomData<warp::filters::any::Any>, PhantomData<Exact<warp::path::internal::Opaque<...>>>)>: Unpin`
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`diesel_demo`)
[INFO] [stdout] note: required because it appears within the type `__AndFuture<'_, Any, Exact<Opaque<__StaticPath>>>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.1/src/filter/and.rs:40:12
[INFO] [stdout]     |
[INFO] [stdout] 40  | pub struct AndFuture<T: Filter, U: Filter> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout]     = note: required for `AndFuture<Any, Exact<Opaque<__StaticPath>>>` to implement `Unpin`
[INFO] [stdout] note: required because it appears within the type `__State<'_, AndFuture<Any, Exact<Opaque<__StaticPath>>>, (), ...>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.1/src/filter/and.rs:46:6
[INFO] [stdout]     |
[INFO] [stdout] 46  | enum State<T, TE, U: Filter> {
[INFO] [stdout]     |      ^^^^^
[INFO] [stdout]     = note: required for `State<AndFuture<Any, Exact<Opaque<__StaticPath>>>, (), Exact<...>>` to implement `Unpin`
[INFO] [stdout] note: required because it appears within the type `__AndFuture<'_, And<Any, Exact<Opaque<__StaticPath>>>, Exact<...>>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.1/src/filter/and.rs:40:12
[INFO] [stdout]     |
[INFO] [stdout] 40  | pub struct AndFuture<T: Filter, U: Filter> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout]     = note: required for `AndFuture<And<Any, Exact<Opaque<__StaticPath>>>, Exact<Opaque<...>>>` to implement `Unpin`
[INFO] [stdout] note: required because it appears within the type `__State<'_, AndFuture<And<Any, Exact<Opaque<...>>>, ...>, ..., ...>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.1/src/filter/and.rs:46:6
[INFO] [stdout]     |
[INFO] [stdout] 46  | enum State<T, TE, U: Filter> {
[INFO] [stdout]     |      ^^^^^
[INFO] [stdout]     = note: required for `State<AndFuture<And<Any, Exact<Opaque<__StaticPath>>>, ...>, ..., ...>` to implement `Unpin`
[...]

Version it worked on

It most recently worked on: 1.83.0

Version with regression

Using rustc 1.84.0-beta.4 in crater #134138.

@rustbot modify labels: +regression-from-stable-to-beta -regression-untriaged

Activity

  1. added
    C-bugCategory: This is a bug.
    regression-untriagedUntriaged performance or correctness regression.
    on Dec 23, 2024
  2. added
    I-prioritizeIssue needs a team member to assess the impact. Will be replaced by P-{low,medium,high,critical}
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    and removed
    regression-untriagedUntriaged performance or correctness regression.
    on Dec 23, 2024
  3. compiler-errors commented on Dec 23, 2024

    @compiler-errors
    Contributor

    Interestingly, the mousse regression seems to bisect to 7660aed / #132173.

  4. added this to the 1.84.0 milestone on Dec 24, 2024
  5. theemathas commented on Jan 4, 2025

    @theemathas
    Contributor

    Somewhat minimized from diesel-demo:

    cargo +stable check, cargo +stable build, and cargo +beta check work fine, but cargo +beta build produces an error.

    lib.rs
    use warp::Filter;
    
    pub fn foo(a: std::net::SocketAddr) {
        pollster::block_on(
            warp::serve(all_routes())
                .tls()
                .cert_path("")
                .key_path("")
                .run(a),
        );
    }
    
    fn all_routes() -> impl Filter<Extract = impl warp::Reply, Error = warp::Rejection> + Clone {
        let users = warp::get()
            .and(warp::path!("users" / "distinct"))
            .and(warp::path::end())
            .map(String::new);
    
        let routes = users
            .or(users)
            .or(users)
            .or(users)
            .or(users)
            .or(users)
            .or(users)
            .or(users)
            .or(users)
            .or(users)
            .or(users)
            .or(users)
            .or(users)
            .or(users)
            .or(users)
            .or(users)
            .or(users)
            .or(users)
            .or(users)
            .or(users)
            .or(users)
            .or(users)
            .or(users)
            .or(users)
            .or(users)
            .or(users)
            .or(users);
        routes
    }
    Cargo.toml
    [package]
    name = "diesel-demo"
    edition = "2018"
    
    
    # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
    
    [dependencies]
    warp = { version = "0.3.1", features = ["tls"], default-features = false }
    pollster = "0.4.0"
    Cargo.lock
    # This file is automatically @generated by Cargo.
    # It is not intended for manual editing.
    version = 4
    
    [[package]]
    name = "autocfg"
    version = "1.4.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
    
    [[package]]
    name = "base64"
    version = "0.21.7"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
    
    [[package]]
    name = "block-buffer"
    version = "0.10.4"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
    dependencies = [
     "generic-array",
    ]
    
    [[package]]
    name = "bytes"
    version = "1.0.1"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "b700ce4376041dcd0a327fd0097c41095743c4c8af8887265942faf1100bd040"
    
    [[package]]
    name = "cc"
    version = "1.2.7"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "a012a0df96dd6d06ba9a1b29d6402d1a5d77c6befd2566afdc26e10603dc93d7"
    dependencies = [
     "shlex",
    ]
    
    [[package]]
    name = "cfg-if"
    version = "1.0.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
    
    [[package]]
    name = "cpufeatures"
    version = "0.2.16"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "16b80225097f2e5ae4e7179dd2266824648f3e2f49d9134d584b76389d31c4c3"
    dependencies = [
     "libc",
    ]
    
    [[package]]
    name = "crypto-common"
    version = "0.1.6"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
    dependencies = [
     "generic-array",
     "typenum",
    ]
    
    [[package]]
    name = "diesel-demo"
    version = "0.0.0"
    dependencies = [
     "pollster",
     "warp",
    ]
    
    [[package]]
    name = "digest"
    version = "0.10.7"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
    dependencies = [
     "block-buffer",
     "crypto-common",
    ]
    
    [[package]]
    name = "fnv"
    version = "1.0.7"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
    
    [[package]]
    name = "form_urlencoded"
    version = "1.0.1"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191"
    dependencies = [
     "matches",
     "percent-encoding",
    ]
    
    [[package]]
    name = "futures-channel"
    version = "0.3.31"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10"
    dependencies = [
     "futures-core",
     "futures-sink",
    ]
    
    [[package]]
    name = "futures-core"
    version = "0.3.31"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e"
    
    [[package]]
    name = "futures-sink"
    version = "0.3.31"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7"
    
    [[package]]
    name = "futures-task"
    version = "0.3.31"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988"
    
    [[package]]
    name = "futures-util"
    version = "0.3.31"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81"
    dependencies = [
     "futures-core",
     "futures-sink",
     "futures-task",
     "pin-project-lite",
     "pin-utils",
    ]
    
    [[package]]
    name = "generic-array"
    version = "0.14.4"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "501466ecc8a30d1d3b7fc9229b122b2ce8ed6e9d9223f1138d4babb253e51817"
    dependencies = [
     "typenum",
     "version_check",
    ]
    
    [[package]]
    name = "getrandom"
    version = "0.2.15"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
    dependencies = [
     "cfg-if",
     "libc",
     "wasi",
    ]
    
    [[package]]
    name = "h2"
    version = "0.3.3"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "825343c4eef0b63f541f8903f395dc5beb362a979b5799a84062527ef1e37726"
    dependencies = [
     "bytes",
     "fnv",
     "futures-core",
     "futures-sink",
     "futures-util",
     "http",
     "indexmap",
     "slab",
     "tokio",
     "tokio-util 0.6.7",
     "tracing",
    ]
    
    [[package]]
    name = "hashbrown"
    version = "0.9.1"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04"
    
    [[package]]
    name = "headers"
    version = "0.3.9"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "06683b93020a07e3dbcf5f8c0f6d40080d725bea7936fc01ad345c01b97dc270"
    dependencies = [
     "base64",
     "bytes",
     "headers-core",
     "http",
     "httpdate",
     "mime",
     "sha1",
    ]
    
    [[package]]
    name = "headers-core"
    version = "0.2.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429"
    dependencies = [
     "http",
    ]
    
    [[package]]
    name = "http"
    version = "0.2.4"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "527e8c9ac747e28542699a951517aa9a6945af506cd1f2e1b53a576c17b6cc11"
    dependencies = [
     "bytes",
     "fnv",
     "itoa 0.4.7",
    ]
    
    [[package]]
    name = "http-body"
    version = "0.4.2"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "60daa14be0e0786db0f03a9e57cb404c9d756eed2b6c62b9ea98ec5743ec75a9"
    dependencies = [
     "bytes",
     "http",
     "pin-project-lite",
    ]
    
    [[package]]
    name = "httparse"
    version = "1.4.1"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "f3a87b616e37e93c22fb19bcd386f02f3af5ea98a25670ad0fce773de23c5e68"
    
    [[package]]
    name = "httpdate"
    version = "1.0.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "05842d0d43232b23ccb7060ecb0f0626922c21f30012e97b767b30afd4a5d4b9"
    
    [[package]]
    name = "hyper"
    version = "0.14.7"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "1e5f105c494081baa3bf9e200b279e27ec1623895cd504c7dbef8d0b080fcf54"
    dependencies = [
     "bytes",
     "futures-channel",
     "futures-core",
     "futures-util",
     "h2",
     "http",
     "http-body",
     "httparse",
     "httpdate",
     "itoa 0.4.7",
     "pin-project",
     "socket2",
     "tokio",
     "tower-service",
     "tracing",
     "want",
    ]
    
    [[package]]
    name = "indexmap"
    version = "1.6.2"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "824845a0bf897a9042383849b02c1bc219c2383772efcd5c6f9766fa4b81aef3"
    dependencies = [
     "autocfg",
     "hashbrown",
    ]
    
    [[package]]
    name = "itoa"
    version = "0.4.7"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736"
    
    [[package]]
    name = "itoa"
    version = "1.0.3"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "6c8af84674fe1f223a982c933a0ee1086ac4d4052aa0fb8060c12c6ad838e754"
    
    [[package]]
    name = "lazy_static"
    version = "1.4.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
    
    [[package]]
    name = "libc"
    version = "0.2.169"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"
    
    [[package]]
    name = "log"
    version = "0.4.22"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
    
    [[package]]
    name = "matches"
    version = "0.1.8"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08"
    
    [[package]]
    name = "mime"
    version = "0.3.16"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d"
    
    [[package]]
    name = "mime_guess"
    version = "2.0.3"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "2684d4c2e97d99848d30b324b00c8fcc7e5c897b7cbb5819b09e7c90e8baf212"
    dependencies = [
     "mime",
     "unicase",
    ]
    
    [[package]]
    name = "mio"
    version = "0.8.11"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c"
    dependencies = [
     "libc",
     "wasi",
     "windows-sys 0.48.0",
    ]
    
    [[package]]
    name = "percent-encoding"
    version = "2.1.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e"
    
    [[package]]
    name = "pin-project"
    version = "1.0.7"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "c7509cc106041c40a4518d2af7a61530e1eed0e6285296a3d8c5472806ccc4a4"
    dependencies = [
     "pin-project-internal",
    ]
    
    [[package]]
    name = "pin-project-internal"
    version = "1.0.7"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "48c950132583b500556b1efd71d45b319029f2b71518d979fcc208e16b42426f"
    dependencies = [
     "proc-macro2",
     "quote",
     "syn",
    ]
    
    [[package]]
    name = "pin-project-lite"
    version = "0.2.6"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "dc0e1f259c92177c30a4c9d177246edd0a3568b25756a977d0632cf8fa37e905"
    
    [[package]]
    name = "pin-utils"
    version = "0.1.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
    
    [[package]]
    name = "pollster"
    version = "0.4.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "2f3a9f18d041e6d0e102a0a46750538147e5e8992d3b4873aaafee2520b00ce3"
    
    [[package]]
    name = "proc-macro2"
    version = "1.0.43"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "0a2ca2c61bc9f3d74d2886294ab7b9853abd9c1ad903a3ac7815c58989bb7bab"
    dependencies = [
     "unicode-ident",
    ]
    
    [[package]]
    name = "quote"
    version = "1.0.9"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7"
    dependencies = [
     "proc-macro2",
    ]
    
    [[package]]
    name = "ring"
    version = "0.17.8"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d"
    dependencies = [
     "cc",
     "cfg-if",
     "getrandom",
     "libc",
     "spin",
     "untrusted",
     "windows-sys 0.52.0",
    ]
    
    [[package]]
    name = "rustls"
    version = "0.22.4"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432"
    dependencies = [
     "log",
     "ring",
     "rustls-pki-types",
     "rustls-webpki",
     "subtle",
     "zeroize",
    ]
    
    [[package]]
    name = "rustls-pemfile"
    version = "2.2.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50"
    dependencies = [
     "rustls-pki-types",
    ]
    
    [[package]]
    name = "rustls-pki-types"
    version = "1.10.1"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "d2bf47e6ff922db3825eb750c4e2ff784c6ff8fb9e13046ef6a1d1c5401b0b37"
    
    [[package]]
    name = "rustls-webpki"
    version = "0.102.8"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9"
    dependencies = [
     "ring",
     "rustls-pki-types",
     "untrusted",
    ]
    
    [[package]]
    name = "ryu"
    version = "1.0.5"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e"
    
    [[package]]
    name = "scoped-tls"
    version = "1.0.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2"
    
    [[package]]
    name = "serde"
    version = "1.0.144"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "0f747710de3dcd43b88c9168773254e809d8ddbdf9653b84e2554ab219f17860"
    
    [[package]]
    name = "serde_json"
    version = "1.0.85"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "e55a28e3aaef9d5ce0506d0a14dbba8054ddc7e499ef522dd8b26859ec9d4a44"
    dependencies = [
     "itoa 1.0.3",
     "ryu",
     "serde",
    ]
    
    [[package]]
    name = "serde_urlencoded"
    version = "0.7.1"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd"
    dependencies = [
     "form_urlencoded",
     "itoa 1.0.3",
     "ryu",
     "serde",
    ]
    
    [[package]]
    name = "sha1"
    version = "0.10.6"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba"
    dependencies = [
     "cfg-if",
     "cpufeatures",
     "digest",
    ]
    
    [[package]]
    name = "shlex"
    version = "1.3.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
    
    [[package]]
    name = "slab"
    version = "0.4.3"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "f173ac3d1a7e3b28003f40de0b5ce7fe2710f9b9dc3fc38664cebee46b3b6527"
    
    [[package]]
    name = "socket2"
    version = "0.4.10"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d"
    dependencies = [
     "libc",
     "winapi",
    ]
    
    [[package]]
    name = "spin"
    version = "0.9.8"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
    
    [[package]]
    name = "subtle"
    version = "2.6.1"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
    
    [[package]]
    name = "syn"
    version = "1.0.99"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "58dbef6ec655055e20b86b15a8cc6d439cca19b667537ac6a1369572d151ab13"
    dependencies = [
     "proc-macro2",
     "quote",
     "unicode-ident",
    ]
    
    [[package]]
    name = "tokio"
    version = "1.28.2"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "94d7b1cfd2aa4011f2de74c2c4c63665e27a71006b0a192dcd2710272e73dfa2"
    dependencies = [
     "autocfg",
     "bytes",
     "libc",
     "mio",
     "pin-project-lite",
     "socket2",
     "windows-sys 0.48.0",
    ]
    
    [[package]]
    name = "tokio-rustls"
    version = "0.25.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f"
    dependencies = [
     "rustls",
     "rustls-pki-types",
     "tokio",
    ]
    
    [[package]]
    name = "tokio-util"
    version = "0.6.7"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "1caa0b0c8d94a049db56b5acf8cba99dc0623aab1b26d5b5f5e2d945846b3592"
    dependencies = [
     "bytes",
     "futures-core",
     "futures-sink",
     "log",
     "pin-project-lite",
     "tokio",
    ]
    
    [[package]]
    name = "tokio-util"
    version = "0.7.8"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d"
    dependencies = [
     "bytes",
     "futures-core",
     "futures-sink",
     "pin-project-lite",
     "tokio",
    ]
    
    [[package]]
    name = "tower-service"
    version = "0.3.1"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6"
    
    [[package]]
    name = "tracing"
    version = "0.1.26"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "09adeb8c97449311ccd28a427f96fb563e7fd31aabf994189879d9da2394b89d"
    dependencies = [
     "cfg-if",
     "log",
     "pin-project-lite",
     "tracing-core",
    ]
    
    [[package]]
    name = "tracing-core"
    version = "0.1.18"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "a9ff14f98b1a4b289c6248a023c1c2fa1491062964e9fed67ab29c4e4da4a052"
    dependencies = [
     "lazy_static",
    ]
    
    [[package]]
    name = "try-lock"
    version = "0.2.3"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642"
    
    [[package]]
    name = "typenum"
    version = "1.17.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
    
    [[package]]
    name = "unicase"
    version = "2.6.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6"
    dependencies = [
     "version_check",
    ]
    
    [[package]]
    name = "unicode-ident"
    version = "1.0.3"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "c4f5b37a154999a8f3f98cc23a628d850e154479cd94decf3414696e12e31aaf"
    
    [[package]]
    name = "untrusted"
    version = "0.9.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
    
    [[package]]
    name = "version_check"
    version = "0.9.3"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe"
    
    [[package]]
    name = "want"
    version = "0.3.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0"
    dependencies = [
     "log",
     "try-lock",
    ]
    
    [[package]]
    name = "warp"
    version = "0.3.7"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "4378d202ff965b011c64817db11d5829506d3404edeadb61f190d111da3f231c"
    dependencies = [
     "bytes",
     "futures-channel",
     "futures-util",
     "headers",
     "http",
     "hyper",
     "log",
     "mime",
     "mime_guess",
     "percent-encoding",
     "pin-project",
     "rustls-pemfile",
     "scoped-tls",
     "serde",
     "serde_json",
     "serde_urlencoded",
     "tokio",
     "tokio-rustls",
     "tokio-util 0.7.8",
     "tower-service",
     "tracing",
    ]
    
    [[package]]
    name = "wasi"
    version = "0.11.0+wasi-snapshot-preview1"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
    
    [[package]]
    name = "winapi"
    version = "0.3.9"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
    dependencies = [
     "winapi-i686-pc-windows-gnu",
     "winapi-x86_64-pc-windows-gnu",
    ]
    
    [[package]]
    name = "winapi-i686-pc-windows-gnu"
    version = "0.4.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
    
    [[package]]
    name = "winapi-x86_64-pc-windows-gnu"
    version = "0.4.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
    
    [[package]]
    name = "windows-sys"
    version = "0.48.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
    dependencies = [
     "windows-targets 0.48.5",
    ]
    
    [[package]]
    name = "windows-sys"
    version = "0.52.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
    dependencies = [
     "windows-targets 0.52.6",
    ]
    
    [[package]]
    name = "windows-targets"
    version = "0.48.5"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
    dependencies = [
     "windows_aarch64_gnullvm 0.48.5",
     "windows_aarch64_msvc 0.48.5",
     "windows_i686_gnu 0.48.5",
     "windows_i686_msvc 0.48.5",
     "windows_x86_64_gnu 0.48.5",
     "windows_x86_64_gnullvm 0.48.5",
     "windows_x86_64_msvc 0.48.5",
    ]
    
    [[package]]
    name = "windows-targets"
    version = "0.52.6"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
    dependencies = [
     "windows_aarch64_gnullvm 0.52.6",
     "windows_aarch64_msvc 0.52.6",
     "windows_i686_gnu 0.52.6",
     "windows_i686_gnullvm",
     "windows_i686_msvc 0.52.6",
     "windows_x86_64_gnu 0.52.6",
     "windows_x86_64_gnullvm 0.52.6",
     "windows_x86_64_msvc 0.52.6",
    ]
    
    [[package]]
    name = "windows_aarch64_gnullvm"
    version = "0.48.5"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
    
    [[package]]
    name = "windows_aarch64_gnullvm"
    version = "0.52.6"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
    
    [[package]]
    name = "windows_aarch64_msvc"
    version = "0.48.5"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
    
    [[package]]
    name = "windows_aarch64_msvc"
    version = "0.52.6"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
    
    [[package]]
    name = "windows_i686_gnu"
    version = "0.48.5"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
    
    [[package]]
    name = "windows_i686_gnu"
    version = "0.52.6"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
    
    [[package]]
    name = "windows_i686_gnullvm"
    version = "0.52.6"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
    
    [[package]]
    name = "windows_i686_msvc"
    version = "0.48.5"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
    
    [[package]]
    name = "windows_i686_msvc"
    version = "0.52.6"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
    
    [[package]]
    name = "windows_x86_64_gnu"
    version = "0.48.5"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
    
    [[package]]
    name = "windows_x86_64_gnu"
    version = "0.52.6"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
    
    [[package]]
    name = "windows_x86_64_gnullvm"
    version = "0.48.5"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
    
    [[package]]
    name = "windows_x86_64_gnullvm"
    version = "0.52.6"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
    
    [[package]]
    name = "windows_x86_64_msvc"
    version = "0.48.5"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
    
    [[package]]
    name = "windows_x86_64_msvc"
    version = "0.52.6"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
    
    [[package]]
    name = "zeroize"
    version = "1.8.1"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
  6. apiraino commented on Jan 6, 2025

    @apiraino
    Contributor

    also cc @veluca93 as author of #132173

  7. veluca93 commented on Jan 6, 2025

    @veluca93
    Contributor

    also cc @veluca93 as author of #132173

    I don't see what in that PR might be the cause of this - any ideas?

    My best guess is that this is caused by changing the order of evaluation of some queries, possibly unveiling some pre-existing issues, but I am not sure.

  8. added
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    E-needs-investigationCall for participation: This issues needs some investigation to determine current status
    on Jan 6, 2025
  9. jieyouxu commented on Jan 6, 2025

    @jieyouxu
    Member

    Somewhat minimized from diesel-demo:

    This example builds with cargo +beta build if I bump the recursion limit

    +#![recursion_limit = "256"]
     use warp::Filter;
  10. jieyouxu commented on Jan 6, 2025

    @jieyouxu
    Member

    FWIW https://github.com/ethereum-mousse/mousse also builds with cargo +beta build if I add a #![recursion_limit = "256"] to its http_api/src/main.rs.

  11. apiraino commented on Jan 6, 2025

    @apiraino
    Contributor

    thanks @jieyouxu. I guess this means those crates would probably need to be updated by their maintainers

    @rustbot label -needs-triage

  12. removed
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on Jan 6, 2025
  13. apiraino commented on Jan 15, 2025

    @apiraino
    Contributor

    Makes sense closing this one? It looks like that updating the code of these crates should fix the issue (warp is known to us at triaging for being somewhat problematic)

  14. removed
    E-needs-investigationCall for participation: This issues needs some investigation to determine current status
    on Feb 14, 2025
  15. removed
    I-prioritizeIssue needs a team member to assess the impact. Will be replaced by P-{low,medium,high,critical}
    on Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions