From d42a286d5b2ca1c2ba8997a8a6d7f955120d33a0 Mon Sep 17 00:00:00 2001 From: ASuciuX Date: Thu, 30 Nov 2023 23:12:15 +0200 Subject: [PATCH] feat: updated file names to lib and renamed output stable --- libsigner/Cargo.toml | 2 +- libsigner/src/{libsigner.rs => lib.rs} | 0 .../stx-genesis => mutants.out}/caught.txt | 0 mutants.out/lock.json | 6 + mutants.out/missed.txt | 33 + mutants.out/mutants.json | 605 +++++ mutants.out/outcomes.json | 2362 +++++++++++++++++ .../clarity => mutants.out}/timeout.txt | 0 mutants.out/unviable.txt | 33 + .../clarity/caught.txt | 0 .../clarity/missed.txt | 0 .../clarity}/timeout.txt | 0 .../clarity/unviable.txt | 0 .../packages-output/stx-genesis/caught.txt | 1 + .../stx-genesis/missed.txt | 0 .../packages-output/stx-genesis/timeout.txt | 0 .../stx-genesis/unviable.txt | 0 mutation-testing/scripts/README.md | 19 + .../scripts/append-match-package.sh | 0 mutation-testing/scripts/git-diff.sh | 15 + .../scripts/modular-mutants-run.sh | 41 + stacks-common/Cargo.toml | 2 +- stacks-common/src/{libcommon.rs => lib.rs} | 0 23 files changed, 3117 insertions(+), 2 deletions(-) rename libsigner/src/{libsigner.rs => lib.rs} (100%) rename {mutation-testing/mutants/stx-genesis => mutants.out}/caught.txt (100%) create mode 100644 mutants.out/lock.json create mode 100644 mutants.out/missed.txt create mode 100644 mutants.out/mutants.json create mode 100644 mutants.out/outcomes.json rename {mutation-testing/mutants/clarity => mutants.out}/timeout.txt (100%) create mode 100644 mutants.out/unviable.txt rename mutation-testing/{mutants => packages-output}/clarity/caught.txt (100%) rename mutation-testing/{mutants => packages-output}/clarity/missed.txt (100%) rename mutation-testing/{mutants/stx-genesis => packages-output/clarity}/timeout.txt (100%) rename mutation-testing/{mutants => packages-output}/clarity/unviable.txt (100%) create mode 100644 mutation-testing/packages-output/stx-genesis/caught.txt rename mutation-testing/{mutants => packages-output}/stx-genesis/missed.txt (100%) create mode 100644 mutation-testing/packages-output/stx-genesis/timeout.txt rename mutation-testing/{mutants => packages-output}/stx-genesis/unviable.txt (100%) create mode 100644 mutation-testing/scripts/append-match-package.sh create mode 100644 mutation-testing/scripts/modular-mutants-run.sh rename stacks-common/src/{libcommon.rs => lib.rs} (100%) diff --git a/libsigner/Cargo.toml b/libsigner/Cargo.toml index 8500ef55fa..35aaca69f7 100644 --- a/libsigner/Cargo.toml +++ b/libsigner/Cargo.toml @@ -13,7 +13,7 @@ edition = "2021" [lib] name = "libsigner" -path = "./src/libsigner.rs" +path = "./src/lib.rs" [dependencies] clarity = { path = "../clarity" } diff --git a/libsigner/src/libsigner.rs b/libsigner/src/lib.rs similarity index 100% rename from libsigner/src/libsigner.rs rename to libsigner/src/lib.rs diff --git a/mutation-testing/mutants/stx-genesis/caught.txt b/mutants.out/caught.txt similarity index 100% rename from mutation-testing/mutants/stx-genesis/caught.txt rename to mutants.out/caught.txt diff --git a/mutants.out/lock.json b/mutants.out/lock.json new file mode 100644 index 0000000000..b7637a1ad5 --- /dev/null +++ b/mutants.out/lock.json @@ -0,0 +1,6 @@ +{ + "cargo_mutants_version": "23.11.1", + "start_time": "2023-11-30T21:06:25.450047Z", + "hostname": "deployers-macbook-pro.local", + "username": "asuciu" +} \ No newline at end of file diff --git a/mutants.out/missed.txt b/mutants.out/missed.txt new file mode 100644 index 0000000000..f5bd782254 --- /dev/null +++ b/mutants.out/missed.txt @@ -0,0 +1,33 @@ +pox-locking/src/lib.rs:65: replace handle_contract_call_special_cases -> Result<(), ClarityError> with Ok(()) +stx-genesis/src/lib.rs:100: replace ::next -> Option with None +stx-genesis/src/lib.rs:108: replace ::count -> usize with 0 +stx-genesis/src/lib.rs:108: replace ::count -> usize with 1 +pox-locking/src/events.rs:47: replace create_event_info_stack_or_delegate_code -> String with String::new() +pox-locking/src/events.rs:47: replace create_event_info_stack_or_delegate_code -> String with "xyzzy".into() +pox-locking/src/events.rs:76: replace create_event_info_aggregation_code -> String with String::new() +pox-locking/src/events.rs:76: replace create_event_info_aggregation_code -> String with "xyzzy".into() +pox-locking/src/events.rs:103: replace create_event_info_data_code -> String with String::new() +pox-locking/src/events.rs:103: replace create_event_info_data_code -> String with "xyzzy".into() +pox-locking/src/events.rs:351: replace synthesize_pox_2_or_3_event_info -> Result, ClarityError> with Ok(None) +pox-locking/src/pox_1.rs:69: replace is_read_only -> bool with true +pox-locking/src/pox_1.rs:69: replace is_read_only -> bool with false +pox-locking/src/pox_1.rs:90: replace pox_lock_v1 -> Result<(), LockingError> with Ok(()) +pox-locking/src/pox_1.rs:128: replace handle_contract_call -> Result<(), ClarityError> with Ok(()) +pox-locking/src/pox_2.rs:33: replace is_read_only -> bool with true +pox-locking/src/pox_2.rs:33: replace is_read_only -> bool with false +pox-locking/src/pox_2.rs:217: replace pox_lock_extend_v2 -> Result with Ok(0) +pox-locking/src/pox_2.rs:217: replace pox_lock_extend_v2 -> Result with Ok(1) +pox-locking/src/pox_2.rs:248: replace pox_lock_v2 -> Result<(), LockingError> with Ok(()) +pox-locking/src/pox_2.rs:280: replace handle_stack_lockup_pox_v2 -> Result, ClarityError> with Ok(None) +pox-locking/src/pox_2.rs:345: replace handle_stack_lockup_extension_pox_v2 -> Result, ClarityError> with Ok(None) +pox-locking/src/pox_2.rs:409: replace handle_stack_lockup_increase_pox_v2 -> Result, ClarityError> with Ok(None) +pox-locking/src/pox_2.rs:473: replace handle_contract_call -> Result<(), ClarityError> with Ok(()) +pox-locking/src/pox_3.rs:42: replace pox_lock_v3 -> Result<(), LockingError> with Ok(()) +pox-locking/src/pox_3.rs:72: replace pox_lock_extend_v3_not_tested -> Result with Ok(0) +pox-locking/src/pox_3.rs:72: replace pox_lock_extend_v3_not_tested -> Result with Ok(1) +pox-locking/src/pox_3.rs:87: replace pox_lock_extend_v3 -> Result with Ok(0) +pox-locking/src/pox_3.rs:87: replace pox_lock_extend_v3 -> Result with Ok(1) +pox-locking/src/pox_3.rs:169: replace handle_stack_lockup_pox_v3 -> Result, ClarityError> with Ok(None) +pox-locking/src/pox_3.rs:236: replace handle_stack_lockup_extension_pox_v3 -> Result, ClarityError> with Ok(None) +pox-locking/src/pox_3.rs:300: replace handle_stack_lockup_increase_pox_v3 -> Result, ClarityError> with Ok(None) +pox-locking/src/pox_3.rs:363: replace handle_contract_call -> Result<(), ClarityError> with Ok(()) diff --git a/mutants.out/mutants.json b/mutants.out/mutants.json new file mode 100644 index 0000000000..df7fd36d83 --- /dev/null +++ b/mutants.out/mutants.json @@ -0,0 +1,605 @@ +[ + { + "package": "pox-locking", + "file": "pox-locking/src/lib.rs", + "line": 65, + "function": "handle_contract_call_special_cases", + "return_type": "-> Result<(), ClarityError>", + "replacement": "Ok(())", + "genre": "FnValue" + }, + { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 57, + "function": "GenesisData::read_balances", + "return_type": "-> Box>", + "replacement": "Box::new(Default::default())", + "genre": "FnValue" + }, + { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 64, + "function": "GenesisData::read_lockups", + "return_type": "-> Box>", + "replacement": "Box::new(Default::default())", + "genre": "FnValue" + }, + { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 71, + "function": "GenesisData::read_namespaces", + "return_type": "-> Box>", + "replacement": "Box::new(Default::default())", + "genre": "FnValue" + }, + { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 78, + "function": "GenesisData::read_names", + "return_type": "-> Box>", + "replacement": "Box::new(Default::default())", + "genre": "FnValue" + }, + { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 85, + "function": "GenesisData::read_name_zonefiles", + "return_type": "-> Box>", + "replacement": "Box::new(Default::default())", + "genre": "FnValue" + }, + { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 100, + "function": "::next", + "return_type": "-> Option", + "replacement": "None", + "genre": "FnValue" + }, + { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 100, + "function": "::next", + "return_type": "-> Option", + "replacement": "Some(Default::default())", + "genre": "FnValue" + }, + { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 108, + "function": "::count", + "return_type": "-> usize", + "replacement": "0", + "genre": "FnValue" + }, + { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 108, + "function": "::count", + "return_type": "-> usize", + "replacement": "1", + "genre": "FnValue" + }, + { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 115, + "function": "read_deflated_zonefiles", + "return_type": "-> Box>", + "replacement": "Box::new(Default::default())", + "genre": "FnValue" + }, + { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 129, + "function": "iter_deflated_csv", + "return_type": "-> Box>>", + "replacement": "Box::new(Default::default())", + "genre": "FnValue" + }, + { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 140, + "function": "read_balances", + "return_type": "-> Box>", + "replacement": "Box::new(Default::default())", + "genre": "FnValue" + }, + { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 148, + "function": "read_lockups", + "return_type": "-> Box>", + "replacement": "Box::new(Default::default())", + "genre": "FnValue" + }, + { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 157, + "function": "read_namespaces", + "return_type": "-> Box>", + "replacement": "Box::new(Default::default())", + "genre": "FnValue" + }, + { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 171, + "function": "read_names", + "return_type": "-> Box>", + "replacement": "Box::new(Default::default())", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/events.rs", + "line": 32, + "function": "get_stacker", + "return_type": "-> Value", + "replacement": "Default::default()", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/events.rs", + "line": 47, + "function": "create_event_info_stack_or_delegate_code", + "return_type": "-> String", + "replacement": "String::new()", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/events.rs", + "line": 47, + "function": "create_event_info_stack_or_delegate_code", + "return_type": "-> String", + "replacement": "\"xyzzy\".into()", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/events.rs", + "line": 76, + "function": "create_event_info_aggregation_code", + "return_type": "-> String", + "replacement": "String::new()", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/events.rs", + "line": 76, + "function": "create_event_info_aggregation_code", + "return_type": "-> String", + "replacement": "\"xyzzy\".into()", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/events.rs", + "line": 103, + "function": "create_event_info_data_code", + "return_type": "-> String", + "replacement": "String::new()", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/events.rs", + "line": 103, + "function": "create_event_info_data_code", + "return_type": "-> String", + "replacement": "\"xyzzy\".into()", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/events.rs", + "line": 351, + "function": "synthesize_pox_2_or_3_event_info", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(None)", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/events.rs", + "line": 351, + "function": "synthesize_pox_2_or_3_event_info", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(Some(Default::default()))", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_1.rs", + "line": 36, + "function": "parse_pox_stacking_result_v1", + "return_type": "-> std::result::Result<(PrincipalData, u128, u64), i128>", + "replacement": "Ok((Default::default(), 0, 0))", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_1.rs", + "line": 36, + "function": "parse_pox_stacking_result_v1", + "return_type": "-> std::result::Result<(PrincipalData, u128, u64), i128>", + "replacement": "Ok((Default::default(), 0, 1))", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_1.rs", + "line": 36, + "function": "parse_pox_stacking_result_v1", + "return_type": "-> std::result::Result<(PrincipalData, u128, u64), i128>", + "replacement": "Ok((Default::default(), 1, 0))", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_1.rs", + "line": 36, + "function": "parse_pox_stacking_result_v1", + "return_type": "-> std::result::Result<(PrincipalData, u128, u64), i128>", + "replacement": "Ok((Default::default(), 1, 1))", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_1.rs", + "line": 69, + "function": "is_read_only", + "return_type": "-> bool", + "replacement": "true", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_1.rs", + "line": 69, + "function": "is_read_only", + "return_type": "-> bool", + "replacement": "false", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_1.rs", + "line": 90, + "function": "pox_lock_v1", + "return_type": "-> Result<(), LockingError>", + "replacement": "Ok(())", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_1.rs", + "line": 128, + "function": "handle_contract_call", + "return_type": "-> Result<(), ClarityError>", + "replacement": "Ok(())", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 33, + "function": "is_read_only", + "return_type": "-> bool", + "replacement": "true", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 33, + "function": "is_read_only", + "return_type": "-> bool", + "replacement": "false", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 64, + "function": "parse_pox_stacking_result", + "return_type": "-> std::result::Result<(PrincipalData, u128, u64), i128>", + "replacement": "Ok((Default::default(), 0, 0))", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 64, + "function": "parse_pox_stacking_result", + "return_type": "-> std::result::Result<(PrincipalData, u128, u64), i128>", + "replacement": "Ok((Default::default(), 0, 1))", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 64, + "function": "parse_pox_stacking_result", + "return_type": "-> std::result::Result<(PrincipalData, u128, u64), i128>", + "replacement": "Ok((Default::default(), 1, 0))", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 64, + "function": "parse_pox_stacking_result", + "return_type": "-> std::result::Result<(PrincipalData, u128, u64), i128>", + "replacement": "Ok((Default::default(), 1, 1))", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 98, + "function": "parse_pox_extend_result", + "return_type": "-> std::result::Result<(PrincipalData, u64), i128>", + "replacement": "Ok((Default::default(), 0))", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 98, + "function": "parse_pox_extend_result", + "return_type": "-> std::result::Result<(PrincipalData, u64), i128>", + "replacement": "Ok((Default::default(), 1))", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 127, + "function": "parse_pox_increase", + "return_type": "-> std::result::Result<(PrincipalData, u128), i128>", + "replacement": "Ok((Default::default(), 0))", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 127, + "function": "parse_pox_increase", + "return_type": "-> std::result::Result<(PrincipalData, u128), i128>", + "replacement": "Ok((Default::default(), 1))", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 164, + "function": "pox_lock_increase_v2", + "return_type": "-> Result", + "replacement": "Ok(Default::default())", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 217, + "function": "pox_lock_extend_v2", + "return_type": "-> Result", + "replacement": "Ok(0)", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 217, + "function": "pox_lock_extend_v2", + "return_type": "-> Result", + "replacement": "Ok(1)", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 248, + "function": "pox_lock_v2", + "return_type": "-> Result<(), LockingError>", + "replacement": "Ok(())", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 280, + "function": "handle_stack_lockup_pox_v2", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(None)", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 280, + "function": "handle_stack_lockup_pox_v2", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(Some(Default::default()))", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 345, + "function": "handle_stack_lockup_extension_pox_v2", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(None)", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 345, + "function": "handle_stack_lockup_extension_pox_v2", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(Some(Default::default()))", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 409, + "function": "handle_stack_lockup_increase_pox_v2", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(None)", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 409, + "function": "handle_stack_lockup_increase_pox_v2", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(Some(Default::default()))", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 473, + "function": "handle_contract_call", + "return_type": "-> Result<(), ClarityError>", + "replacement": "Ok(())", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_3.rs", + "line": 42, + "function": "pox_lock_v3", + "return_type": "-> Result<(), LockingError>", + "replacement": "Ok(())", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_3.rs", + "line": 72, + "function": "pox_lock_extend_v3_not_tested", + "return_type": "-> Result", + "replacement": "Ok(0)", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_3.rs", + "line": 72, + "function": "pox_lock_extend_v3_not_tested", + "return_type": "-> Result", + "replacement": "Ok(1)", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_3.rs", + "line": 87, + "function": "pox_lock_extend_v3", + "return_type": "-> Result", + "replacement": "Ok(0)", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_3.rs", + "line": 87, + "function": "pox_lock_extend_v3", + "return_type": "-> Result", + "replacement": "Ok(1)", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_3.rs", + "line": 123, + "function": "pox_lock_increase_v3", + "return_type": "-> Result", + "replacement": "Ok(Default::default())", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_3.rs", + "line": 169, + "function": "handle_stack_lockup_pox_v3", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(None)", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_3.rs", + "line": 169, + "function": "handle_stack_lockup_pox_v3", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(Some(Default::default()))", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_3.rs", + "line": 236, + "function": "handle_stack_lockup_extension_pox_v3", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(None)", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_3.rs", + "line": 236, + "function": "handle_stack_lockup_extension_pox_v3", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(Some(Default::default()))", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_3.rs", + "line": 300, + "function": "handle_stack_lockup_increase_pox_v3", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(None)", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_3.rs", + "line": 300, + "function": "handle_stack_lockup_increase_pox_v3", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(Some(Default::default()))", + "genre": "FnValue" + }, + { + "package": "pox-locking", + "file": "pox-locking/src/pox_3.rs", + "line": 363, + "function": "handle_contract_call", + "return_type": "-> Result<(), ClarityError>", + "replacement": "Ok(())", + "genre": "FnValue" + } +] \ No newline at end of file diff --git a/mutants.out/outcomes.json b/mutants.out/outcomes.json new file mode 100644 index 0000000000..fe5f978bca --- /dev/null +++ b/mutants.out/outcomes.json @@ -0,0 +1,2362 @@ +{ + "outcomes": [ + { + "scenario": "Baseline", + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/baseline.log", + "summary": "Success", + "phase_results": [ + { + "phase": "Build", + "duration": 50.483776167, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--package", + "pox-locking", + "--package", + "stx-genesis" + ] + }, + { + "phase": "Test", + "duration": 1.446460417, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--package", + "pox-locking", + "--package", + "stx-genesis" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/lib.rs", + "line": 65, + "function": "handle_contract_call_special_cases", + "return_type": "-> Result<(), ClarityError>", + "replacement": "Ok(())", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__lib.rs_line_65.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 16.424274334, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.694827417, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 57, + "function": "GenesisData::read_balances", + "return_type": "-> Box>", + "replacement": "Box::new(Default::default())", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/stx-genesis__src__lib.rs_line_57.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 11.300243542, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/stx-genesis/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 64, + "function": "GenesisData::read_lockups", + "return_type": "-> Box>", + "replacement": "Box::new(Default::default())", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/stx-genesis__src__lib.rs_line_64.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.164520375, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/stx-genesis/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 71, + "function": "GenesisData::read_namespaces", + "return_type": "-> Box>", + "replacement": "Box::new(Default::default())", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/stx-genesis__src__lib.rs_line_71.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.163111292, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/stx-genesis/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 78, + "function": "GenesisData::read_names", + "return_type": "-> Box>", + "replacement": "Box::new(Default::default())", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/stx-genesis__src__lib.rs_line_78.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.163015917, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/stx-genesis/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 85, + "function": "GenesisData::read_name_zonefiles", + "return_type": "-> Box>", + "replacement": "Box::new(Default::default())", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/stx-genesis__src__lib.rs_line_85.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.160493417, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/stx-genesis/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 100, + "function": "::next", + "return_type": "-> Option", + "replacement": "None", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/stx-genesis__src__lib.rs_line_100.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.60007725, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/stx-genesis/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.96607275, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/stx-genesis/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 100, + "function": "::next", + "return_type": "-> Option", + "replacement": "Some(Default::default())", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/stx-genesis__src__lib.rs_line_100_001.log", + "summary": "CaughtMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.579615542, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/stx-genesis/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.913376042, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/stx-genesis/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 108, + "function": "::count", + "return_type": "-> usize", + "replacement": "0", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/stx-genesis__src__lib.rs_line_108.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.546486083, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/stx-genesis/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.962676417, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/stx-genesis/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 108, + "function": "::count", + "return_type": "-> usize", + "replacement": "1", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/stx-genesis__src__lib.rs_line_108_001.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.267165875, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/stx-genesis/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.8659295, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/stx-genesis/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 115, + "function": "read_deflated_zonefiles", + "return_type": "-> Box>", + "replacement": "Box::new(Default::default())", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/stx-genesis__src__lib.rs_line_115.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.164122583, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/stx-genesis/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 129, + "function": "iter_deflated_csv", + "return_type": "-> Box>>", + "replacement": "Box::new(Default::default())", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/stx-genesis__src__lib.rs_line_129.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.16367525, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/stx-genesis/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 140, + "function": "read_balances", + "return_type": "-> Box>", + "replacement": "Box::new(Default::default())", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/stx-genesis__src__lib.rs_line_140.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.168141459, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/stx-genesis/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 148, + "function": "read_lockups", + "return_type": "-> Box>", + "replacement": "Box::new(Default::default())", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/stx-genesis__src__lib.rs_line_148.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.164233375, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/stx-genesis/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 157, + "function": "read_namespaces", + "return_type": "-> Box>", + "replacement": "Box::new(Default::default())", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/stx-genesis__src__lib.rs_line_157.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.166543042, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/stx-genesis/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "stx-genesis", + "file": "stx-genesis/src/lib.rs", + "line": 171, + "function": "read_names", + "return_type": "-> Box>", + "replacement": "Box::new(Default::default())", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/stx-genesis__src__lib.rs_line_171.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.160294166, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/stx-genesis/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/events.rs", + "line": 32, + "function": "get_stacker", + "return_type": "-> Value", + "replacement": "Default::default()", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__events.rs_line_32.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.214588416, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/events.rs", + "line": 47, + "function": "create_event_info_stack_or_delegate_code", + "return_type": "-> String", + "replacement": "String::new()", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__events.rs_line_47.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.325841958, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.643638458, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/events.rs", + "line": 47, + "function": "create_event_info_stack_or_delegate_code", + "return_type": "-> String", + "replacement": "\"xyzzy\".into()", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__events.rs_line_47_001.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.32453975, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.432950709, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/events.rs", + "line": 76, + "function": "create_event_info_aggregation_code", + "return_type": "-> String", + "replacement": "String::new()", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__events.rs_line_76.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.318520166, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.492692792, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/events.rs", + "line": 76, + "function": "create_event_info_aggregation_code", + "return_type": "-> String", + "replacement": "\"xyzzy\".into()", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__events.rs_line_76_001.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.268882458, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.491478417, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/events.rs", + "line": 103, + "function": "create_event_info_data_code", + "return_type": "-> String", + "replacement": "String::new()", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__events.rs_line_103.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.324274709, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.476662583, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/events.rs", + "line": 103, + "function": "create_event_info_data_code", + "return_type": "-> String", + "replacement": "\"xyzzy\".into()", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__events.rs_line_103_001.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.276739584, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.432912083, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/events.rs", + "line": 351, + "function": "synthesize_pox_2_or_3_event_info", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(None)", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__events.rs_line_351.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.274209292, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.490387625, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/events.rs", + "line": 351, + "function": "synthesize_pox_2_or_3_event_info", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(Some(Default::default()))", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__events.rs_line_351_001.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.213507833, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_1.rs", + "line": 36, + "function": "parse_pox_stacking_result_v1", + "return_type": "-> std::result::Result<(PrincipalData, u128, u64), i128>", + "replacement": "Ok((Default::default(), 0, 0))", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_1.rs_line_36.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.220190084, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_1.rs", + "line": 36, + "function": "parse_pox_stacking_result_v1", + "return_type": "-> std::result::Result<(PrincipalData, u128, u64), i128>", + "replacement": "Ok((Default::default(), 0, 1))", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_1.rs_line_36_001.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.215484875, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_1.rs", + "line": 36, + "function": "parse_pox_stacking_result_v1", + "return_type": "-> std::result::Result<(PrincipalData, u128, u64), i128>", + "replacement": "Ok((Default::default(), 1, 0))", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_1.rs_line_36_002.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.220133166, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_1.rs", + "line": 36, + "function": "parse_pox_stacking_result_v1", + "return_type": "-> std::result::Result<(PrincipalData, u128, u64), i128>", + "replacement": "Ok((Default::default(), 1, 1))", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_1.rs_line_36_003.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.220399375, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_1.rs", + "line": 69, + "function": "is_read_only", + "return_type": "-> bool", + "replacement": "true", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_1.rs_line_69.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.3235115, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.59250275, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_1.rs", + "line": 69, + "function": "is_read_only", + "return_type": "-> bool", + "replacement": "false", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_1.rs_line_69_001.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.262698542, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.480857333, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_1.rs", + "line": 90, + "function": "pox_lock_v1", + "return_type": "-> Result<(), LockingError>", + "replacement": "Ok(())", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_1.rs_line_90.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.326782417, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.483960875, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_1.rs", + "line": 128, + "function": "handle_contract_call", + "return_type": "-> Result<(), ClarityError>", + "replacement": "Ok(())", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_1.rs_line_128.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.270394375, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.378989875, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 33, + "function": "is_read_only", + "return_type": "-> bool", + "replacement": "true", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_2.rs_line_33.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.322986833, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.600142417, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 33, + "function": "is_read_only", + "return_type": "-> bool", + "replacement": "false", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_2.rs_line_33_001.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.26911, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.551111625, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 64, + "function": "parse_pox_stacking_result", + "return_type": "-> std::result::Result<(PrincipalData, u128, u64), i128>", + "replacement": "Ok((Default::default(), 0, 0))", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_2.rs_line_64.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.218267917, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 64, + "function": "parse_pox_stacking_result", + "return_type": "-> std::result::Result<(PrincipalData, u128, u64), i128>", + "replacement": "Ok((Default::default(), 0, 1))", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_2.rs_line_64_001.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.217766083, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 64, + "function": "parse_pox_stacking_result", + "return_type": "-> std::result::Result<(PrincipalData, u128, u64), i128>", + "replacement": "Ok((Default::default(), 1, 0))", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_2.rs_line_64_002.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.213865916, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 64, + "function": "parse_pox_stacking_result", + "return_type": "-> std::result::Result<(PrincipalData, u128, u64), i128>", + "replacement": "Ok((Default::default(), 1, 1))", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_2.rs_line_64_003.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.218734541, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 98, + "function": "parse_pox_extend_result", + "return_type": "-> std::result::Result<(PrincipalData, u64), i128>", + "replacement": "Ok((Default::default(), 0))", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_2.rs_line_98.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.211459042, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 98, + "function": "parse_pox_extend_result", + "return_type": "-> std::result::Result<(PrincipalData, u64), i128>", + "replacement": "Ok((Default::default(), 1))", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_2.rs_line_98_001.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.222524958, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 127, + "function": "parse_pox_increase", + "return_type": "-> std::result::Result<(PrincipalData, u128), i128>", + "replacement": "Ok((Default::default(), 0))", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_2.rs_line_127.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.214612833, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 127, + "function": "parse_pox_increase", + "return_type": "-> std::result::Result<(PrincipalData, u128), i128>", + "replacement": "Ok((Default::default(), 1))", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_2.rs_line_127_001.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.213787709, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 164, + "function": "pox_lock_increase_v2", + "return_type": "-> Result", + "replacement": "Ok(Default::default())", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_2.rs_line_164.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.221469667, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 217, + "function": "pox_lock_extend_v2", + "return_type": "-> Result", + "replacement": "Ok(0)", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_2.rs_line_217.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.325059375, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.578624208, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 217, + "function": "pox_lock_extend_v2", + "return_type": "-> Result", + "replacement": "Ok(1)", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_2.rs_line_217_001.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.271453542, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.535522917, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 248, + "function": "pox_lock_v2", + "return_type": "-> Result<(), LockingError>", + "replacement": "Ok(())", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_2.rs_line_248.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.328592, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.584625, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 280, + "function": "handle_stack_lockup_pox_v2", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(None)", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_2.rs_line_280.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.32273125, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.537397959, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 280, + "function": "handle_stack_lockup_pox_v2", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(Some(Default::default()))", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_2.rs_line_280_001.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.220596916, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 345, + "function": "handle_stack_lockup_extension_pox_v2", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(None)", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_2.rs_line_345.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.321972167, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.543705166, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 345, + "function": "handle_stack_lockup_extension_pox_v2", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(Some(Default::default()))", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_2.rs_line_345_001.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.223436375, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 409, + "function": "handle_stack_lockup_increase_pox_v2", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(None)", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_2.rs_line_409.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.273293166, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.541746334, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 409, + "function": "handle_stack_lockup_increase_pox_v2", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(Some(Default::default()))", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_2.rs_line_409_001.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.223418625, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_2.rs", + "line": 473, + "function": "handle_contract_call", + "return_type": "-> Result<(), ClarityError>", + "replacement": "Ok(())", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_2.rs_line_473.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.318156333, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.484100333, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_3.rs", + "line": 42, + "function": "pox_lock_v3", + "return_type": "-> Result<(), LockingError>", + "replacement": "Ok(())", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_3.rs_line_42.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.316920833, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.585518334, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_3.rs", + "line": 72, + "function": "pox_lock_extend_v3_not_tested", + "return_type": "-> Result", + "replacement": "Ok(0)", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_3.rs_line_72.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.320040083, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.5287755, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_3.rs", + "line": 72, + "function": "pox_lock_extend_v3_not_tested", + "return_type": "-> Result", + "replacement": "Ok(1)", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_3.rs_line_72_001.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.269315958, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.371742292, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_3.rs", + "line": 87, + "function": "pox_lock_extend_v3", + "return_type": "-> Result", + "replacement": "Ok(0)", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_3.rs_line_87.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.328804625, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.5306875, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_3.rs", + "line": 87, + "function": "pox_lock_extend_v3", + "return_type": "-> Result", + "replacement": "Ok(1)", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_3.rs_line_87_001.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.270677584, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.473307041, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_3.rs", + "line": 123, + "function": "pox_lock_increase_v3", + "return_type": "-> Result", + "replacement": "Ok(Default::default())", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_3.rs_line_123.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.208587666, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_3.rs", + "line": 169, + "function": "handle_stack_lockup_pox_v3", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(None)", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_3.rs_line_169.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.329902334, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.592432834, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_3.rs", + "line": 169, + "function": "handle_stack_lockup_pox_v3", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(Some(Default::default()))", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_3.rs_line_169_001.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.21101925, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_3.rs", + "line": 236, + "function": "handle_stack_lockup_extension_pox_v3", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(None)", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_3.rs_line_236.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.275964708, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.589157334, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_3.rs", + "line": 236, + "function": "handle_stack_lockup_extension_pox_v3", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(Some(Default::default()))", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_3.rs_line_236_001.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.216048292, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_3.rs", + "line": 300, + "function": "handle_stack_lockup_increase_pox_v3", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(None)", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_3.rs_line_300.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.323385042, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.581637958, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_3.rs", + "line": 300, + "function": "handle_stack_lockup_increase_pox_v3", + "return_type": "-> Result, ClarityError>", + "replacement": "Ok(Some(Default::default()))", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_3.rs_line_300_001.log", + "summary": "Unviable", + "phase_results": [ + { + "phase": "Build", + "duration": 0.216785916, + "process_status": "Failure", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + }, + { + "scenario": { + "Mutant": { + "package": "pox-locking", + "file": "pox-locking/src/pox_3.rs", + "line": 363, + "function": "handle_contract_call", + "return_type": "-> Result<(), ClarityError>", + "replacement": "Ok(())", + "genre": "FnValue" + } + }, + "log_path": "/Users/asuciu/Documents/GitHub/my-core/stacks-core/mutants.out/log/pox-locking__src__pox_3.rs_line_363.log", + "summary": "MissedMutant", + "phase_results": [ + { + "phase": "Build", + "duration": 0.321006792, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "build", + "--tests", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + }, + { + "phase": "Test", + "duration": 0.598943084, + "process_status": "Success", + "argv": [ + "/Users/asuciu/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo", + "test", + "--manifest-path", + "/var/folders/wr/nxd5pyh545z8rk128h04wj480000gs/T/cargo-mutants-stacks-core-ovu5kQ.tmp/pox-locking/Cargo.toml" + ] + } + ] + } + ], + "total_mutants": 67, + "missed": 33, + "caught": 1, + "timeout": 0, + "unviable": 33, + "success": 0, + "failure": 0 +} \ No newline at end of file diff --git a/mutation-testing/mutants/clarity/timeout.txt b/mutants.out/timeout.txt similarity index 100% rename from mutation-testing/mutants/clarity/timeout.txt rename to mutants.out/timeout.txt diff --git a/mutants.out/unviable.txt b/mutants.out/unviable.txt new file mode 100644 index 0000000000..dfc55ce6de --- /dev/null +++ b/mutants.out/unviable.txt @@ -0,0 +1,33 @@ +stx-genesis/src/lib.rs:57: replace GenesisData::read_balances -> Box> with Box::new(Default::default()) +stx-genesis/src/lib.rs:64: replace GenesisData::read_lockups -> Box> with Box::new(Default::default()) +stx-genesis/src/lib.rs:71: replace GenesisData::read_namespaces -> Box> with Box::new(Default::default()) +stx-genesis/src/lib.rs:78: replace GenesisData::read_names -> Box> with Box::new(Default::default()) +stx-genesis/src/lib.rs:85: replace GenesisData::read_name_zonefiles -> Box> with Box::new(Default::default()) +stx-genesis/src/lib.rs:115: replace read_deflated_zonefiles -> Box> with Box::new(Default::default()) +stx-genesis/src/lib.rs:129: replace iter_deflated_csv -> Box>> with Box::new(Default::default()) +stx-genesis/src/lib.rs:140: replace read_balances -> Box> with Box::new(Default::default()) +stx-genesis/src/lib.rs:148: replace read_lockups -> Box> with Box::new(Default::default()) +stx-genesis/src/lib.rs:157: replace read_namespaces -> Box> with Box::new(Default::default()) +stx-genesis/src/lib.rs:171: replace read_names -> Box> with Box::new(Default::default()) +pox-locking/src/events.rs:32: replace get_stacker -> Value with Default::default() +pox-locking/src/events.rs:351: replace synthesize_pox_2_or_3_event_info -> Result, ClarityError> with Ok(Some(Default::default())) +pox-locking/src/pox_1.rs:36: replace parse_pox_stacking_result_v1 -> std::result::Result<(PrincipalData, u128, u64), i128> with Ok((Default::default(), 0, 0)) +pox-locking/src/pox_1.rs:36: replace parse_pox_stacking_result_v1 -> std::result::Result<(PrincipalData, u128, u64), i128> with Ok((Default::default(), 0, 1)) +pox-locking/src/pox_1.rs:36: replace parse_pox_stacking_result_v1 -> std::result::Result<(PrincipalData, u128, u64), i128> with Ok((Default::default(), 1, 0)) +pox-locking/src/pox_1.rs:36: replace parse_pox_stacking_result_v1 -> std::result::Result<(PrincipalData, u128, u64), i128> with Ok((Default::default(), 1, 1)) +pox-locking/src/pox_2.rs:64: replace parse_pox_stacking_result -> std::result::Result<(PrincipalData, u128, u64), i128> with Ok((Default::default(), 0, 0)) +pox-locking/src/pox_2.rs:64: replace parse_pox_stacking_result -> std::result::Result<(PrincipalData, u128, u64), i128> with Ok((Default::default(), 0, 1)) +pox-locking/src/pox_2.rs:64: replace parse_pox_stacking_result -> std::result::Result<(PrincipalData, u128, u64), i128> with Ok((Default::default(), 1, 0)) +pox-locking/src/pox_2.rs:64: replace parse_pox_stacking_result -> std::result::Result<(PrincipalData, u128, u64), i128> with Ok((Default::default(), 1, 1)) +pox-locking/src/pox_2.rs:98: replace parse_pox_extend_result -> std::result::Result<(PrincipalData, u64), i128> with Ok((Default::default(), 0)) +pox-locking/src/pox_2.rs:98: replace parse_pox_extend_result -> std::result::Result<(PrincipalData, u64), i128> with Ok((Default::default(), 1)) +pox-locking/src/pox_2.rs:127: replace parse_pox_increase -> std::result::Result<(PrincipalData, u128), i128> with Ok((Default::default(), 0)) +pox-locking/src/pox_2.rs:127: replace parse_pox_increase -> std::result::Result<(PrincipalData, u128), i128> with Ok((Default::default(), 1)) +pox-locking/src/pox_2.rs:164: replace pox_lock_increase_v2 -> Result with Ok(Default::default()) +pox-locking/src/pox_2.rs:280: replace handle_stack_lockup_pox_v2 -> Result, ClarityError> with Ok(Some(Default::default())) +pox-locking/src/pox_2.rs:345: replace handle_stack_lockup_extension_pox_v2 -> Result, ClarityError> with Ok(Some(Default::default())) +pox-locking/src/pox_2.rs:409: replace handle_stack_lockup_increase_pox_v2 -> Result, ClarityError> with Ok(Some(Default::default())) +pox-locking/src/pox_3.rs:123: replace pox_lock_increase_v3 -> Result with Ok(Default::default()) +pox-locking/src/pox_3.rs:169: replace handle_stack_lockup_pox_v3 -> Result, ClarityError> with Ok(Some(Default::default())) +pox-locking/src/pox_3.rs:236: replace handle_stack_lockup_extension_pox_v3 -> Result, ClarityError> with Ok(Some(Default::default())) +pox-locking/src/pox_3.rs:300: replace handle_stack_lockup_increase_pox_v3 -> Result, ClarityError> with Ok(Some(Default::default())) diff --git a/mutation-testing/mutants/clarity/caught.txt b/mutation-testing/packages-output/clarity/caught.txt similarity index 100% rename from mutation-testing/mutants/clarity/caught.txt rename to mutation-testing/packages-output/clarity/caught.txt diff --git a/mutation-testing/mutants/clarity/missed.txt b/mutation-testing/packages-output/clarity/missed.txt similarity index 100% rename from mutation-testing/mutants/clarity/missed.txt rename to mutation-testing/packages-output/clarity/missed.txt diff --git a/mutation-testing/mutants/stx-genesis/timeout.txt b/mutation-testing/packages-output/clarity/timeout.txt similarity index 100% rename from mutation-testing/mutants/stx-genesis/timeout.txt rename to mutation-testing/packages-output/clarity/timeout.txt diff --git a/mutation-testing/mutants/clarity/unviable.txt b/mutation-testing/packages-output/clarity/unviable.txt similarity index 100% rename from mutation-testing/mutants/clarity/unviable.txt rename to mutation-testing/packages-output/clarity/unviable.txt diff --git a/mutation-testing/packages-output/stx-genesis/caught.txt b/mutation-testing/packages-output/stx-genesis/caught.txt new file mode 100644 index 0000000000..26e704cf83 --- /dev/null +++ b/mutation-testing/packages-output/stx-genesis/caught.txt @@ -0,0 +1 @@ +stx-genesis/src/lib.rs:100: replace ::next -> Option with Some(Default::default()) diff --git a/mutation-testing/mutants/stx-genesis/missed.txt b/mutation-testing/packages-output/stx-genesis/missed.txt similarity index 100% rename from mutation-testing/mutants/stx-genesis/missed.txt rename to mutation-testing/packages-output/stx-genesis/missed.txt diff --git a/mutation-testing/packages-output/stx-genesis/timeout.txt b/mutation-testing/packages-output/stx-genesis/timeout.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/mutation-testing/mutants/stx-genesis/unviable.txt b/mutation-testing/packages-output/stx-genesis/unviable.txt similarity index 100% rename from mutation-testing/mutants/stx-genesis/unviable.txt rename to mutation-testing/packages-output/stx-genesis/unviable.txt diff --git a/mutation-testing/scripts/README.md b/mutation-testing/scripts/README.md index 6c3ab068df..99e899b4d6 100644 --- a/mutation-testing/scripts/README.md +++ b/mutation-testing/scripts/README.md @@ -8,3 +8,22 @@ the append-match.sh works sh append-match.sh ``` + +example run: + +```bash +./modular-mutants-run.sh stx-genesis lib.rs test_this init_ next as.rs ab cd ef clarity lib.rs stacks-node +# the command above makes and runs 579 mutants on these regex matches: + +# functions named 'test_this', 'init_' and 'next' (everything that starts with any of the given names) from 'lib.rs' file of 'stx-genesis' package (5 mutants) +stx-genesis/[^/]+/lib.rs.*(?:test_this|init_|next).*-> + +# functions that start with 'ab', 'cd' or 'ef' from files named 'as.rs' of 'stx-genesis' package (0 mutants) +stx-genesis/[^/]+/as.rs.*(?:ab|cd|ef).*-> + +# all functions from 'lib.rs' files of the 'clarity' package (4 mutants) +clarity/[^/]+/lib.rs.*(?:).*-> + +# all functions from all files of 'stacks-node' package (570 mutants) +stacks-node/[^/]+/.*(?:).*-> +``` diff --git a/mutation-testing/scripts/append-match-package.sh b/mutation-testing/scripts/append-match-package.sh new file mode 100644 index 0000000000..e69de29bb2 diff --git a/mutation-testing/scripts/git-diff.sh b/mutation-testing/scripts/git-diff.sh index 62086d41d3..beeef5345f 100644 --- a/mutation-testing/scripts/git-diff.sh +++ b/mutation-testing/scripts/git-diff.sh @@ -1,2 +1,17 @@ # script that makes .git for the differences # it saves the .git on scripts folder + +# it runs cargo mutants for those specific changed functions + +# it creates a new output + + +# then the append-match-package.sh is called +## TODO: update append-match-package.sh with what would be the output from the cargo mutants diff + + +# the append-match-package.sh +## goes through each line in the output and based on the package ( first element before /) +### verifies the line with the other lines in that specific folder +#### in our case folder_name == package_name + diff --git a/mutation-testing/scripts/modular-mutants-run.sh b/mutation-testing/scripts/modular-mutants-run.sh new file mode 100644 index 0000000000..c8bc357e09 --- /dev/null +++ b/mutation-testing/scripts/modular-mutants-run.sh @@ -0,0 +1,41 @@ +#!/bin/bash + +packages=$(cargo tree --workspace --prefix depth | grep "^0" | cut -c2- | awk '{print $1}') +regex_list=() + +while [ $# -gt 0 ]; do + arg=$1 + + if [[ $packages == *$arg* ]]; then + package=$arg + file="" + shift + arg=$1 + fi + if [[ $arg == *.rs ]]; then + file=$arg + shift + arg=$1 + fi + + functions=() + while [ $# -gt 0 ] && [[ $1 != *.rs ]] && [[ $packages != *$1* ]]; do + functions+=("$1") + shift + done + + IFS="|" + functions_str="${functions[*]}" + IFS="" + + regex="${package}/[^/]+/${file}.*?(?:${functions_str})[^-()]*(?:->|\(\))" + regex_list+=("$regex") +done + +command="cargo mutants -vV --no-shuffle" + +for regex in "${regex_list[@]}"; do + command+=" -F \"$regex\"" +done + +eval "$command" \ No newline at end of file diff --git a/stacks-common/Cargo.toml b/stacks-common/Cargo.toml index 863a82d53c..650446ea25 100644 --- a/stacks-common/Cargo.toml +++ b/stacks-common/Cargo.toml @@ -15,7 +15,7 @@ edition = "2021" [lib] name = "stacks_common" -path = "./src/libcommon.rs" +path = "./src/lib.rs" [dependencies] rand = "0.7.3" diff --git a/stacks-common/src/libcommon.rs b/stacks-common/src/lib.rs similarity index 100% rename from stacks-common/src/libcommon.rs rename to stacks-common/src/lib.rs