Skip to content

could not compile sqlparser #1612

@tobyhede

Description

@tobyhede

With a clean clone of the repo, cargo test results in a compile error.

It might be my local, but tried with Rust 1.75, 1.78 and stable.

error[E0658]: associated type bounds are unstable
    --> src/ast/mod.rs:7876:43
     |
7876 |             I: IntoIterator<Item = usize, IntoIter: DoubleEndedIterator + Clone> + Clone,
     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: see issue #52662 <https://github.com/rust-lang/rust/issues/52662> for more information

For more information about this error, try `rustc --explain E0658`.
error: could not compile `sqlparser` (lib test) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
warning: associated type bounds are unstable
    --> src/ast/mod.rs:7876:43
     |
7876 |             I: IntoIterator<Item = usize, IntoIter: DoubleEndedIterator + Clone> + Clone,
     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: see issue #52662 <https://github.com/rust-lang/rust/issues/52662> for more information
     = warning: unstable syntax can change at any point in the future, causing a hard error!
     = note: for more information, see issue #65860 <https://github.com/rust-lang/rust/issues/65860>

warning: `sqlparser` (lib) generated 1 warning

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions