Skip to content

nightly regression (2022-11-22) on rstest #104759

Closed

Description

@baloo

Sorry for the badly formatted bug report here, I'm not entirely sure how to report regression on a dependency as I don't have a minimal reproduction code.

$ cargo +nightly-2022-11-22 build 
   Compiling rstest v0.12.0
error: `fixtures::get<'_, impl Iterator<Item = &parse::Fixture>>::{opaque#1}<'_>` does not live long enough
  --> /home/.../.cargo/registry/src/github.com-1ecc6299db9ec823/rstest-0.12.0/src/render/mod.rs:64:13
   |
64 |             TestCaseRender::new(name, attrs, (resolver, &resolver_fixtures))
   |             ^^^^^^^^^^^^^^^^^^^

error: `fixtures::get<'_, impl Iterator<Item = &parse::Fixture>>::{opaque#1}<'_>` does not live long enough
  --> /home/.../.cargo/registry/src/github.com-1ecc6299db9ec823/rstest-0.12.0/src/render/mod.rs:64:13
   |
64 |             TestCaseRender::new(name, attrs, (resolver, &resolver_fixtures))
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

it works in nightly-2022-11-21:

$ cargo +nightly-2022-11-21 build
[...]
Finished dev [optimized + debuginfo] target(s) in 27.09s

(problem applies with rstest master version)

Activity

  1. compiler-errors commented on Nov 23, 2022

    @compiler-errors
    Contributor
  2. added
    E-needs-bisectionCall for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustc
    on Nov 23, 2022
  3. baloo commented on Nov 23, 2022

    @baloo
    Author

    searched nightlies: from nightly-2022-11-21 to nightly-2022-11-22
    regressed nightly: nightly-2022-11-22
    searched commit range: a28f3c8...b7bc90f
    regressed commit: 7fe6f36 (#103491 cc @cjgillot)

    bisected with cargo-bisect-rustc v0.6.4

    Host triple: x86_64-unknown-linux-gnu
    Reproduce with:

    cargo bisect-rustc --start=2022-11-21 --end=2022-11-22 --preserve

    (thanks for the suggestion! never used that tool before!)

  4. changed the title [-]rstest 0.12.0 nightly regression (2022-11-21)[/-] [+]rstest 0.12.0 nightly regression (2022-11-22)[/+] on Nov 23, 2022
  5. removed
    E-needs-bisectionCall for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustc
    on Nov 23, 2022
  6. changed the title [-]rstest 0.12.0 nightly regression (2022-11-22)[/-] [+]nightly regression (2022-11-22) on rstest[/+] on Nov 23, 2022
  7. self-assigned this
    on Nov 23, 2022
  8. baloo commented on Nov 25, 2022

    @baloo
    Author

    Closing this in favor of #104815 which carries a reproduction example

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

Metadata

Metadata

Assignees

Labels

C-bugCategory: This is a bug.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions