New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure for SQLite, relavant for rustdoc #1869

Closed
joelgallant opened this Issue Oct 3, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@joelgallant

joelgallant commented Oct 3, 2018

You can see that the latest master branch is failing on SQLite tests here. Seems to only be on appveyor and not travis.

I noticed a similar failure in my own crate, when running rustdoc. I'm not running windows, but maybe what I'm seeing is a separate issue. (it looks identical though, so it seems related)

my log (name ommited)

error[E0275]: overflow evaluating the requirement `<&_ as diesel::Insertable<_>>::Values`
  |
  = help: consider adding a `#![recursion_limit="128"]` attribute to your crate
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&_, &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&(_, _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&(_, _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&((_, _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&((_, _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&(((_, _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&(((_, _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&((((_, _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&((((_, _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&(((((_, _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&(((((_, _, _), _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&((((((_, _, _), _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&((((((_, _, _), _, _), _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&(((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&(((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&(((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&(((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&(((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&(((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&(((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&(((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&(((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&(((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&(((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&(((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&(((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&(((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&((((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&((((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&(((((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&(((((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&((((((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&((((((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&(((((((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&(((((((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&((((((((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&((((((((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&(((((((((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&(((((((((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&((((((((((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&((((((((((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&(((((((((((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&(((((((((((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&((((((((((((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&((((((((((((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&(((((((((((((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&(((((((((((((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&((((((((((((((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&((((((((((((((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), &_, &_)`
  = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&(((((((((((((((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _)`
  = note: required because of the requirements on the impl of `diesel::query_builder::QueryFragment<_>` for `diesel::insertable::BatchInsert<'_, (((((((((((((((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _>`
  = note: required because of the requirements on the impl of `diesel::query_dsl::load_dsl::ExecuteDsl<_, _>` for `diesel::insertable::BatchInsert<'_, (((((((((((((((((((((((((((((((_, _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _, _), _>`

error: Could not document ``.

Caused by:
  process didn't exit successfully: `rustdoc --edition=2018 [..] --color always --target x86_64-unknown-linux-gnu -o /work/target/x86_64-unknown-linux-gnu/doc --cfg 'feature="default"' --document-private-items


This still occurs with most minimal example:
table! {
    table_name (id) {
        id -> Integer,
    }
}

and

create table table_name (
  id INTEGER PRIMARY KEY NOT NULL
)
@joelgallant

This comment has been minimized.

joelgallant commented Oct 3, 2018

This also happens on master using cargo +beta doc -p diesel (stable fails in a different way).

@weiznich

This comment has been minimized.

Contributor

weiznich commented Oct 3, 2018

This is clearly a rustc issue (because it works on stable). Closed because this is nothing that could be fixed in diesel.
See rust-lang/rust#54524 for the documentation issue.

@weiznich weiznich closed this Oct 3, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment