This isn't a complete fix.  There's still this error when running the
tests.  I don't understand which expect function it's complaining
about.  One generated by the MockServer?

----------------------------------------------------------------------
warning: the cargo feature `resolver` has been stabilized in the 1.51 release 
and is no longer necessary to be listed in the manifest
  See https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions 
for more information about using this feature.
   Compiling nbdkit v0.2.0 (/home/rjones/d/nbdkit/plugins/rust)
error: associated function `expect` is never used
  --> tests/common/mod.rs:49:1
   |
49 | / mock!{
50 | |     pub Server {}
51 | |     impl Server for Server {
52 | |         fn cache(&self, count: u32, offset: u64) -> Result<()>;
...  |
86 | |     }
87 | | }
   | |_^
   |
   = note: `-D dead-code` implied by `-D warnings`

error: could not compile `nbdkit` due to previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `nbdkit` due to previous error
FAIL test.sh (exit status: 101)
----------------------------------------------------------------------

Rich.


_______________________________________________
Libguestfs mailing list
Libguestfs@redhat.com
https://listman.redhat.com/mailman/listinfo/libguestfs

Reply via email to