message: minimize test
diff: @@ -4933,29 +4933,19 @@ hello stderr!
  use cargo_test_support::registry::Dependency;
  #[cargo_test]
  -fn eric() {
  - Package::new("blas-src", "0.6.1")
  - .add_dep(Dependency::new("openblas-src", "0.9").optional(true))
  - .feature("openblas", &["openblas-src"])
  - .publish();
  - Package::new("openblas-src", "0.9.0")
  - .links("openblas")
  - .publish();
  - Package::new("openblas-src", "0.6.1")
  - .links("openblas")
  - .publish();
  - Package::new("ndarray-linalg", "0.12.0")
  - .add_dep(&Dependency::new("blas-src", "0.4")) // default-features=false
  - .add_dep(Dependency::new("ndarray", "0.13").enable_features(&["blas"]))
  +fn reduced_reproduction_8249() {
  + Package::new("a-src", "0.1.0").links("a").publish();
  + Package::new("a-src", "0.2.0").links("a").publish();
  +
  + Package::new("b", "0.1.0")
  + .add_dep(Dependency::new("a-src", "0.1").optional(true))
  .publish();
  - Package::new("blas-src", "0.4.0").publish();
  - Package::new("blas-src", "0.2.1")
  - .feature("openblas", &["openblas-src"])
  - .add_dep(Dependency::new("openblas-src", "0.6").optional(true))
  + Package::new("b", "0.2.0")
  + .add_dep(Dependency::new("a-src", "0.2").optional(true))
  .publish();
  - Package::new("ndarray", "0.13.1")
  - .add_dep(Dependency::new("blas-src", "0.2.0").optional(true))
  - .feature("blas", &["blas-src"])
  +
  + Package::new("c", "1.0.0")
  + .add_dep(&Dependency::new("b", "0.1.0"))
  .publish();
  let p = project()
  @@ -4967,19 +4957,18 @@ fn eric() {
  version = "0.1.0"
  [dependencies]
  - blas-src = { version = "*", features = ["openblas"] }
  - openblas-src = { version = "*" }
  + b = { version = "*", features = ["a-src"] }
  + a-src = "*"
  "#,
  )
  .file("src/lib.rs", "")
  .build();
  p.cargo("generate-lockfile").run();
  - cargo::util::paths::append(&p.root().join("Cargo.toml"), b"ndarray-linalg = \"0.12\"\n")
  - .unwrap();
  + cargo::util::paths::append(&p.root().join("Cargo.toml"), b"c = \"*\"").unwrap();
  p.cargo("check")
  .with_status(101)
  - .with_stderr_contains("[..]links to the native library `openblas`[..]")
  + .with_stderr_contains("[..]links to the native library `a`[..]")
  .run();
  // This passes, what!?
  p.cargo("check").run();
  