|
1 | 1 | 4 candidates in 4 tests in 1 source file |
2 | 2 | fixtures/cfg/src/lib.rs: dry running |
3 | 3 | fixtures/cfg/src/lib.rs: mutilating |
4 | | -fixtures/cfg/src/lib.rs:5:5-5:12: Warning: Failed to run test `passed` |
| 4 | +fixtures/cfg/src/lib.rs:5:5-5:12: Warning: Failed to run test `passed`: code=0 |
| 5 | +stdout=``` |
| 6 | + |
| 7 | +running 0 tests |
| 8 | + |
| 9 | +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in [..]s |
| 10 | + |
| 11 | +``` |
| 12 | + |
| 13 | +stderr=``` |
| 14 | +... |
| 15 | +warning: function `noop` is never used |
| 16 | + --> [..]:9:4 |
| 17 | + | |
| 18 | +9 | fn noop() {} |
| 19 | + | ^^^^ |
| 20 | + | |
| 21 | + = note: `#[warn(dead_code)]` on by default |
| 22 | + |
| 23 | +warning: `cfg` (lib test) generated 1 warning |
| 24 | + Finished `test` profile [unoptimized + debuginfo] target(s) in [..]s |
| 25 | + Running unittests [..] ([..]) |
| 26 | +``` |
| 27 | + |
| 28 | + |
5 | 29 |
|
6 | 30 | This may indicate a bug in Necessist. Consider opening an issue at: https://github.com/trailofbits/necessist/issues |
7 | 31 |
|
8 | 32 | Silence this warning with: --allow run-test-failed |
9 | | -fixtures/cfg/src/lib.rs:16:9-16:16: Warning: Failed to run test `timed_out` |
10 | | -fixtures/cfg/src/lib.rs:24:5-24:12: Warning: Failed to run test `failed` |
11 | | -fixtures/cfg/src/lib.rs:32:18-32:27: Warning: Failed to run test `nonbuildable` |
| 33 | +fixtures/cfg/src/lib.rs:16:9-16:16: Warning: Failed to run test `timed_out`: code=0 |
| 34 | +stdout=``` |
| 35 | + |
| 36 | +running 0 tests |
| 37 | + |
| 38 | +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in [..]s |
| 39 | + |
| 40 | +``` |
| 41 | + |
| 42 | +stderr=``` |
| 43 | +... |
| 44 | +warning: function `noop` is never used |
| 45 | + --> [..]:9:4 |
| 46 | + | |
| 47 | +9 | fn noop() {} |
| 48 | + | ^^^^ |
| 49 | + | |
| 50 | + = note: `#[warn(dead_code)]` on by default |
| 51 | + |
| 52 | +warning: `cfg` (lib test) generated 1 warning |
| 53 | + Finished `test` profile [unoptimized + debuginfo] target(s) in [..]s |
| 54 | + Running unittests [..] ([..]) |
| 55 | +``` |
| 56 | + |
| 57 | + |
| 58 | +fixtures/cfg/src/lib.rs:24:5-24:12: Warning: Failed to run test `failed`: code=0 |
| 59 | +stdout=``` |
| 60 | + |
| 61 | +running 0 tests |
| 62 | + |
| 63 | +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in [..]s |
| 64 | + |
| 65 | +``` |
| 66 | + |
| 67 | +stderr=``` |
| 68 | +... |
| 69 | +warning: function `noop` is never used |
| 70 | + --> [..]:9:4 |
| 71 | + | |
| 72 | +9 | fn noop() {} |
| 73 | + | ^^^^ |
| 74 | + | |
| 75 | + = note: `#[warn(dead_code)]` on by default |
| 76 | + |
| 77 | +warning: `cfg` (lib test) generated 1 warning |
| 78 | + Finished `test` profile [unoptimized + debuginfo] target(s) in [..]s |
| 79 | + Running unittests [..] ([..]) |
| 80 | +``` |
| 81 | + |
| 82 | + |
| 83 | +fixtures/cfg/src/lib.rs:32:18-32:27: Warning: Failed to run test `nonbuildable`: code=0 |
| 84 | +stdout=``` |
| 85 | + |
| 86 | +running 0 tests |
| 87 | + |
| 88 | +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in [..]s |
| 89 | + |
| 90 | +``` |
| 91 | + |
| 92 | +stderr=``` |
| 93 | +... |
| 94 | +warning: function `noop` is never used |
| 95 | + --> [..]:9:4 |
| 96 | + | |
| 97 | +9 | fn noop() {} |
| 98 | + | ^^^^ |
| 99 | + | |
| 100 | + = note: `#[warn(dead_code)]` on by default |
| 101 | + |
| 102 | +warning: `cfg` (lib test) generated 1 warning |
| 103 | + Finished `test` profile [unoptimized + debuginfo] target(s) in [..]s |
| 104 | + Running unittests [..] ([..]) |
| 105 | +``` |
| 106 | + |
| 107 | + |
0 commit comments