Updated the build host discovery script function

to do it properly!!
This commit is contained in:
pyro57000
2024-12-09 15:26:24 -06:00
parent 4dedb73eda
commit 5db39b4f03
347 changed files with 3887 additions and 10 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
# pentest_tool
A quick little tool to manage which projects you're on, keep track of time spent on those projects, and manage distrobox containers for each environment.
A quick little tool to manage which projects you're on and manage distrobox containers for each environment.
In order to use this tool you'll want to have distrobox set up and have a "template" box you've created that has all yoru tools installed and what not, you'll likely also want to have a folder full of your other custom tools that you get from git hub, this makes it easier.
+9 -8
View File
@@ -640,19 +640,20 @@ fn build_cmd_for_host_discovery(project: &Project){
}
}
let mut _discovery_command = "";
if need_shell{
_discovery_command = "shell (for /L %a IN (1,1,254) DO ping /n 1 /w 3 !!!.%a) | find \"Reply\"";
}
else{
_discovery_command = "(for /L %a IN (1,1,254) DO ping /n 1 /w 3 !!!.%a) | find \"Reply\"";
}
_discovery_command = "(for /L %a IN (1,1,254) DO ping /n 1 /w 3 !!!.%a) | find \"Reply\"";
let mut final_command = String::new();
for range in ranges{
let mut network: Vec<&str> = range.split(".").collect();
network.pop();
let network_string = network.join(".");
let range_command = _discovery_command.replace("!!!", &network_string);
final_command.push_str(range_command.as_str());
let mut _range_command = String::new();
if need_shell{
_range_command = format!("{}{}","shell", _discovery_command.replace("!!!", &network_string));
}
else{
_range_command = _discovery_command.replace("!!!", &network_string);
}
final_command.push_str(_range_command.as_str());
final_command.push_str(">> ping_only_replies.txt &");
}
final_command.pop();
+1 -1
View File
@@ -1 +1 @@
{"rustc_fingerprint":12601758400278646363,"outputs":{"4614504638168534921":{"success":true,"status":"","code":0,"stdout":"rustc 1.79.0 (129f3b996 2024-06-10)\nbinary: rustc\ncommit-hash: 129f3b9964af4d4a709d1383930ade12dfe7c081\ncommit-date: 2024-06-10\nhost: x86_64-unknown-linux-gnu\nrelease: 1.79.0\nLLVM version: 18.1.7\n","stderr":""},"15729799797837862367":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.so\nlib___.so\nlib___.a\nlib___.so\n/home/pyro/.rustup/toolchains/stable-x86_64-unknown-linux-gnu\noff\npacked\nunpacked\n___\ndebug_assertions\noverflow_checks\npanic=\"unwind\"\nproc_macro\nrelocation_model=\"pic\"\ntarget_abi=\"\"\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"gnu\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_has_atomic\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_has_atomic_equal_alignment=\"16\"\ntarget_has_atomic_equal_alignment=\"32\"\ntarget_has_atomic_equal_alignment=\"64\"\ntarget_has_atomic_equal_alignment=\"8\"\ntarget_has_atomic_equal_alignment=\"ptr\"\ntarget_has_atomic_load_store\ntarget_has_atomic_load_store=\"16\"\ntarget_has_atomic_load_store=\"32\"\ntarget_has_atomic_load_store=\"64\"\ntarget_has_atomic_load_store=\"8\"\ntarget_has_atomic_load_store=\"ptr\"\ntarget_os=\"linux\"\ntarget_pointer_width=\"64\"\ntarget_thread_local\ntarget_vendor=\"unknown\"\nub_checks\nunix\n","stderr":""},"14371922958718593042":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.so\nlib___.so\nlib___.a\nlib___.so\n/home/pyro/.rustup/toolchains/stable-x86_64-unknown-linux-gnu\noff\npacked\nunpacked\n___\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_abi=\"\"\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"gnu\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_os=\"linux\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"unknown\"\nunix\n","stderr":""}},"successes":{}}
{"rustc_fingerprint":12601758400278646363,"outputs":{"15729799797837862367":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.so\nlib___.so\nlib___.a\nlib___.so\n/home/pyro/.rustup/toolchains/stable-x86_64-unknown-linux-gnu\noff\npacked\nunpacked\n___\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_abi=\"\"\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"gnu\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_os=\"linux\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"unknown\"\nunix\n","stderr":""},"4614504638168534921":{"success":true,"status":"","code":0,"stdout":"rustc 1.79.0 (129f3b996 2024-06-10)\nbinary: rustc\ncommit-hash: 129f3b9964af4d4a709d1383930ade12dfe7c081\ncommit-date: 2024-06-10\nhost: x86_64-unknown-linux-gnu\nrelease: 1.79.0\nLLVM version: 18.1.7\n","stderr":""}},"successes":{}}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
4d510d6f1a2d5aba
@@ -0,0 +1 @@
{"rustc":18217185010275080438,"features":"[\"std\"]","declared_features":"","target":14463131919016566876,"profile":18277820415669657429,"path":96659009738692421,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/bitflags-314e12f8045e34d9/dep-lib-bitflags"}}],"rustflags":[],"metadata":14564035643000669268,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
52a487b100a0b8a4
@@ -0,0 +1 @@
{"rustc":18217185010275080438,"features":"[\"default\"]","declared_features":"","target":202096439108023897,"profile":18277820415669657429,"path":4706328860019254468,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/bitflags-c9f49548e3c37de9/dep-lib-bitflags"}}],"rustflags":[],"metadata":14564035643000669268,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
9df30b6725374609
@@ -0,0 +1 @@
{"rustc":18217185010275080438,"features":"[]","declared_features":"","target":11601024444410784892,"profile":18277820415669657429,"path":14751567272659301693,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/cfg-if-22ef46fe85ecc493/dep-lib-cfg_if"}}],"rustflags":[],"metadata":8462187951337715540,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
f773bf9ef86e7192
@@ -0,0 +1 @@
{"rustc":18217185010275080438,"features":"[]","declared_features":"","target":16510214328398099570,"profile":18277820415669657429,"path":15789751593529559319,"deps":[[6165314194305105601,"thiserror",false,16981990107312317370],[6583558668148823975,"which",false,1124360452782420452],[6670304167515094581,"terminfo",false,6574108143382393697],[17995977118843992204,"nix",false,4220669393358591274]],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/clearscreen-e5861cfe4cd01f24/dep-lib-clearscreen"}}],"rustflags":[],"metadata":3954388147124695588,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
a4dbde5acbe60cc0
@@ -0,0 +1 @@
{"rustc":18217185010275080438,"features":"[]","declared_features":"","target":6431201985272143883,"profile":18277820415669657429,"path":15385006301191335814,"deps":[[8374856912967190420,"dirs_sys",false,6713578331292517226]],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/directories-20f938df85efa7c6/dep-lib-directories"}}],"rustflags":[],"metadata":931290570756584624,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
69c6f8183ba30f7e
@@ -0,0 +1 @@
{"rustc":18217185010275080438,"features":"[]","declared_features":"","target":2202548160250307783,"profile":18277820415669657429,"path":1473193461444364558,"deps":[[3220473298903565236,"dirs_sys",false,12920531450529974709]],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/dirs-5885347f87765470/dep-lib-dirs"}}],"rustflags":[],"metadata":2541453624792457215,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
b5091afae5f24eb3
@@ -0,0 +1 @@
{"rustc":18217185010275080438,"features":"[]","declared_features":"","target":18042856654396396435,"profile":18277820415669657429,"path":13648365260208440698,"deps":[[7333356460339158070,"libc",false,13244547405739943297]],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/dirs-sys-9616489ee1a135dd/dep-lib-dirs_sys"}}],"rustflags":[],"metadata":9863373507860298850,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
6a437318ec6b2b5d
@@ -0,0 +1 @@
{"rustc":18217185010275080438,"features":"[]","declared_features":"","target":18042856654396396435,"profile":18277820415669657429,"path":10436324795366032738,"deps":[[2402594958175656394,"option_ext",false,17275614756166597479],[7333356460339158070,"libc",false,13244547405739943297]],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/dirs-sys-e9f5390be44fee0a/dep-lib-dirs_sys"}}],"rustflags":[],"metadata":9863373507860298850,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
d48301574d77a3de
@@ -0,0 +1 @@
{"rustc":18217185010275080438,"features":"[\"default\", \"use_std\"]","declared_features":"","target":10829531579163655734,"profile":18277820415669657429,"path":8815959860091850638,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/either-25b54aed4e2ee81a/dep-lib-either"}}],"rustflags":[],"metadata":15700307601938671422,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
05ef116f5f6cdaf1
@@ -0,0 +1 @@
{"rustc":18217185010275080438,"features":"[\"default\", \"std\"]","declared_features":"","target":10602123296753431656,"profile":18277820415669657429,"path":14263545508798246883,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/fnv-9b2107b1faf780b2/dep-lib-fnv"}}],"rustflags":[],"metadata":17205452474433819084,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
c44fdaed93ae207f
@@ -0,0 +1 @@
{"rustc":18217185010275080438,"features":"[]","declared_features":"","target":3508794390613860859,"profile":18277820415669657429,"path":10224483468049557940,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/fs_extra-4fcfa4580388c319/dep-lib-fs_extra"}}],"rustflags":[],"metadata":6278385800500818621,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
b3381afcdc6c58a0
@@ -0,0 +1 @@
{"rustc":18217185010275080438,"features":"[]","declared_features":"","target":13562696179710165918,"profile":4208790547912779431,"path":18413070881488682925,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/home-992a34f2481a766e/dep-lib-home"}}],"rustflags":[],"metadata":17120348937331362501,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
{"rustc":18217185010275080438,"features":"[\"default\", \"extra_traits\", \"std\"]","declared_features":"","target":6423576478976419116,"profile":385020235239010606,"path":13298847931344927142,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/libc-0312b4d9cbc7f760/dep-build-script-build-script-build"}}],"rustflags":[],"metadata":14998826085014762512,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
{"rustc":18217185010275080438,"features":"","declared_features":"","target":0,"profile":0,"path":0,"deps":[[7333356460339158070,"build_script_build",false,8176552311958086916]],"local":[{"RerunIfChanged":{"output":"release/build/libc-2e204e5d65803464/output","paths":["build.rs"]}}],"rustflags":[],"metadata":0,"config":0,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
8165f361b115ceb7
@@ -0,0 +1 @@
{"rustc":18217185010275080438,"features":"[\"default\", \"extra_traits\", \"std\"]","declared_features":"","target":4880141883626693381,"profile":18277820415669657429,"path":10787240052939127755,"deps":[[7333356460339158070,"build_script_build",false,16687615828207046073]],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/libc-7f7cac615a92fd58/dep-lib-libc"}}],"rustflags":[],"metadata":14998826085014762512,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
{"rustc":18217185010275080438,"features":"[\"elf\", \"errno\", \"general\", \"ioctl\", \"no_std\"]","declared_features":"","target":4821762226960737088,"profile":18277820415669657429,"path":2217488417715743435,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/linux-raw-sys-19213c86dc030d83/dep-lib-linux_raw_sys"}}],"rustflags":[],"metadata":8421959000950547999,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
803a0ec33945ae38
@@ -0,0 +1 @@
{"rustc":18217185010275080438,"features":"[\"alloc\", \"std\"]","declared_features":"","target":11224823532731451965,"profile":18277820415669657429,"path":9572729143106125576,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/memchr-bd375dbc9f96d65d/dep-lib-memchr"}}],"rustflags":[],"metadata":7513296495906230968,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
{"rustc":18217185010275080438,"features":"[\"std\"]","declared_features":"","target":18188918291909960064,"profile":18277820415669657429,"path":12630915068331794051,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/minimal-lexical-7ed25cc19ad76326/dep-lib-minimal_lexical"}}],"rustflags":[],"metadata":2051824130325965549,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
2a95808173d4923a
@@ -0,0 +1 @@
{"rustc":18217185010275080438,"features":"[\"fs\", \"term\"]","declared_features":"","target":2888969515341575249,"profile":18277820415669657429,"path":11370069458140460557,"deps":[[2452538001284770427,"cfg_if",false,668282228493251485],[7333356460339158070,"libc",false,13244547405739943297],[14051957667571541382,"bitflags",false,11869412742773843026]],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/nix-48de27fd19815c14/dep-lib-nix"}}],"rustflags":[],"metadata":7592889295042356366,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
052d09edcedc2838
@@ -0,0 +1 @@
{"rustc":18217185010275080438,"features":"[\"alloc\", \"std\"]","declared_features":"","target":15366292972967833352,"profile":18277820415669657429,"path":12406270606266538046,"deps":[[889836035008422344,"memchr",false,4084278026459560576],[10953957149292187054,"minimal_lexical",false,9029089582664396436]],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/nom-2aefd8305c91c838/dep-lib-nom"}}],"rustflags":[],"metadata":9858338621379386705,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
677bce311750bfef
@@ -0,0 +1 @@
{"rustc":18217185010275080438,"features":"[]","declared_features":"","target":2579419865376758268,"profile":18277820415669657429,"path":15231970324229623978,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/option-ext-297b8b5d709daa11/dep-lib-option_ext"}}],"rustflags":[],"metadata":13021374016669566089,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
{"rustc":18217185010275080438,"features":"[]","declared_features":"","target":17787046329850010275,"profile":18277820415669657429,"path":1684066648322511884,"deps":[[7608783394445712223,"fs_extra",false,9160513592445521860],[10212947688942307828,"directories",false,13838689516079995812],[16328207002492827064,"clearscreen",false,10552337416000074743]],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/pentest_tool-66782d80c3eef3b0/dep-bin-pentest_tool"}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1,3 @@
{"$message_type":"diagnostic","message":"variable does not need to be mutable","code":{"code":"unused_mut","explanation":null},"level":"warning","spans":[{"file_name":"src/main.rs","byte_start":10345,"byte_end":10362,"line_start":236,"line_end":236,"column_start":9,"column_end":26,"is_primary":true,"text":[{"text":" let mut customer_name = String::new();","highlight_start":9,"highlight_end":26}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_mut)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"remove this `mut`","code":null,"level":"help","spans":[{"file_name":"src/main.rs","byte_start":10345,"byte_end":10349,"line_start":236,"line_end":236,"column_start":9,"column_end":13,"is_primary":true,"text":[{"text":" let mut customer_name = String::new();","highlight_start":9,"highlight_end":13}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: variable does not need to be mutable\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0msrc/main.rs:236:9\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m236\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m let mut customer_name = String::new();\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m----\u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^^^^^\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12mhelp: remove this `mut`\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mnote\u001b[0m\u001b[0m: `#[warn(unused_mut)]` on by default\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"variable does not need to be mutable","code":{"code":"unused_mut","explanation":null},"level":"warning","spans":[{"file_name":"src/main.rs","byte_start":10388,"byte_end":10404,"line_start":237,"line_end":237,"column_start":9,"column_end":25,"is_primary":true,"text":[{"text":" let mut project_name = String::new();","highlight_start":9,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"remove this `mut`","code":null,"level":"help","spans":[{"file_name":"src/main.rs","byte_start":10388,"byte_end":10392,"line_start":237,"line_end":237,"column_start":9,"column_end":13,"is_primary":true,"text":[{"text":" let mut project_name = String::new();","highlight_start":9,"highlight_end":13}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: variable does not need to be mutable\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0msrc/main.rs:237:9\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m237\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m let mut project_name = String::new();\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m----\u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^^^^\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12mhelp: remove this `mut`\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"2 warnings emitted","code":null,"level":"warning","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: 2 warnings emitted\u001b[0m\n\n"}

Some files were not shown because too many files have changed in this diff Show More