Mutation Testing Record
This page records what the mutation campaigns have measured and which
surviving mutants are accepted as equivalent. The workflows are described in
WORKFLOWS.md: mutants.yml
runs full, targeted, contract and recovery campaigns, and mutants-pr.yml
mutates the changed lines of every pull request to main. How to run a
campaign and kill survivors is in
MAINTAINING.md.
Where campaigns run
The pull-request gate (mutants-pr.yml) and any mutation result used as
release evidence run only in Rullst/Rullst. A campaign that gates nothing
may run in a maintainer’s fork of the repository, with only mutants.yml
enabled there, after the fork is synced to the commit being measured. Each
entry below names the measured commit and links its runs wherever they ran,
so a result can be checked against its source; see
MAINTAINING.md.
Campaign status
Measured on hosted runners for the 13.0 prereleases. A missed mutant either received a test or is listed under Accepted equivalent mutants.
rullst-orm(re-measured for 13.0.0-alpha.3 with all-feature targeted runs and theorm-sqlite,orm-polyglot,orm-sql-servers,orm-strict-postgres,orm-strict-mysqlandorm-polyglot-serverscontract modes): 2,414 mutants, 1,967 caught, 421 unviable, 17 timeouts and 9 missed. Eight are accepted equivalents. The ninth is the MySQLFOR UPDATE SKIP LOCKEDclaim query ofOutbox::claim_next_at_inner, which only concurrent claims tell apart from the portable query. A full all-feature campaign still reports the mutants that only those contract modes reach.rullst-orm-macros: 542 mutants, 514 caught, 26 unviable and 2 accepted equivalents.rullst-macros(13.0.0-alpha.6, PR #698): until this campaign a file-levelmutants::skipkept thehtml!files and the crate root out of every mutation run and of the pull-request gate; only the Kani proofs keep one. Targeted runs of the 13 files with mutants (i18n/mod.rshas none) first gave 456 mutants: 294 caught, 94 unviable, 1 timeout and 67 missed, 23 of them in the Kani proofs. New unit tests and stand-in integration tests (tests/html_url_guard.rs,tests/memoize_expansion.rsand moretests/html_hygiene.rscases) killed 43, and a redundant arm of the plural-variant map was removed. The final runs gave 432 mutants: 314 caught, 117 unviable, 1 timeout (listed below) and no survivor; a mutant whose expansion no longer compiles in an integration test counts as unviable.rullst-ai(13.0 campaign oncdb68d3b, PR #749, runs in the maintainer’s fork venelouis/rullst-ci): targeted runs of the 52 files (3 have no mutants, among them the MySQL statement file) gave 2,173 mutants: 1,652 caught, 205 unviable, 35 timeouts and 281 missed. New tests killed 265 of the misses and 5 timeouts (tests without deadlines now have one): provider capabilities and trait defaults, the fallback chain, image and response size bounds, streaming, SSE and provider stream parsing, audit delivery and durable audit frames, tool approval and validation, RAG, conversation memory, the mock provider, presets and evaluation bounds. Reruns of the 33 changed files leave 4 of 1,318 mutants missed and 3 timeouts. The 16 missed mutants left are 13 accepted equivalents listed below and the three peer-address, status and content-type checks ofEgressFetcher::fetch_bytes, left to live integration testing; the 30 timeouts are listed with the timeouts. A follow-up (PR #750) removed the redundant code behind four of those equivalents (the end-offset overflow checks ofdecode_file, theappend_exchangedrain guard and the zero-norm check ofcosine_similarity) and madeInMemoryToolAuditTrailvalidate events. Reruns of the four changed files (43949255885, 43949275446, 43949290366, 43949305052) gave 261 mutants: 234 caught, 27 unviable and none missed.rullst-iot(13.0 campaign oncdb68d3b, PR #749, same fork): targeted runs of the 19 files (1 has no mutants) gave 371 mutants: 321 caught, 41 unviable, no timeout and 9 missed, all accepted equivalents listed below.rullst-core: the files the first pass left (PR #465) were finished in PR #532: 78 files and 2,435 mutants, 72 missed at the end. 71 are accepted equivalents. The last one, thepool_readyguard ofrun_artisan_command, needs an open PostgreSQL pool: since 13.0.0-alpha.3rullst-core/tests/artisan_open_pool.rsopens one in a PostgreSQL testcontainer, so a run with Docker, such as one on the hosted runners, kills it; a run without Docker skips that test (see below).rullst-mail(13.0 campaign oncdb68d3b, PR #748, runs in the maintainer’s fork venelouis/rullst-ci; four files unchanged since5e6b65c5keep their runs in this repository:validator.rs,pipeline.rs,suppression/mod.rsanddrivers/aws_ses.rs, runs 43726484317, 43726494711, 43726978533 and 43727720830): targeted runs of the 53 files, the five PostgreSQL adapter files included (3 have no mutants), gave 1,761 mutants: 1,323 caught, 184 unviable, 13 timeouts and 241 missed. 55 of the misses are PostgreSQL adapter branches that themail-postgrescontract run (43910450330, 136 mutants: 84 caught, 26 unviable, 26 missed, all caught by the targeted runs) catches. New tests killed 170 of the others and two timeouts (a fixture wait and a fuzz loop now have deadlines): delivery observations, account action links, native SES headers, size limits and error codes, failover recovery, the mock, REST, log and memory drivers, plain-text conversion, action links, feedback verification, the suppression stores, attachment decoding and the provider error text. Reruns of the 27 changed files leave 9 of 950 mutants missed and 3 timeouts; the remaining 16 missed mutants are accepted equivalents listed below and the 11 timeouts are listed with the timeouts. A follow-up (PR #750) removed the dead newline check ofstrip_html_to_plain_textbehind one of those equivalents; the rerun ofmessage/plain_text.rs(43949242171) caught all 70 mutants.rullst-messaging(re-measured for 13.0.0-alpha.6, PR #711): targeted runs of the 48 files outsideredis_streams/(7 have no mutants) gave 1,377 mutants: 1,078 caught, 208 unviable, no timeout and 91 missed. 65 of the misses are in the sixPostgresRecurringStorefiles ofschedules/, which onlycheck-recurring-postgres.pyreaches; its contract run (301 mutants ofschedules/, 158 caught and 50 unviable by the contract tests alone) left two of them: the acceptedverifyequivalent and the relay’s publication timeoutexpires - nowwith/, which a slow-broker relay test now kills. The other 26 are the accepted equivalents of the signature, storage and schedule encryption bounds and the wire size, now also listed for the pull-request gate. Those six files left the gate for their contract run.redis_streams/(excluded from the gate) was measured with targeted runs and themessaging-rediscontract run: 202 mutants, of which only the acceptedRemote::decodearm survives both.rullst-media(13.0 campaign oncdb68d3b, PR #747, runs in the maintainer’s fork venelouis/rullst-ci): targeted runs of the 32 files (5 have no mutants) gave 1,194 mutants: 877 caught, 127 unviable, no timeout and 190 missed. New tests killed 173: the Bunny response, grant, webhook and meta-tag bounds, the S3 configuration and protocol checks, the stored-record validation and the SQLite workflow, playback and retention guards. The other 17 are accepted equivalents listed below. Reruns of the 17 changed files leave 16 of 814 mutants, all accepted equivalents (the seventeenth is the existings3/signing.rsone). A follow-up (PR #750) removed the redundant conditions behind six of them (the item bound offind_createdand the pending-revision and deadline re-checks offinishandstop_intent) and tested the lease-nonce fence that stays. Reruns of the three files (43949195438, 43949210926, 43949227696) gave 128 mutants: 105 caught, 21 unviable and 2 missed, the acceptedstoppedandfinishequivalents.rullst-connect(13.0.0-alpha.6, PR #718): targeted runs of the 61 files outside the PostgreSQL and MySQL login-challenge stores (11 have no mutants) gave 1,163 mutants: 772 caught, 262 unviable, no timeout and 129 missed; theconnect-sqlcontract run caught the 23 viable mutants of those two stores. New tests killed 119 of the misses and a redundant empty check of the token snapshot envelope was removed. Reruns of the 13 changed files leave 9 of 1,162 mutants: 8 accepted equivalents (seven in the mock IdP handlers and theid_token.rsnonce one) and one missed:token_handlerwith the||before the client-ID comparison replaced by&&accepts an expired authorization code. Since 13.0.0-alpha.6 the mock IdP reads the time from a crate-private clock that its tests set (the publicmock_routerkeeps the system clock), and a test that exchanges a code 299 and 300 seconds after issuing it kills that mutant, which leaves the eight accepted equivalents.rullst-auth(13.0 campaign oncdb68d3b, PR #743, runs in the maintainer’s fork venelouis/rullst-ci): targeted runs of the 63 files outside the PostgreSQL and MySQL passkey and session-registry stores (8 have no mutants) gave 1,890 mutants: 1,613 caught, 262 unviable, no timeout and 15 missed. Six of the misses are the PostgreSQL durability checks of the email-login and API-token services, which theauth-recovery-postgrescontract run catches; the other nine are accepted equivalents listed below. The contract runs:passkey-postgres(43886790700), 150 mutants: 100 caught, 14 unviable and 36 missed, 35 of them inmanager.rs, which its targeted run catches except the acceptedstart_authenticateone; the last, the cross-host skew bound ofadvance_clockinpostgres/operations.rswith<as<=, is killed by a contract step that adopts a time exactly five seconds behind (rerun 43906357870);auth-recovery-postgres(43886805895), 255 mutants: 123 caught, 43 unviable and 89 missed, all caught by the targeted runs except the three accepted equivalents ofconnection.rsandstore.rs;auth-session-registry(43886821193): 4 mutants, all caught.rullst-nexus: first measured in PR #532 (26 files, 876 mutants). New tests killed 170 of the 171 first misses, one is an accepted equivalent, and one real defect was fixed.rullst-security(13.0 campaign oncdb68d3b, PR #746, runs in the maintainer’s fork venelouis/rullst-ci): targeted runs of the 47 files (6 have no mutants, and the Redis rate limiter ran with the Redis service) gave 1,752 mutants: 1,548 caught, 155 unviable, 20 missed and 29 timeouts. The 20 missed mutants are accepted equivalents listed below and the 29 timeouts are the non-allocating loops oflog_redactor.rs, the DLP masking and byte-range readers, the login guard index and the user-agent scan listed under the timeouts, and the jitter ofTimingScope::finish.cargo-rullst(PR #557, 13.0.0-alpha.4): targeted runs with the CLI’s library tests measured 83 CLI files and 3,189 mutants of the self-update, audit and IDOR scanner,addand consumer-file editors,doctor, deployment configuration andupgradecode. New tests killed 1,041 of the 1,129 first-run survivors and 51 are accepted equivalents. The 76 files left without a survivor are listed in.github/mutants-pr-cli.txt. The self-updater’s binary replacement was removed in 13.0.0-alpha.4 with its 7 remaining installation mutants, and its 13 measured files left the gate list with it. Still missed: size and count bounds that only very large projects reach (hundreds of mebibytes, or 10,000 to 250,000 files): upgrade snapshot 6, upgrade source walk 3, project snapshot 13, replacement and verification totals 2 and 2, and the 64 MiB preparation report 4. In 13.0.0-alpha.6 (PR #740) targeted runs with the library tests measured the two new upgrade rule files:upgrade/rules/files/alpha6.rs(run 43871104947) had 44 mutants caught and none missed; the first run ofupgrade/rules/alpha6_gaps.rs(run 43871101055) reached the job’s time limit after 65 of its 109 mutants, with one survivor, since killed. It was measured again onc22b6bca(PR #752) in eight shards with a 900-second timeout in the maintainer’s fork (runs 44077418794 to 44077505621): 109 mutants, 103 caught, 6 unviable, no survivor. Both files are in.github/mutants-pr-cli.txt, and the gate of PR #740 mutated every line of both; a library test killed the one survivor it found. The other upgrade rule files of 13.0.0-alpha.6 (alpha6_defaults.rs,alpha6_deprecated.rs,alpha6_media.rs,alpha6_non_exhaustive.rsandalpha6_passkeys.rs) are not in that list.green(nowfootprint),deployand guided update (13.0.0-alpha.4): the ninegreenfiles,generators/deploy.rsandupdate/guided.rsgave 337 mutants, 93 missed and no timeout. New library tests (a loopback test server, fake app and container-engine scripts, child test processes for commands that use the working directory or the terminal) killed 86; the other 7 are accepted equivalents. The 11 files are in.github/mutants-pr-cli.txt. In 13.0.0-alpha.5 the command becamefootprint(generators/footprint/), its Linux process lookup moved toprocess/linux.rsand its start-up tosubject.rs, both listed; the new page-weight, macOS and Windows files are not listed yet. In 13.0.0-alpha.6startup.rs(the start-up time) was measured with a targeted run on the library tests (run 43809422834): 34 mutants, 30 caught and 4 unviable, no survivor, so it is listed too.rullst-studio: the remote mode (20 files) was measured with thecargo-rullstcampaign in 13.0.0-alpha.3 and left no survivor. Amutants::skipon each local Studio module, on the Studio builder, onbuild_rows_htmland on the logger page kept the rest of the crate out of every mutation run and of the pull-request gate until the 13.0 campaign (PR #752, runs in the maintainer’s fork venelouis/rullst-ci), which removed them (the Kani proofs keep theirs). Measured onc22b6bca(mainate911dcb9without those skips), targeted runs of the 41 local Studio files and the 8 remote files added after 13.0.0-alpha.3 (5 have no mutants) gave 949 mutants: 557 caught, 111 unviable, 2 timeouts and 279 missed. Most misses were data-browser paths that need a database: the all-feature build selects the PostgreSQL pool, and the PostgreSQL data-browser matrix (tests/data_browser_mutation_postgres.rs) did not compile in it; it now runs there, as the Nexus one does. With it, new matrix checks (the 16 KiB key and 64 KiB form bounds of the row actions, search filtering and row counts, NULL cells, an empty database, feature flags, the engine label and the ER key marks) and new unit and integration tests (the trace ingestion bounds, signatures, store counts and errors, the API reference, the security page and its provider detection, the logger stream, the cache inspector, the jobs monitor, the radar’s threat level,run_studioand the legacyresolve_db_url) killed 256 of the misses, and the SQLite test-pool helper became plain test code. Reruns of the 28 changed files leave 19 of 697 mutants missed and 1 timeout. The crate’s 948 mutants now leave 22 missed and 2 timeouts: 18 accepted equivalents listed below (most are SQLite and MySQL branches that the all-feature PostgreSQL pool never takes), 4 mutants of two redundant conditions, and the two timeouts listed with the timeouts. A follow-up removed both conditions and their mutants: the ban count in the radar’s threat level (the store bans only when it counts a trap and records an event, and its event list never empties) and the forget token’s empty and length pre-check (only a 43-character token decodes to the 32-byte signature, so that check already answers400).rullst(the facade; 13.0 campaign onc22b6bca, PR #752, same fork): targeted runs of the 6 files with mutants (the account-mail worker and the IoT ingestion receiver, directory, configuration, token and error files;lib.rs,iot_ingest/mod.rsand the doctest-onlybook_doctests.rshave none) gave 150 mutants: 125 caught, 25 unviable, no timeout and no survivor.rullst-labs(13.0 campaign oncdb68d3b, PR #744, runs in the maintainer’s fork venelouis/rullst-ci): targeted runs of the 27 files (4 have no mutants) gave 558 mutants: 459 caught, 88 unviable, no timeout and 11 missed, all accepted equivalents listed below.rullst-capital: 29 mutants that only a live Stripe response reaches stay with provider sandbox testing.rullst-privacy(13.0 campaign oncdb68d3b, PR #745, runs in the maintainer’s fork venelouis/rullst-ci): targeted runs of the 19 files outside the two PostgreSQL adapters (2 have no mutants) gave 483 mutants: 410 caught, 62 unviable, no timeout and 11 missed, all accepted equivalents listed below. Theprivacy-postgrescontract run (43900834362) caught the 58 viable mutants of those adapters (79 mutants, 21 unviable).rullst-supervision(13.0 campaign oncdb68d3b, PR #745, runs in the maintainer’s fork venelouis/rullst-ci): targeted runs of the 23 files (3 have no mutants) gave 639 mutants: 524 caught, 105 unviable, no timeout and 10 missed, all accepted equivalents listed below (the clock check of the SQLite transaction moved fromOperation::begintoOperation::started).- v12 baseline: the complete v12 campaign classified 14,391 of 14,391
mutants in run
34761010296, with a conservative 70.57% caught.
Contract-mode notes: the MySQL statement files
rullst-capital/src/quota/sql/mysql.rs and rullst-ai/src/ai/memory/sql/mysql.rs
hold only string constants, so cargo-mutants generates no mutant for them. The
privacy URL policy in postgres_connection.rs, the capacity check, the mail
adapter’s clock, event-time, stored-time and URL checks, the privacy
choice-code decoding and, in passkey-postgres and auth-recovery-postgres,
most branches of manager.rs and the recovery files have unit tests: a
contract run reports those mutants as missed, and a targeted run of the file
catches them.
Pull-request gate timeouts
.github/mutants-pr.sh gives cargo-mutants explicit timeouts. An explicit
--timeout also bounds the unmutated baseline, so it must exceed the slowest
baseline a hosted runner takes, while a mutant that loops forever still stops
in bounded time.
| Pass | Test timeout | Build timeout | Measured baseline tests (hosted, 15–17 November 2026) |
|---|---|---|---|
| Workspace (each mutated package’s whole suite) | 300 s | 300 s | 0–77 s |
CLI (cargo test --lib of cargo-rullst, every feature) | 900 s | 300 s | 112–309 s in about 50 runs; two targeted runs exceeded 300 s |
Until November 2026 both passes used 300 s. The same CLI shard took 146 s on
one runner and 309 s on another, so 300 s failed baselines (twice in targeted
mutants.yml runs, which take the same value by default) and turned ordinary
test runs into timeouts, which the gate accepts as detections: in one shard
whose baseline took 299 s, 6 of 21 mutants timed out at 300 s while the
caught ones took 263–300 s. Within one runner a mutant’s tests take about as
long as its baseline, so 900 s, about three times the slowest baseline seen,
leaves room for slower runners and a growing suite, and a mutant that never
finishes (the CLI’s accepted timeouts below) costs 15 minutes. Raise it when
a CLI baseline passes 450 s. Targeted runs of CLI files with
test_scope=lib should pass -f timeout_seconds=900 too.
Accepted equivalent mutants
The v13 focused campaign (targeted runs of security and correctness files
before 13.0.0-alpha.1), the local whole-crate campaign that followed it
(rullst-iot, rullst-privacy, rullst-labs, rullst-supervision), the
security campaign (targeted runs of every rullst-security file), the
rullst-auth campaign (targeted runs of every file outside the PostgreSQL
adapters), the rullst-core campaign (targeted runs of its security and
correctness files and, before 13.0.0-alpha.3, of every remaining file the
first pass measured, with the Redis service), the rullst-nexus campaign
(targeted runs of every file; the all-feature build selects the PostgreSQL
pool, so the PostgreSQL SQL matrix test reaches the database paths wherever
Docker is available),
the rullst-capital campaign (targeted runs of every file; mutants that
only a live Stripe API response can reach are left to provider sandbox
testing), the rullst-messaging campaign (targeted runs of every file,
with the recurring PostgreSQL and Redis Streams contract runs for those
adapters), the service-backed campaign (the passkey-postgres,
auth-recovery-postgres, privacy-postgres and mail-postgres contract
runs, and targeted runs of the Redis rate limiter with the Redis service) and
the sensitive-file campaign (targeted runs of the OAuth/OIDC, attachment,
link-security, tracking, egress and guardrail files of rullst-connect,
rullst-mail and rullst-ai; the peer-address, status and content-type checks
of EgressFetcher::fetch_bytes run only after a connection to a public HTTPS
origin, which the egress policy refuses to loopback test servers, and are left
to live integration testing; in rullst-core, the pool_ready guard of
run_artisan_command needs an already initialized ORM pool, which the
all-feature build can only open against a PostgreSQL server:
rullst-core/tests/artisan_open_pool.rs opens one in a PostgreSQL
testcontainer and runs db:status in a child process, so runs with Docker
measure the guard, and runs without it skip the test unless
RULLST_REQUIRE_TESTCONTAINERS=true), the cargo-rullst campaign (targeted
runs, with the CLI’s library unit tests, of the self-update, audit, add and
consumer-file, doctor, deploy and upgrade files, and before 13.0.0-alpha.4
of the green command (now footprint), generators/deploy.rs and update/guided.rs; it
covers the files .github/mutants-pr-cli.txt lists, and the campaign status above names the
survivors left in the others) and the Studio remote-mode campaign (targeted runs of every
rullst-studio/src/remote file and of the rullst-studio binary with the
package’s tests), the rullst-macros campaign (targeted runs of every
file with the package’s unit and stand-in integration tests) and the 13.0
rullst-mail, rullst-media and rullst-ai campaigns (targeted runs of every
file with the package’s tests, and the mail-postgres contract run for the
mail PostgreSQL adapter) and the 13.0 rullst-studio campaign (targeted runs of
every local Studio file and of the remote files added after 13.0.0-alpha.3,
with the package’s tests and the PostgreSQL data-browser matrix) gave every
missed mutant in their files a test, except these.
Each change has no observable effect in the all-feature Linux build the
campaign measures, so a test cannot tell it apart. Keep this list short: a new
entry needs the same one-line justification. The pull-request gate (mutants-pr.yml) skips an
entry only when its exact cargo-mutants name is also listed in
.github/mutants-pr-equivalents.txt.
| Mutant | Why it is equivalent |
|---|---|
rullst-core/src/queue/deferral/window.rs: TimeWindow::length_ms, > with >= | TimeWindow::daily rejects equal start and end times, so the two never compare equal. |
rullst-core/src/queue/deferral/window.rs: TimeWindow::intervals, day < until_ms with <= | The extra day starts at or after until_ms, so it never yields an interval. |
rullst-core/src/testing/html_normalize.rs: mask_csrf_headers, found < copied with <= | copied indexes the closing quote of a masked value, so no x-csrf-token key can start there. |
rullst-media/src/s3/signing.rs: settings with Default::default() | Adapter URLs hold only unreserved characters, %XX and / without empty or dot segments, so single or double encoding and path normalisation give the same canonical URI. |
rullst-media/src/bunny/signatures.rs: BunnyStream::verify_notification, (nibble(..) << 4) | nibble(..) with ^ | The two nibbles occupy disjoint bits, so OR and XOR build the same byte. |
rullst-media/src/sqlite/access.rs: MediaService::set_publication, record.asset.revision != revision || revision <= 0 with && | Operation::save updates only the row at the expected revision, so a stale revision still returns Conflict, and a stored revision is always positive. |
rullst-media/src/sqlite/access.rs: MediaService::upload_with, the || before asset.pending and before asset.published with && | The asset comes from a finished refresh lease, so it is active and not pending, and a published asset is playable, which the processing test refuses too. |
rullst-media/src/sqlite/failure.rs: stopped, expected_revision > 0 with >= | Only a record at revision 0 would then pass, and Record::validate and the column’s CHECK(revision>0) never let one load. |
rullst-media/src/sqlite/workflow.rs: MediaService::finish, kind == Kind::Create || kind == Kind::Update with && | finish only receives the result of execute, which always returns a video for a create or an update. |
rullst-media/src/sqlite/transaction.rs: Operation::save, body.len() > 32768 with == or >= | Record::validate and the validated field types bound every field, so a valid record serializes far below 32 KiB. |
rullst-media/src/sqlite/retention.rs: MediaService::purge_deleted, either || with && | The SQL selects only deleted bodies updated at or before the cutoff, which tx.get decodes from the same row, and Record::validate refuses a deleted record with a pending intent, so no operand is ever true. |
rullst-mail/src/facade/driver.rs: DigestHasher::finish with 1 | finish is never called; the digest is read from the SHA-256 state. |
rullst-mail/src/facade/driver.rs: delete the (Some(_), Some(_)) arm of ses_credentials | That arm exists only without the aws-ses feature, which the all-feature build does not compile. |
cargo-rullst/src/generators/audit_report/a11y.rs: attributes, the end index + 1 after > with index - 1 or index * 1 | The tag scanner resumes at the next <; the byte before a closing > cannot open a tag, because a tag name never starts with >. |
cargo-rullst/src/generators/footprint/procfs.rs: ticks_per_second, > 0 with >= 0 | The clock tick rate is always positive. |
cargo-rullst/src/generators/footprint/load.rs: worker, footprint/artifacts.rs: inspect, and footprint/target.rs: OwnedApp::wait_ready and OwnedApp::stop, the deadline test Instant::now() < deadline with <= | An Instant reading would have to equal the deadline to the nanosecond, and the loop would then take one more short step. |
cargo-rullst/src/generators/doctor/probe.rs: run, stdout.len() > OUTPUT_LIMIT with >= | An output of exactly OUTPUT_LIMIT bytes is cut at its own length, which leaves it unchanged. |
cargo-rullst/src/generators/doctor/database.rs: tcp_reachable, delete the TimedOut | WouldBlock arm | TcpStream::connect_timeout reports its timeout as a TimedOut error whose text is connection timed out, which the catch-all arm passes through unchanged, and never returns WouldBlock on Linux. |
cargo-rullst/src/generators/output_guard.rs: write_output, the NotFound guard of fs::metadata with true | reject_symlink has already returned every other lstat error, and for a path that is not a symlink stat fails exactly when lstat does. |
cargo-rullst/src/generators/output_guard.rs: write_output, the !parent.as_os_str().is_empty() guard with true | tempfile creates its file for the empty directory "" in the current directory, as it does for ".". |
cargo-rullst/src/generators/consumer_files.rs: reject_links, the NotFound guard with true | Any other lstat failure of an ancestor (permission, not a directory, name too long) recurs with the same error when the path itself is read or created. |
cargo-rullst/src/update/project/permissions_unix.rs: xattr_names, size > MAX_XATTR_NAMES with == or >= | Linux never reports a name list longer than 64 KiB, and a list of exactly 64 KiB cannot hold only security.selinux, so has_unreproduced_attribute refuses it with the same error. |
cargo-rullst/src/update/cache/unix.rs: options, NOFOLLOW | NONBLOCK with ^ | The two flags occupy disjoint bits, so OR and XOR give the same value. |
cargo-rullst/src/update/cache/unix.rs: load_at, FILE_LIMIT + 1 with - or * | validate_file has already refused a file longer than FILE_LIMIT. Reading one byte less shortens only a file of exactly FILE_LIMIT bytes, whose body decode refuses either way because it allows 64 bytes less, and a file that grows during the read is refused either way. |
cargo-rullst/src/generators/audit_source.rs: tokenized_views and mark_code_tokens, index < tokens.len() with <=, and tokenized_views, index = last + 1 with last - 1 or last * 1 | At tokens.len() neither attribute lookup finds a token, so the loop steps past the end or stops. Resuming on an item’s last token or the one before it revisits its terminating ; or { .. }, which cannot start #[cfg(test)]; at the end of the input a re-found attribute only adds a range inside the item already blanked. |
cargo-rullst/src/generators/build/upgrade/backup/restore.rs: is_link with false, and its Windows reparse-point test with & replaced by | or ^ or != by == | On Linux lstat never reports a symlink as the regular file or directory that validate_file and validate_directory_creation also require, and the Windows test is not compiled. |
cargo-rullst/src/generators/build/upgrade/backup/restore.rs: restore_from, the index read’s MAX_INDEX_BYTES + 1 and the staging copy’s expected_size + 1 with * | The index and each snapshot have already been bounded by their metadata, so reading one byte more matters only for a file that grows between that check and the read, which a test cannot arrange. |
cargo-rullst/src/generators/deploy_doctor/input.rs: linked with false and its Windows reparse-point test; in read, the ancestor linked(..) || !is_dir(), the file !is_file() || linked(..) || len > MAX_FILE and the opened-file re-check with &&, NOFOLLOW | NONBLOCK with & or ^, and MAX_FILE + 1 with * | On Linux lstat never reports a symlink as a file or directory, and the Windows test is not compiled. A non-directory ancestor fails the final lookup with NotADirectory, and a directory, FIFO or oversized file that passes a weakened check is refused after opening or reading with the same File error. The open flags, the re-check and the extra byte matter only when the file is replaced or grows between lstat, open and the read, which a test cannot arrange. |
cargo-rullst/src/update/project/snapshot.rs: the non-Windows linked with false; in read, NOFOLLOW | NONBLOCK with & or ^, the opened-file re-check !opened.is_file() || linked(..) || len != ... with &&, and MAX_FILE + 1 with * | lstat never reports a symlink as a file or directory, so the type checks refuse links either way. read has already refused links, special files and files over 64 MiB, so the open flags, the re-check after opening and the extra byte matter only when the file is replaced or grows between lstat, open and the read, which a test cannot arrange. |
rullst-studio/src/remote/history.rs: Sample::from_outcome, window.requests > 0 with >= | With no request the rate is 0 / 0, which finite drops, so the sample stores no rate either way. |
rullst-studio/src/data_browser/db.rs: fetch_table_schema, delete the "mysql" arm, and the SQLite nullability !row_flag(&row, "notnull") && !primary_key with || or without either !; row_flag, the i64 reading’s != 0 with ==; rullst-studio/src/er_diagram.rs: get_sqlite_schema and get_mysql_schema with Ok(String::new()) or Ok("xyzzy".into()), delete the "mysql" | "mariadb" or "sqlite" | "libsql" | "turso" arm of schema_for_driver, and row_is_primary_key, the i64 reading’s != 0 with == | The all-feature build selects the PostgreSQL pool, so the driver is always postgres, whose key and nullability flags are int4 values that the i32 reading decodes. The SQLite matrix of default-feature builds and the MySQL and MariaDB matrices of strict-mysql builds run these branches. |
rullst-studio/src/data_browser/portable.rs: build_for_driver, driver != "postgres" with == | With strict-postgres the QueryBuilder already writes $n markers, which replace_placeholders leaves unchanged, so both branches build the same statement; the PostgreSQL matrix of default-feature builds (sqlx::Any) checks the renumbering. |
rullst-studio/src/data_browser/handlers/telemetry.rs: capital_not_enabled_page with "" or "xyzzy" | It exists only without the capital feature; the_capital_page_explains_how_to_enable_the_revenue_dashboard checks it in such builds. |
rullst-studio/src/feature_flags.rs: render_flag_rows, the integer enabled reading v != 0 with == | Only an integer enabled column reaches it. The PostgreSQL matrix of the all-feature build creates the documented BOOLEAN column, which decodes as bool, and cannot read the table again with another column type on the same connection (PostgreSQL refuses a cached plan whose result type changed); the SQLite matrix of default-feature builds reads an integer column and checks DISABLED and ENABLED. |
rullst-studio/src/data_browser/handlers/table.rs: handle_table, supports_mutations && column.primary_key with || | It only lets the database return up to 16,385 instead of 257 characters of a non-key cell (or of a key cell of a read-only table), which display_cell cuts to the same 256 characters. |
rullst-studio/src/distributed_traces/auth.rs: TraceBatchSigner::sign, (u128::from(high) << 64) | u128::from(low) with ^ | The two halves occupy disjoint bits, so OR and XOR build the same nonce. |
rullst-iot/src/coap.rs (CoapRequest::write_to twice, write_option), rullst-iot/src/mqtt.rs (MqttPublish::encode) and rullst-iot/src/i2c.rs (I2cHelper::try_build_read_frame): | with ^ | The operands occupy disjoint bits, so OR and XOR build the same byte. |
rullst-iot/src/coap.rs: CoapRequest::encode, payload.len() > MAX_COAP_DATAGRAM_BYTES with == or >= | CoapRequest::payload already bounds the payload, and the measured datagram length, which adds at least the header and the payload marker, rejects the same lengths with the same error. |
rullst-iot/src/mqtt.rs: MqttPublish::encode, remaining_length > MQTT_MAX_VARIABLE_BYTE_INTEGER with == or >= | The builders keep topic and payload far below that limit, and variable_byte_integer repeats the check with the same error. |
rullst-privacy/src/age_assurance/challenge_tokens.rs: ChallengeTokens::open_with_clock, token.len() > MAX_TOKEN_BYTES and payload.len() > MAX_PAYLOAD_BASE64 with == or >=, the || before payload.is_empty(), the payload bound and tag.len() != 43 with &&, and MAX_PAYLOAD_BASE64 with its + or / replaced by * | These pre-authentication bounds only reject early what key lookup, tag verification, the 4096-byte decoded limit or JSON parsing reject with the same InvalidChallengeToken: a well-formed token is far below 8192 bytes, and 5463 base64 characters already decode to 4097 bytes. |
rullst-privacy/src/age_assurance/sqlite.rs: SqliteReplayStore::open, the error.kind() != NotFound guard with false | Every other metadata failure (permission, name length, symlink loop) also makes the SQLite open fail with the same StoreUnavailable. |
rullst-privacy/src/consent/gate.rs: allows_with_clock, completed < record.valid_until() with <= | A grant with completed >= valid_until has already returned false, so the two never compare equal there. |
rullst-labs/src/sqlite/completion.rs: finish, lease.until <= tx.now || record.view.expires_at <= tx.now with && | narrow_deadline with the earlier of the two returns the same Expired. |
rullst-labs/src/sqlite/jobs.rs: cancel, revision <= 0 || record.view.revision != revision with && | save_job updates only the row at that revision, so a stale revision still returns Conflict. |
rullst-labs/src/sqlite/jobs.rs: load_job, body.len() > 32796, and seal_record, body.len() > 32768, each with == or >= | Bounded record fields serialize far below 32 KiB, and a longer stored body fails authentication with the same Integrity. |
rullst-labs/src/sqlite/jobs.rs: payload, the || before the id comparison and the one before the revision comparison, each with && | The exercise digest covers scope, id and revision, so none of them can differ alone. |
rullst-labs/src/sqlite/retention.rs: expire_queued, either || with &&, and purge_terminal, the || after the state match with && | The SQL selection, load_job’s column checks and Record::validate already guarantee a queued, expired, unleased record, or an unleased one that is neither queued, running nor Uncertain (which always holds its lease). |
rullst-supervision/src/exam/observation.rs: Observation::from_code, (code - 10) % 4 with + | (code + 10) % 4 equals (code - 10) % 4, because 20 is a multiple of 4. |
rullst-supervision/src/sqlite/events.rs: events, and rullst-supervision/src/sqlite/observations.rs: observations, expires_at > MAX_TIME with == or >= | An event is received before its session expires, at least an hour before the session’s retention ends at or before MAX_TIME, so with its fixed retention it always expires before MAX_TIME. |
rullst-supervision/src/sqlite/observations.rs: record_observation, both source match guards with true | record_browser and record_capture pass only browser or capture observations with the browser source, and analyze only presence or audio findings with an adapter source. |
rullst-supervision/src/sqlite/transaction.rs: Operation::started, now < before || now < previous_time with && | finish checks the time against the same high-water mark and returns the same Clock. |
rullst-supervision/src/sqlite/mod.rs: resolved_path, both metadata match guards with false | open checks for a regular file again, initialize creates the file exclusively and fails on any existing entry, and every other metadata error also fails the open with the same Storage. |
rullst-auth/src/auth/app_key.rs: parse_dotenv, delete the dotenvy::Error::Io arm | The parser reads an in-memory &str, and valid UTF-8 read line by line cannot raise an I/O error. |
rullst-auth/src/auth/passkey/ceremony.rs: ChallengeStore::issue, challenge.expires_at > now with >= | It keeps only a challenge whose expiry equals a later Instant::now() reading to the nanosecond, which consume already rejects as expired. |
rullst-auth/src/auth/passkey/shared/manager.rs: SharedPasskeyAuth::start_authenticate, allowed.is_empty() || allowed.len() > MAX_CREDENTIALS with && | CeremonyIntent::new rejects an empty or 33-entry authentication allowlist with the same InvalidInput before the store is called. |
rullst-auth/src/auth/passkey/shared/manager.rs: validate_passkey, the || before first() != Some(&4), and rullst-auth/src/auth/passkey/sqlite.rs: validate_passkey, ||, each with && | A key that from_sec1_bytes accepts has either 65 bytes and tag 4 or neither, so a key failing only one check fails parsing with the same error. |
rullst-auth/src/auth/passkey/verification.rs: verify_assertion, FLAG_ATTESTED_CREDENTIAL_DATA | FLAG_EXTENSION_DATA with ^ | The flags occupy disjoint bits, so OR and XOR build the same mask. |
rullst-auth/src/recovery/connection.rs: the fallback configure_postgres and configure_sqlite with Ok(()) | They compile only without recovery-postgres or without both SQLite families, which the all-feature build does not compile. |
rullst-auth/src/recovery/email_login/delivery.rs: <impl Drop for WireNotice>::drop with () | Zeroizing a buffer that is being freed has no effect safe code can observe. |
rullst-auth/src/recovery/email_login/types.rs: safe_path, part == "." || part == ".." with && | The byte allowlist that follows already rejects every .. |
rullst-auth/src/recovery/store.rs: SqlRecoveryStore::connect, the || before the recovery-postgres clause with && | With every feature enabled both feature clauses are always false, so joining them with && changes nothing. |
rullst-core/src/security/telemetry.rs: SecurityStore::push_live_event, events.len() > MAX_LIVE_EVENTS with >= | Truncating a buffer that holds exactly 50 events to 50 changes nothing. |
rullst-core/src/security/telemetry/event.rs: security_event_schema_version with 1 | SECURITY_EVENT_SCHEMA_VERSION is 1. |
rullst-core/src/security/telemetry/event.rs: truncate_utf8, boundary > 0 with >= | is_char_boundary(0) is always true, so the loop stops at 0 either way. |
rullst-security/src/sentinel/pow/codec.rs: decode_token, token.is_empty() || token.len() > 128 with &&, and > with == or >= | Decoding rejects every token that does not decode to exactly 82 bytes with the same InvalidToken. |
rullst-security/src/siem/spool.rs: decode_file, and rullst-security/src/siem/authenticated/codec.rs: read_and_verify, events.len() + 1 in the invalid frame offset error of cursor.checked_add(relative_end) with - or * | A line end found inside the buffer cannot overflow usize, so the closure never runs. |
rullst-security/src/recovery_codes.rs: GeneratedRecoveryCodes::drop with () | Zeroizing the plaintext codes changes only memory that is freed right after; safe code cannot read it. |
rullst-security/src/mfa.rs: verify_totp_step_at, code.len() != 6 || !all digits with && | Every other input fails the constant-time comparison with the six-digit expected code. |
rullst-security/src/mfa.rs: decode_base32 and generate_totp_at_counter (three times), | with ^ | The operands occupy disjoint bits, so OR and XOR build the same value. |
rullst-security/src/schema_guard.rs: StrictJsonVisitor::expecting with Ok(Default::default()) | serde_json calls a visit method for every JSON value, so the message is never formatted, and inspect_json_payload maps every error to fixed text. |
rullst-security/src/dlp/masking.rs: mask_database_passwords, pass_end + 1 with - or * | The next scheme search starts at or just before the @, where no scheme can begin. |
rullst-security/src/log_redactor.rs: identifier_continuation, end + 1 with - | A _ or . followed by a non-alphanumeric byte then yields an empty last component, which is skipped like the identifier without it: neither byte is a separator, quote or space. |
rullst-security/src/timing_guard.rs: TimingScope::finish, elapsed < target_duration with <= | Sleeping for a zero remainder returns immediately. |
rullst-security/src/login_guard.rs: record_login_failure, the window match guard with true | prune_expired has just removed every counter whose last attempt is a window or more old. |
rullst-security/src/rate_limit.rs: is_rate_limited_in, the retention < with <= | Two Instant::now() readings would have to differ by exactly the window, and an entry kept at that instant restarts its count on its next use. |
rullst-core/src/security/pii.rs: decode_json_char, delete the ", \, /, b, f, n, r or t arm | Each of these escapes decodes to a character that, like the opaque stand-in, is neither a digit, a card separator, an address character nor @, and both keep the escape’s original spelling. |
rullst-core/src/security/pii.rs: mask_chars, idx - start with + and username_len > 1 with >= | A local part of at most one character has nothing to mask after its first character, and skipping to the end of the domain passes only domain characters, never another @. |
rullst-core/src/security/pii.rs: mask_chars, the domain slice start idx + 1 with idx * 1 or idx - 1 | The domain holds a dot, so the leading @ never reaches the top-level domain; when its only dots are trailing ones, the text after the last dot starts with @ and fails both domain tests. |
rullst-core/src/security/csrf_multipart.rs: scan, available < first.len() with > | A prefix shorter than the first delimiter reaches the loop’s two-byte read past its end, which returns the same Incomplete. |
rullst-core/src/queue/mod.rs: the default QueueDriver::push_at, available_at > SystemTime::now(), and Queue::dispatch_at, delay > MAX_SCHEDULE_DELAY, each with >= | They differ only when the requested time equals a clock reading taken inside the call, which a caller cannot arrange. |
rullst-core/src/queue/worker/execution.rs: record_outcome, the error.is_panic() guard with true | execute_job handles every cancelled handler before it calls record_outcome, so the only join error left is a panic. |
rullst-core/src/storage/tenant.rs: confine_local_root, the !create && NotFound guard with false or without ! | Below a missing tenant directory, get, metadata and delete then fail with the same NotFound that the operation itself reports; put creates the directory first. |
rullst-core/src/cache/memory.rs: MemoStore::get, now < entry.expires_at, and MemoStore::set, the expiry retain’s <, each with <= | An Instant reading would have to equal the entry’s expiry to the nanosecond. |
rullst-core/src/lifecycle.rs: begin_draining, in_flight_requests() == 0 with !=, and release_request, && with || | wait_for_drain waits only on a draining or stopped lifecycle and re-reads the count after every wake-up, so a wake-up that no waiter can receive, or an extra one, changes nothing. |
rullst-core/src/storage/cloud/multipart/codec.rs: MultipartStorage::open, checkpoint.0.len() > MAX_TOKEN with == or >=, and bytes.len() < 28 with <= | No authentic checkpoint reaches 256 KiB (256 receipts and a 2,048-byte upload id stay under 180 KiB), and a 28-byte token has an empty plaintext; both fail with the same InvalidCheckpoint. |
rullst-core/src/testing/snapshot.rs: line_diff, the deletion test’s table[i * width + j + 1] with j * 1 | Without a match, table[i][j] is the larger of table[i + 1][j] and table[i][j + 1], so table[i + 1][j] >= table[i][j] holds exactly when table[i + 1][j] >= table[i][j + 1]. |
rullst-core/src/queue/deferral/planner.rs: lowest_intensity, the tie-break overlap_start < best_start with <= | A tie at the same start stores the same start and value again. |
rullst-core/src/storage/cloud/multipart/protocol.rs: parse, delete the allow_dtd field | roxmltree’s default ParsingOptions already rejects a DTD. |
rullst-core/src/cache/memory/exact_json.rs: Display for Inexact with Ok(Default::default()) | is_exact_json only checks whether serialization succeeds; the error text is never formatted. |
rullst-core/src/radar.rs: get_windows_memory_mb, get_windows_process_cpu_usage, filetime_100ns, calculate_windows_cpu_percent, and the Windows and other-platform get_process_cpu_usage | Not compiled on Linux. |
rullst-core/src/feature/db.rs: DbFeatureDriver::resolve_with, the freshness test Instant::now() < entry.expires_at, and remember, the eviction retain’s <, each with <= | An Instant reading would have to equal the entry’s expiry to the nanosecond. |
rullst-core/src/cache.rs: MemoryDriver::cleanup_if_due, the sweep’s now < expires_at, and inspect, the filter’s expires_at > now, with <= and >= | An Instant reading would have to equal the entry’s expiry to the nanosecond. |
rullst-core/src/storage/local_paths.rs: reject_symlink_components, the NotFound | NotADirectory guard with true | Any other symlink_metadata failure (permission, name length) recurs in the canonicalize, create_dir_all or write that follows, with the same Io text. |
rullst-core/src/telemetry/distributed/processor.rs: MinimizedProcessor::on_start with () | The wrapped BatchSpanProcessor::on_start ignores its arguments (opentelemetry_sdk 0.33). |
rullst-core/src/server/dylib_loader.rs: is_expected_loaded_library_removal_error with true or false | Not compiled on Linux. |
rullst-core/src/config/project_setting.rs: parse_dotenv_entries, delete the dotenvy::Error::Io arm | The entries are read from a &str, which never fails with an I/O error. |
rullst-nexus/src/nexus/crud/form.rs: form_html, the Password guard with false | render_field_widget renders a Password input empty and without a placeholder, whatever value or state it receives. |
rullst-capital/src/invoice/pdf.rs: render_pdf, bytes.len() > MAX_PDF_BYTES with == or >=, and the || with && | The embedded font is at most 8 MiB and a bounded invoice adds well under 1 MiB, so the document never reaches 16 MiB, and printpdf always writes the %PDF- header. |
rullst-capital/src/providers/mod.rs: http_client with a leaked default client | Adapters only build requests with it; execute always sends them through the bounded client from http::client. |
rullst-capital/src/providers/stripe.rs: create_customer_portal, || with && | require_mock_operation accepts the same empty and mock_* keys and the same fixture URL is returned; every other key fails there with the same error. |
rullst-orm/src/bind_field.rs: the MySQL/MariaDB timestamp_wire with Default::default() | It exists only with strict-mysql and without strict-postgres, and the all-feature build selects the PostgreSQL pool. The ORM strict-mysql CI job runs the library tests with strict-mysql, where jiff_instants_take_the_pool_encoding_too checks it, and matrix_mariadb, whose driver_contract/jiff_temporal.rs writes post-2038 instants through it (MariaDB stores NULL for the TIMESTAMP parameter it replaces). |
rullst-orm/src/schema/schema_builder.rs: prepare_postgres_enums, delete ! in the !definitions.is_empty() guard | That guard exists only without strict-postgres, which the all-feature build enables; postgres_enum_preparation_validates_before_any_statement covers it in default-feature builds. |
rullst-orm/src/pool/dsn.rs: percent_decode_utf8, (high << 4) | low with ^ | The high and low hex digits occupy disjoint bits, so OR and XOR build the same byte. |
rullst-orm/src/privacy.rs: the default ComplianceModel::personal_fields with vec![] | The default already returns an empty vector. |
rullst-orm/src/polyglot/turso/model.rs: the default TursoModel::opaque_columns with Vec::leak(Vec::new()) | The default already returns an empty slice. |
rullst-orm-macros/src/feature_gates.rs: redis and ai with Default::default() | With every feature the runtime gates are on and the feature is enabled, so both return an empty token stream, which is the default. |
rullst-orm/src/polyglot/recovery/codec.rs: base64url_value, the digit arm’s byte - b'0' with + | The value is read only for its low four padding bits, and the two results differ by 96, a multiple of 16. |
rullst-orm/src/outbox.rs: Outbox::install, case_insensitive_keys > 0 with >= | The MySQL key-collation conversion is idempotent: run on keys that are already ascii_bin it leaves the same columns and only costs a table rebuild. The MySQL matrix converts a legacy table, which kills the == and < mutants. |
rullst-orm/src/schema/migration_lock.rs: MigrationLock::release with () | The lock lives in the dedicated connection’s session. The replaced body still drops self, which closes the socket and ends the session, freeing the lock as the graceful close does. |
rullst-messaging/src/webhooks/signature.rs: WebhookSignature::from_headers, the || before kind.len() > 128, timestamp.len() > 12 or signature.len() != 46, and tag.len() != 32 || …, each with && | MessageId::from_stored, EventKind, the canonical timestamp parse and the strict v1= decode repeat each length check with the same InvalidSignature, and 43 strict base64url characters always decode to 32 canonical bytes. |
rullst-messaging/src/sqlite/storage/crypto.rs: open, the minimum sum with a + replaced so that it shrinks, and envelope.len() < minimum with <= or == | The shortest authentic envelope is 38 bytes; a shorter one fails the key-ID, nonce or tag parse with the same StorageAuthenticationFailed. |
rullst-messaging/src/schedules/crypto.rs: open, value.len() > MAX_CONTENT_BYTES + 128 with == or >= or its + with *, the || after it with &&, and a + in 8 + 1 + 1 + 12 + 16 replaced so that the sum shrinks | Sealed values span 38 to 131,173 bytes, so each change only moves which later parse or authentication step rejects a value, with the same Encryption. |
rullst-messaging/src/schedules/delivery.rs: verify, lease.namespace != … || now >= lease.expires with && | Occurrence IDs digest their namespace, so another namespace’s lease is not found by its ID, and an expired lease fails the commit deadline; both return the same InvalidLease. |
rullst-messaging/src/wire.rs: FIXED_BYTES, each + between two of its 2s with *, and Reader::is_finished with true | 2 * 2 equals 2 + 2; decode re-encodes the envelope and compares it with the frame, which rejects trailing bytes with the same InvalidWireEnvelope. |
rullst-messaging/src/redis_streams/transport.rs: Remote::decode, delete the "missing" | "corrupt" arm | The catch-all arm returns the same CorruptStorage. |
rullst-connect/src/provider/id_token.rs: validate_claims_with_presenters, the || before nonce.is_empty() with && | verify_nonce compares SHA-256 digests, so a nonce empty on one side only already fails it, and two empty nonces still satisfy the joined condition. |
rullst-connect/src/mock_idp/handlers.rs: the grant retain of authorize_handler and the access-token retain of token_handler and userinfo_handler, > now with >= | A record kept for the one second its expiry equals the clock is refused by the later expiry checks with the same error; only the 64-record bound would count it for that second, which a test cannot arrange. |
rullst-connect/src/mock_idp/handlers.rs: userinfo_handler, the expiry test *expiry > now with >= | The retain just before it has removed every token whose expiry is not after now. |
rullst-connect/src/mock_idp/handlers.rs: token_handler, the || before the redirect URI comparison with && | The authorization and token requests must both carry the registered client ID and redirect URI, so neither binding comparison can differ. |
rullst-connect/src/mock_idp/handlers.rs: userinfo_handler, the bearer filter’s && with || | An empty or oversized token then skips only the size bound and matches no issued token, so the response is the same invalid_token. |
rullst-connect/src/mock_idp/handlers.rs: server_error with Default::default() | It runs only when the clock is before 1970, Ed25519 signing fails or a validated loopback redirect URI does not parse. |
rullst-mail/src/security.rs: redact_labelled_private_keys, MAX_PEM_LABEL_BYTES + 1 with * | Reading at most 64 label bytes cuts a longer label inside its run of label bytes, so the ----- check that follows fails as the length check would. |
rullst-mail/src/security.rs: href_values, value_start + length + 1 with - or * | The scan resumes on the closing quote or the byte before it (the opening quote for an empty value), and no href match can contain a quote. |
rullst-mail/src/inspection/sniff.rs: root_element, open < close with <= | Both are positions just after one byte, a [ and a >, so they are never equal. |
rullst-mail/src/pipeline.rs: DeliveryPipeline::require_due, send_at > now, and DeliveryPipeline::prepare_with_context, the 366-day bound send_at - now > 366 days, each with >= | They differ only when the schedule equals a Timestamp::now() reading taken inside the call (plus 366 days) to the nanosecond, which a caller cannot arrange. |
rullst-mail/src/suppression/mod.rs: ascii_domain, either && with || | recipient_address rejects : and ascii_domain refuses /, ?, #, % and \ before parsing, so http://{domain}/ never parses with a port or a path other than /, and the URL parser refuses an empty host: all three tests always hold. |
rullst-mail/src/drivers/failover.rs: FailoverDriver::is_tripped, elapsed() < self.cooldown with <= | An Instant reading would have to equal the last failure plus the cooldown to the nanosecond. |
rullst-mail/src/drivers/memory.rs: MailTrap::driver with Default::default() | MemoryDriver::default() is MemoryDriver::new(), the driver connected to the global trap. |
rullst-mail/src/error.rs: bounded_message, boundary > 0 with >= | is_char_boundary(0) is always true, so the loop stops at 0 either way. |
rullst-mail/src/worker.rs: prepare_claimed_message, send_at - now > CLAIM_CLOCK_SKEW, and rullst-mail/src/drivers/resend.rs: ResendDriver::send_request, send_at - now > MAX_PROVIDER_SCHEDULE, each with >= | They differ only when the schedule equals a Timestamp::now() reading taken inside the call, plus 300 s or 30 days, to the nanosecond. |
rullst-ai/src/ai/egress.rs: EgressPolicy::strict with Default::default() | strict already returns Self::default(). |
rullst-ai/src/ai/egress.rs: is_public_ipv6, is_unspecified() || is_loopback() with && | :: and ::1 lie outside 2000::/3, which the next clause rejects. |
rullst-ai/src/ai/guardrails/markdown_inline.rs: open_tag_end, the self-closing then_some(index + 1) with - or * | The tag then ends on or just before its /; the byte before that / is whitespace, a quote or a name byte, never a bracket. |
rullst-ai/src/ai/guardrails/markdown_images.rs: definition_destination, the <...> end end + 1 with * | It drops only the closing > or line ending, which neither the scheme nor the authority check reads. |
rullst-ai/src/ai/guardrails/markdown_code.rs: indentation, the tab step 4 - column % 4 with 4 + column % 4 | Indentation is only compared with 4, and either step takes a tab to at least four columns. |
rullst-ai/src/ai/guardrails/tax_ids.rs: token_end, bytes.get(index + 1) with index - 1 | A separator then joins when a digit precedes it instead of follows it, but the end moves only on digits and a second separator stops both scans, so every token ends at the same digit. |
rullst-ai/src/ai/guardrails/tax_ids.rs: is_valid_tax_id, the CNPJ all_digits && token.len() == 14 with || | digit_values still requires exactly 14 digits, which only a 14-digit token or the CNPJ layout holds. |
rullst-ai/src/ai/evaluation/types.rs: AiEvaluationReport::schema_version with 1 | Its fields are private to the evaluation module, whose only constructor, build_report, sets schema_version: 1; the report has no Deserialize. |
Timed-out mutants are not counted as caught, and cargo-mutants reports them separately. The campaign rewrote the scanning loops of the WAF detector, the RASP decoder, the HTML snapshot normaliser and the accessibility scanner so that every step consumes input, and bounded the WAF linear-time test, which removed their timeouts. The core campaign ran the queue worker, realtime, multipart CSRF, byteranges and long PII masking tests against a deadline instead, which turned their timeouts into caught mutants; the CLI campaign bounded the update cache’s FIFO test the same way. The remaining ones turn forward progress into a loop that never ends without allocating, in code every test of the file reaches, so no single test can fail first:
rullst-core/src/error_console/store.rs:Store::recordwithlen() >= MAX_ENTRIESreplaced by<pops an empty queue forever.cargo-rullst/src/generators/build/upgrade/rules/tokens.rs: the token scanner’slevelandpathloops, where an index step (+= 1,+= 2,next + 1,end + 1,end + 2) becomes-or*, orpathreturns0or1, and the scan revisits the same token forever.cargo-rullst/src/generators/audit_source.rs: the token scans oftokenized_views,item_end,mark_code_tokensanddoc_attribute, where an index step (+= 1) becomes-=or*=,item_endreturns0or1, ordoc_attributereturnsSome(0)orSome(1)or itsnext + 1becomes-, and the scan revisits the same token forever.rullst-security/src/log_redactor.rs: the bearer, identifier, separator and escaped-quote scans, where an index step (+= 1,+= 2) becomes-or*, a key offset (cursor + offset,key_start + key.len()) becomes-or*, oridentifier_continuationreturns an end of0or1, and the scan finds the same key or byte again forever.rullst-security/src/dlp/byteranges.rs:Lines::next, where the non-empty filter is negated or the next-line offset (start + offset + 1) becomes-or*, and the reader returns the same line forever;rullst-security/src/dlp/masking.rs: the AWS-key and database scans, wherecursor + offsetbecomes*or-, or+ scheme.len()becomes-, and the scan restarts before the same match.rullst-core/src/security/pii.rs:measure_digit_runreturning(0, 0),(0, 1),(1, 0)or(1, 1), itsseparators < 3with==or>, or itsend += 1with*=or-=, and the address and JSON-string scans ofmask_charsandmask_json_strings, wherestart -= 1becomes/=,end += 1oridx += 1becomes*=, or the dotted-domainend += 1becomes-=, so the card, address or string scan never advances; andrullst-core/src/security/pii_byteranges.rs:Lines::next, where the next-line offset becomes-or*, as in the DLP reader above.rullst-core/src/server/dev_telemetry/recorder.rs:push_boundedwithentries.len() >= capacityreplaced by<pops an empty queue forever, in code every recorded request or query reaches.rullst-studio/src/remote/notify.rs:Inner::pushwithqueue.len() > MAX_QUEUEDreplaced by<, andrullst-studio/src/distributed_traces/store.rs:DistributedTraceStore::insert_batchwithspans.len() >= capacityreplaced by<, pop an empty queue forever, in code every notification or trace-ingestion test reaches.rullst-core/src/scheduler.rs:shutdown_requestedreturningtrueorfalse, andwait_for_shutdownreturning at once or without its!, so a task loop never runs or never sees shutdown, and the scheduler, server and supervision tests that start and stop a scheduler wait forever.rullst-security/src/login_guard/state.rs:pop_earliestreturningNoneorSome(Default::default()), ormake_roomwith&&replaced by||, so pruning or eviction never removes an entry; andrullst-security/src/rasp/user_agent.rs: the version scan’sindex += 1replaced by*=.rullst-macros/src/html_declarations.rs:parse_commentreturningOk(())consumes nothing, so the document parser finds the same comment opener forever in every test with an HTML comment.rullst-mail/src/security.rs: the redaction scans, wherestart + relative_endinredact_values_afterbecomes-,offset + relativeinredact_aws_access_keysorstart + BEGIN.len()inredact_labelled_private_keysbecomes*, orstart + prefix.len()becomes-or*, and thehref_valuesscan, whereindex += 1inskip_whitespaceor the non-matchpos += 1becomes*=, or thepos += 4after anhrefwithout=becomes-=; each scan restarts before the same match.rullst-mail/src/action.rs:next_http_urlreturningSome(0)makesredact_body_secretsstop advancing once the remaining text is empty or starts with a delimiter, in every test that sanitizes a message body or builds an action link.rullst-mail/src/entities.rs:decodewith theindex + 1after&replaced by-or*restarts on the same&forever; the output grows by one&per turn, so the 8 GiB limit below is reached only after the timeout, and the factory, inspection and entity tests all decode a reference.rullst-ai/src/ai/guardrails/tax_ids.rs:mask_tax_idswithout the!of its digit test or withstart += 1as-=or*=,token_endreturning0or1, and itsindex += 1steps as-=or*=;rullst-ai/src/ai/guardrails/markdown_inline.rs:code_span_hides_bracketwith either backtick test negated,index += runas-=or*=orindex += 1as*=, and the whitespace steps ofopen_tag_endas*=;rullst-ai/src/ai/guardrails/markdown_images.rs: theindex += 1steps ofunescaped_closeandlabel_endas-=or*=; andrullst-ai/src/ai/guardrails/markdown_code.rs: the index steps oflines,mark_fencedandspan_contentsas*=, andblank_codewithcode[group_start] || is_blank(...)as&&, which stops on a blank line. The guardrail tests reach these scans, which then never finish.rullst-ai/src/ai/providers/sse.rs:SseDecoder::pushwithboundary + delimiter_bytesas-, andevent_boundaryreturningSome((0, 0))orSome((1, 0)), so the decoder parses the same event again forever in every streaming test (a data event adds one frame per turn, which reaches the address-space limit only after the timeout).
rullst-security/src/timing_guard.rs: TimingScope::finish with the jitter
% replaced by + does not loop: it sleeps for up to 72 minutes in the
real-time padding tests.
A targeted run sets each test binary’s address space to 8 GiB, so a loop that
does allocate aborts its tests and counts as caught instead.
rullst-ai/src/ai/guardrails/markdown_code.rs: blank_code with
group_start += 1 replaced by *= does allocate, but it repeats one line
forever; on a blank line the output grows one byte per turn and reaches that
limit only after the timeout.