You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
0.561492717s WARN traits/src/traits.rs:6: referent of mod "crypto" not found: tried ["/home/mbp/src/openmls/traits/src/traits/crypto.rs", "/home/mbp/src/openmls/traits/src/traits/crypto/mod.rs"]
0.561519127s WARN traits/src/traits.rs:7: referent of mod "key_store" not found: tried ["/home/mbp/src/openmls/traits/src/traits/key_store.rs", "/home/mbp/src/openmls/traits/src/traits/key_store/mod.rs"]
0.561535347s WARN traits/src/traits.rs:8: referent of mod "random" not found: tried ["/home/mbp/src/openmls/traits/src/traits/random.rs", "/home/mbp/src/openmls/traits/src/traits/random/mod.rs"]
0.561550568s WARN traits/src/traits.rs:9: referent of mod "signatures" not found: tried ["/home/mbp/src/openmls/traits/src/traits/signatures.rs", "/home/mbp/src/openmls/traits/src/traits/signatures/mod.rs"]
0.561570058s WARN traits/src/traits.rs:10: referent of mod "types" not found: tried ["/home/mbp/src/openmls/traits/src/traits/types.rs", "/home/mbp/src/openmls/traits/src/traits/types/mod.rs"]
Found 1287 mutants to test
Unmutated baseline ... ok in 40.8s build + 46.8s test
It still carries on with testing but is perhaps failing to generate some mutants.
So it should find mod traits in src/traits.rs. I think it's confused because the top-level file is traits.rs, not lib.rs, due to configuration in Cargo.toml.
In 9617adc5ddad3603d730dc3306870364624625bf of https://github.com/openmls/openmls, cargo-mutants 765fca9 says
It still carries on with testing but is perhaps failing to generate some mutants.
This crate has
So it should find
mod traits
insrc/traits.rs
. I think it's confused because the top-level file istraits.rs
, notlib.rs
, due to configuration inCargo.toml
.Specifically,
openmls/traits/Cargo.toml
hasThis code
cargo-mutants/src/visit.rs
Lines 250 to 298 in 765fca9
lib.rs
ormain.rs
but that's not reliable.Maybe we ought to remember if the file is a top source file for the target and use that instead: see https://doc.rust-lang.org/cargo/reference/cargo-targets.html. We probably already have this in the cargo metadata.
The text was updated successfully, but these errors were encountered: