<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Package: debcargo<br>
    Version: 2.5.0-3<br>
    <br>
    Alexander Kjäll was working on packaging wl-clipboard-rs when he ran
    into an autopkgtest failure.<br>
    <blockquote type="cite">
      <pre>debian cargo wrapper: options, profiles, parallel: ['parallel=4'] [] ['-j4']
debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, x86_64-linux-gnu
debian cargo wrapper: linking /usr/share/cargo/registry/* into /tmp/tmp.Zo0aVr3cJs/registry/
debian cargo wrapper: options, profiles, parallel: ['parallel=4'] [] ['-j4']
debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, x86_64-linux-gnu
debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', '-Zavoid-dev-deps', 'test', '--verbose', '--verbose', '-j4', '--target', 'x86_64-unknown-linux-gnu', '--all-targets', '--no-default-features', '--features', 'native_lib'],) {}
error: no matching package named `parking_lot` found
location searched: registry `crates-io`
required by package `wayland-server v0.29.4`
    ... which satisfies dependency `wayland-server = "^0.29.4"` of package `wl-clipboard-rs v0.6.0 (/usr/share/cargo/registry/wl-clipboard-rs-0.6.0)`</pre>
    </blockquote>
    <p>Investigating showed that Cargo.toml contains the following<br>
    </p>
    <blockquote type="cite">[dev-dependencies.wayland-server]<br>
      version = "0.29.4"<br>
      <br>
      [features]<br>
      dlopen = ["native_lib", "wayland-client/dlopen",
      "wayland-server/dlopen"]<br>
      native_lib = ["wayland-client/use_system_lib",
      "wayland-server/use_system_lib"]<br>
    </blockquote>
    If I am reading this correctly this means that when running tests
    with the "native_lib" feature enabled, the "use_system_lib" feature
    of the wayland-server package will be enabled.<br>
    <br>
    However debcargo does not generate a test dependency on
    librust-wayland-server+use-system-lib-dev<br>
    <br>
    I believe this is the result of the error Alexander encountered (and
    I reproduced)<br>
    <br>
    The packaging for wl-clipboard-rs ia available in the
    WIP-wl-clipboard-rs branch of debcargo-conf.<br>
    <br>
  </body>
</html>