Skip to content

Diesel new coherence failure: conflicting implementations of trait #131969

Closed
@weiznich

Description

@weiznich

Code

I tried this code:

git clone https://github.com/diesel-rs/diesel/
cd diesel
git checkout b170af753cc3c6774f578aae1081711a09dfa2ac
cargo +nightly check -p diesel -F postgres -F 64-column-tables

I expected to see this happen: Code compiles fine

Instead, this happened: Code produces the following errors (Really long error, so I put it into a gist)

Version it worked on

It most recently worked on: Beta channel (1.83)

Version with regression

rustc --version --verbose:

rustc 1.84.0-nightly (da935398d 2024-10-19)
binary: rustc
commit-hash: da935398d582344c5b7689bd6632d8ec01b0c988
commit-date: 2024-10-19
host: x86_64-unknown-linux-gnu
release: 1.84.0-nightly
LLVM version: 19.1.1

Rustc-bisect points to a0c2aba, so cc @lcnr @compiler-errors (I'm sorry to come with the next issue there)

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

Metadata

Metadata

Assignees

Labels

A-trait-systemArea: Trait systemC-bugCategory: This is a bug.P-highHigh priorityregression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions