
from __future__ import annotations

import math
import random
from typing import Any







class  UpperCamelCase__		:







	'''simple docstring'''





	def __init__(			self		):
					A__  :	list[Any]         =							[]
					A__  :	int         =							0
					A__  :	int         =							0





	def   __snake_case				(			self		):
					return self.head == self.tail





	def   __snake_case				(			self				,       UpperCamelCase__		):
					self.data.append(UpperCamelCase__		)
					A__  :	List[Any]         =							self.tail + 1





	def   __snake_case				(			self		):
					A__  :	Tuple         =							self.data[self.head]
					A__  :	List[str]         =							self.head + 1
					return ret





	def   __snake_case				(			self		):
					return self.tail - self.head





	def   __snake_case				(			self		):
					print(self.data		)
					print('''**************'''		)
					print(self.data[self.head : self.tail]		)







class  UpperCamelCase__		:







	'''simple docstring'''





	def __init__(			self				,       UpperCamelCase__		):
					A__  :	Union[str, Any]         =							data
					A__  :	MyNode | None         =							None
					A__  :	MyNode | None         =							None
					A__  :	int         =							1





	def   __snake_case				(			self		):
					return self.data





	def   __snake_case				(			self		):
					return self.left





	def   __snake_case				(			self		):
					return self.right





	def   __snake_case				(			self		):
					return self.height





	def   __snake_case				(			self				,       UpperCamelCase__		):
					A__  :	int         =							data





	def   __snake_case				(			self				,       UpperCamelCase__		):
					A__  :	Any         =							node





	def   __snake_case				(			self				,       UpperCamelCase__		):
					A__  :	Union[str, Any]         =							node





	def   __snake_case				(			self				,       UpperCamelCase__		):
					A__  :	Tuple         =							height




def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						MyNode | None       ) ->       int:

				"""simple docstring"""







				if node is None:
								return 0
				return node.get_height()

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						int							,						__UpperCamelCase :						int       ) ->       int:

				"""simple docstring"""







				if a > b:
								return a
				return b

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						MyNode       ) ->       MyNode:

				"""simple docstring"""







				print('''left rotation node:'''							,						node.get_data()       )
				A__  :	Optional[int]         =							node.get_left()
				assert ret is not None
				node.set_left(ret.get_right()       )
				ret.set_right(__UpperCamelCase       )
				A__  :	int         =							my_max(get_height(node.get_right()       )							,						get_height(node.get_left()       )       ) + 1
				node.set_height(__UpperCamelCase       )
				A__  :	Optional[Any]         =							my_max(get_height(ret.get_right()       )							,						get_height(ret.get_left()       )       ) + 1
				ret.set_height(__UpperCamelCase       )
				return ret

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						MyNode       ) ->       MyNode:

				"""simple docstring"""







				print('''right rotation node:'''							,						node.get_data()       )
				A__  :	Union[str, Any]         =							node.get_right()
				assert ret is not None
				node.set_right(ret.get_left()       )
				ret.set_left(__UpperCamelCase       )
				A__  :	Optional[int]         =							my_max(get_height(node.get_right()       )							,						get_height(node.get_left()       )       ) + 1
				node.set_height(__UpperCamelCase       )
				A__  :	List[str]         =							my_max(get_height(ret.get_right()       )							,						get_height(ret.get_left()       )       ) + 1
				ret.set_height(__UpperCamelCase       )
				return ret

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						MyNode       ) ->       MyNode:

				"""simple docstring"""







				A__  :	Dict         =							node.get_left()
				assert left_child is not None
				node.set_left(left_rotation(__UpperCamelCase       )       )
				return right_rotation(__UpperCamelCase       )

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						MyNode       ) ->       MyNode:

				"""simple docstring"""







				A__  :	List[str]         =							node.get_right()
				assert right_child is not None
				node.set_right(right_rotation(__UpperCamelCase       )       )
				return left_rotation(__UpperCamelCase       )

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						MyNode | None							,						__UpperCamelCase :						Any       ) ->       MyNode | None:

				"""simple docstring"""







				if node is None:
								return MyNode(__UpperCamelCase       )
				if data < node.get_data():
								node.set_left(insert_node(node.get_left()							,						__UpperCamelCase       )       )
								if (
								    get_height(node.get_left()       ) - get_height(node.get_right()       ) == 2
								):  # an unbalance detected
												A__  :	List[Any]         =							node.get_left()
												assert left_child is not None
												if (
												    data < left_child.get_data()
												):  # new node is the left child of the left child
																A__  :	int         =							right_rotation(__UpperCamelCase       )
												else:
																A__  :	Dict         =							lr_rotation(__UpperCamelCase       )
				else:
								node.set_right(insert_node(node.get_right()							,						__UpperCamelCase       )       )
								if get_height(node.get_right()       ) - get_height(node.get_left()       ) == 2:
												A__  :	List[Any]         =							node.get_right()
												assert right_child is not None
												if data < right_child.get_data():
																A__  :	List[Any]         =							rl_rotation(__UpperCamelCase       )
												else:
																A__  :	Optional[Any]         =							left_rotation(__UpperCamelCase       )
				A__  :	Optional[Any]         =							my_max(get_height(node.get_right()       )							,						get_height(node.get_left()       )       ) + 1
				node.set_height(__UpperCamelCase       )
				return node

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						MyNode       ) ->       Any:

				"""simple docstring"""







				while True:
								A__  :	Optional[Any]         =							root.get_right()
								if right_child is None:
												break
								A__  :	Union[str, Any]         =							right_child
				return root.get_data()

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						MyNode       ) ->       Any:

				"""simple docstring"""







				while True:
								A__  :	str         =							root.get_left()
								if left_child is None:
												break
								A__  :	List[str]         =							left_child
				return root.get_data()

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						MyNode							,						__UpperCamelCase :						Any       ) ->       MyNode | None:

				"""simple docstring"""







				A__  :	str         =							root.get_left()
				A__  :	Optional[Any]         =							root.get_right()
				if root.get_data() == data:
								if left_child is not None and right_child is not None:
												A__  :	str         =							get_left_most(__UpperCamelCase       )
												root.set_data(__UpperCamelCase       )
												root.set_right(del_node(__UpperCamelCase							,						__UpperCamelCase       )       )
								elif left_child is not None:
												A__  :	str         =							left_child
								elif right_child is not None:
												A__  :	Any         =							right_child
								else:
												return None
				elif root.get_data() > data:
								if left_child is None:
												print('''No such data'''       )
												return root
								else:
												root.set_left(del_node(__UpperCamelCase							,						__UpperCamelCase       )       )
				else:  # root.get_data() < data
								if right_child is None:
												return root
								else:
												root.set_right(del_node(__UpperCamelCase							,						__UpperCamelCase       )       )

				if get_height(__UpperCamelCase       ) - get_height(__UpperCamelCase       ) == 2:
								assert right_child is not None
								if get_height(right_child.get_right()       ) > get_height(right_child.get_left()       ):
												A__  :	int         =							left_rotation(__UpperCamelCase       )
								else:
												A__  :	Any         =							rl_rotation(__UpperCamelCase       )
				elif get_height(__UpperCamelCase       ) - get_height(__UpperCamelCase       ) == -2:
								assert left_child is not None
								if get_height(left_child.get_left()       ) > get_height(left_child.get_right()       ):
												A__  :	Dict         =							right_rotation(__UpperCamelCase       )
								else:
												A__  :	Optional[Any]         =							lr_rotation(__UpperCamelCase       )
				A__  :	int         =							my_max(get_height(root.get_right()       )							,						get_height(root.get_left()       )       ) + 1
				root.set_height(__UpperCamelCase       )
				return root







class  UpperCamelCase__		:







	'''simple docstring'''





	def __init__(			self		):
					A__  :	MyNode | None         =							None





	def   __snake_case				(			self		):
					return get_height(self.root		)





	def   __snake_case				(			self				,       UpperCamelCase__		):
					print('''insert:''' + str(UpperCamelCase__		)		)
					A__  :	Tuple         =							insert_node(self.root				,       UpperCamelCase__		)





	def   __snake_case				(			self				,       UpperCamelCase__		):
					print('''delete:''' + str(UpperCamelCase__		)		)
					if self.root is None:
									print('''Tree is empty!'''		)
									return
					A__  :	Union[str, Any]         =							del_node(self.root				,       UpperCamelCase__		)





	def __str__(			self				,       ):  # a level traversale, gives a more intuitive look on the tree
					A__  :	Union[str, Any]         =							''''''
					A__  :	Union[str, Any]         =							MyQueue()
					q.push(self.root		)
					A__  :	int         =							self.get_height()
					if layer == 0:
									return output
					A__  :	List[Any]         =							0
					while not q.is_empty():
									A__  :	Optional[int]         =							q.pop()
									A__  :	int         =							''' ''' * int(math.pow(2				,       layer - 1		)		)
									output += space
									if node is None:
													output += "*"
													q.push(UpperCamelCase__		)
													q.push(UpperCamelCase__		)
									else:
													output += str(node.get_data()		)
													q.push(node.get_left()		)
													q.push(node.get_right()		)
									output += space
									A__  :	Dict         =							cnt + 1
									for i in range(100		):
													if cnt == math.pow(2				,       UpperCamelCase__		) - 1:
																	A__  :	Tuple         =							layer - 1
																	if layer == 0:
																					output += "\n*************************************"
																					return output
																	output += "\n"
																	break
					output += "\n*************************************"
					return output




def 				SCREAMING_SNAKE_CASE     (      ) ->       None:

				"""simple docstring"""







				import doctest

				doctest.testmod()


if __name__ == "__main__":
				_test()
				_SCREAMING_SNAKE_CASE    :      List[str]          =			AVLtree()
				_SCREAMING_SNAKE_CASE    :      Optional[Any]          =			list(range(1_0))
				random.shuffle(lst)
				for i in lst:
								t.insert(i)
								print(str(t))
				random.shuffle(lst)
				for i in lst:
								t.del_node(i)
								print(str(t))

import asyncio
import os
import shutil
import subprocess
import sys
import tempfile
import unittest
from distutils.util import strtobool
from functools import partial
from pathlib import Path
from typing import List, Union
from unittest import mock

import torch

from ..state import AcceleratorState, PartialState
from ..utils import (
    gather,
    is_bnb_available,
    is_comet_ml_available,
    is_datasets_available,
    is_deepspeed_available,
    is_mps_available,
    is_safetensors_available,
    is_tensorboard_available,
    is_torch_version,
    is_tpu_available,
    is_transformers_available,
    is_wandb_available,
    is_xpu_available,
)

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						Optional[Any]							,						__UpperCamelCase :						int=False       ) ->       Tuple:

				"""simple docstring"""







				try:
								A__  :	Dict         =							os.environ[key]
				except KeyError:
								# KEY isn't set, default to `default`.
								A__  :	Tuple         =							default
				else:
								# KEY is set, convert it to True or False.
								try:
												A__  :	Union[str, Any]         =							strtobool(__UpperCamelCase       )
								except ValueError:
												# More values are supported, but let's keep the message simple.
												raise ValueError(F"If set, {key} must be yes or no."       )
				return _value


_SCREAMING_SNAKE_CASE    :      Union[str, Any]          =			parse_flag_from_env('RUN_SLOW', default=False)

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						Optional[Any]       ) ->       Any:

				"""simple docstring"""







				return unittest.skip('''Test was skipped'''       )(__UpperCamelCase       )

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						Tuple       ) ->       Union[str, Any]:

				"""simple docstring"""







				return unittest.skipUnless(_run_slow_tests							,						'''test is slow'''       )(__UpperCamelCase       )

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						str       ) ->       int:

				"""simple docstring"""







				return unittest.skipUnless(not torch.cuda.is_available()							,						'''test requires only a CPU'''       )(__UpperCamelCase       )

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						Optional[Any]       ) ->       Tuple:

				"""simple docstring"""







				return unittest.skipUnless(torch.cuda.is_available()							,						'''test requires a GPU'''       )(__UpperCamelCase       )

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						Dict       ) ->       List[str]:

				"""simple docstring"""







				return unittest.skipUnless(is_xpu_available()							,						'''test requires a XPU'''       )(__UpperCamelCase       )

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						Dict       ) ->       Any:

				"""simple docstring"""







				return unittest.skipUnless(is_mps_available()							,						'''test requires a `mps` backend support in `torch`'''       )(__UpperCamelCase       )

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						int       ) ->       Optional[Any]:

				"""simple docstring"""







				return unittest.skipUnless(
				    is_transformers_available() and is_datasets_available()							,						'''test requires the Hugging Face suite'''       )(__UpperCamelCase       )

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						Tuple       ) ->       Tuple:

				"""simple docstring"""







				return unittest.skipUnless(is_bnb_available()							,						'''test requires the bitsandbytes library'''       )(__UpperCamelCase       )

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						List[Any]       ) ->       List[Any]:

				"""simple docstring"""







				return unittest.skipUnless(is_tpu_available()							,						'''test requires TPU'''       )(__UpperCamelCase       )

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						int       ) ->       Tuple:

				"""simple docstring"""







				return unittest.skipUnless(torch.cuda.device_count() == 1							,						'''test requires a GPU'''       )(__UpperCamelCase       )

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						int       ) ->       Dict:

				"""simple docstring"""







				return unittest.skipUnless(torch.xpu.device_count() == 1							,						'''test requires a XPU'''       )(__UpperCamelCase       )

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						Any       ) ->       str:

				"""simple docstring"""







				return unittest.skipUnless(torch.cuda.device_count() > 1							,						'''test requires multiple GPUs'''       )(__UpperCamelCase       )

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						int       ) ->       Any:

				"""simple docstring"""







				return unittest.skipUnless(torch.xpu.device_count() > 1							,						'''test requires multiple XPUs'''       )(__UpperCamelCase       )

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						List[Any]       ) ->       int:

				"""simple docstring"""







				return unittest.skipUnless(is_safetensors_available()							,						'''test requires safetensors'''       )(__UpperCamelCase       )

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						List[Any]       ) ->       Optional[Any]:

				"""simple docstring"""







				return unittest.skipUnless(is_deepspeed_available()							,						'''test requires DeepSpeed'''       )(__UpperCamelCase       )

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						Any       ) ->       List[Any]:

				"""simple docstring"""







				return unittest.skipUnless(is_torch_version('''>='''							,						'''1.12.0'''       )							,						'''test requires torch version >= 1.12.0'''       )(__UpperCamelCase       )

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						Optional[int]=None							,						__UpperCamelCase :						List[Any]=None       ) ->       Optional[Any]:

				"""simple docstring"""







				if test_case is None:
								return partial(__UpperCamelCase							,						version=__UpperCamelCase       )
				return unittest.skipUnless(is_torch_version('''>='''							,						__UpperCamelCase       )							,						F"test requires torch version >= {version}"       )(__UpperCamelCase       )

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						Optional[Any]       ) ->       Optional[int]:

				"""simple docstring"""







				return unittest.skipUnless(is_tensorboard_available()							,						'''test requires Tensorboard'''       )(__UpperCamelCase       )

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						Any       ) ->       Tuple:

				"""simple docstring"""







				return unittest.skipUnless(is_wandb_available()							,						'''test requires wandb'''       )(__UpperCamelCase       )

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						Tuple       ) ->       Any:

				"""simple docstring"""







				return unittest.skipUnless(is_comet_ml_available()							,						'''test requires comet_ml'''       )(__UpperCamelCase       )


_SCREAMING_SNAKE_CASE    :      Union[str, Any]          =			(
    any([is_wandb_available(), is_tensorboard_available()]) and not is_comet_ml_available()
)

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						Optional[int]       ) ->       Optional[Any]:

				"""simple docstring"""







				return unittest.skipUnless(
				    _atleast_one_tracker_available							,						'''test requires at least one tracker to be available and for `comet_ml` to not be installed'''							,						)(__UpperCamelCase       )







class  UpperCamelCase__		(    unittest.TestCase   ):







	'''simple docstring'''
	_lowerCAmelCase							       =				True





	@classmethod
	def   __snake_case				(			cls		):
					A__  :	Tuple         =							tempfile.mkdtemp()





	@classmethod
	def   __snake_case				(			cls		):
					if os.path.exists(cls.tmpdir		):
									shutil.rmtree(cls.tmpdir		)





	def   __snake_case				(			self		):
					if self.clear_on_setup:
									for path in Path(self.tmpdir		).glob('''**/*'''		):
													if path.is_file():
																	path.unlink()
													elif path.is_dir():
																	shutil.rmtree(UpperCamelCase__		)







class  UpperCamelCase__		(    unittest.TestCase   ):







	'''simple docstring'''





	def   __snake_case				(			self		):
					super().tearDown()
					# Reset the state of the AcceleratorState singleton.
					AcceleratorState._reset_state()
					PartialState._reset_state()







class  UpperCamelCase__		(    unittest.TestCase   ):







	'''simple docstring'''





	def   __snake_case				(			self				,       UpperCamelCase__		):
					A__  :	Tuple         =							mocks if isinstance(UpperCamelCase__				,       (tuple, list)		) else [mocks]
					for m in self.mocks:
									m.start()
									self.addCleanup(m.stop		)




def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						str       ) ->       Any:

				"""simple docstring"""







				A__  :	int         =							AcceleratorState()
				A__  :	Any         =							tensor[None].clone().to(state.device       )
				A__  :	Optional[int]         =							gather(__UpperCamelCase       ).cpu()
				A__  :	Any         =							tensor[0].cpu()
				for i in range(tensors.shape[0]       ):
								if not torch.equal(tensors[i]							,						__UpperCamelCase       ):
												return False
				return True







class  UpperCamelCase__		:







	'''simple docstring'''





	def __init__(			self				,       UpperCamelCase__				,       UpperCamelCase__				,       UpperCamelCase__		):
					A__  :	List[Any]         =							returncode
					A__  :	Union[str, Any]         =							stdout
					A__  :	Dict         =							stderr




async def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						str							,						__UpperCamelCase :						Optional[Any]       ) ->       Any:

				"""simple docstring"""







				while True:
								A__  :	Tuple         =							await stream.readline()
								if line:
												callback(__UpperCamelCase       )
								else:
												break

async def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						Optional[Any]							,						__UpperCamelCase :						Optional[Any]=None							,						__UpperCamelCase :						List[Any]=None							,						__UpperCamelCase :						Tuple=None							,						__UpperCamelCase :						Tuple=False							,						__UpperCamelCase :						List[Any]=False       ) ->       _RunOutput:

				"""simple docstring"""







				if echo:
								print('''\nRunning: '''							,						''' '''.join(__UpperCamelCase       )       )

				A__  :	int         =							await asyncio.create_subprocess_exec(
				    cmd[0]							,						*cmd[1:]							,						stdin=__UpperCamelCase							,						stdout=asyncio.subprocess.PIPE							,						stderr=asyncio.subprocess.PIPE							,						env=__UpperCamelCase							,						)

				# note: there is a warning for a possible deadlock when using `wait` with huge amounts of data in the pipe
				# https://docs.python.org/3/library/asyncio-subprocess.html#asyncio.asyncio.subprocess.Process.wait
				#
				# If it starts hanging, will need to switch to the following code. The problem is that no data
				# will be seen until it's done and if it hangs for example there will be no debug info.
				# out, err = await p.communicate()
				# return _RunOutput(p.returncode, out, err)

				A__  :	List[Any]         =							[]
				A__  :	str         =							[]

				def tee(__UpperCamelCase :						Optional[Any]							,						__UpperCamelCase :						Union[str, Any]							,						__UpperCamelCase :						Dict							,						__UpperCamelCase :						List[Any]=""       ):
								A__  :	Optional[Any]         =							line.decode('''utf-8'''       ).rstrip()
								sink.append(__UpperCamelCase       )
								if not quiet:
												print(__UpperCamelCase							,						__UpperCamelCase							,						file=__UpperCamelCase       )

    # XXX: the timeout doesn't seem to make any difference here
				await asyncio.wait(
				    [
				        asyncio.create_task(_read_stream(p.stdout							,						lambda __UpperCamelCase       : tee(__UpperCamelCase							,						__UpperCamelCase							,						sys.stdout							,						label='''stdout:'''       )       )       ),
				        asyncio.create_task(_read_stream(p.stderr							,						lambda __UpperCamelCase       : tee(__UpperCamelCase							,						__UpperCamelCase							,						sys.stderr							,						label='''stderr:'''       )       )       ),
				    ]							,						timeout=__UpperCamelCase							,						)
				return _RunOutput(await p.wait()							,						__UpperCamelCase							,						__UpperCamelCase       )

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						List[Any]							,						__UpperCamelCase :						Any=None							,						__UpperCamelCase :						List[Any]=None							,						__UpperCamelCase :						List[str]=1_80							,						__UpperCamelCase :						List[str]=False							,						__UpperCamelCase :						Dict=True       ) ->       _RunOutput:

				"""simple docstring"""







				A__  :	Dict         =							asyncio.get_event_loop()
				A__  :	Optional[Any]         =							loop.run_until_complete(
				    _stream_subprocess(__UpperCamelCase							,						env=__UpperCamelCase							,						stdin=__UpperCamelCase							,						timeout=__UpperCamelCase							,						quiet=__UpperCamelCase							,						echo=__UpperCamelCase       )       )

				A__  :	Union[str, Any]         =							''' '''.join(__UpperCamelCase       )
				if result.returncode > 0:
								A__  :	Optional[Any]         =							'''\n'''.join(result.stderr       )
								raise RuntimeError(
								    F"'{cmd_str}' failed with returncode {result.returncode}\n\n"
								    F"The combined stderr from workers follows:\n{stderr}"       )

				return result







class  UpperCamelCase__		(    SCREAMING_SNAKE_CASE_   ):







	'''simple docstring'''
	pass




def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						List[str]							,						__UpperCamelCase :						List[Any]=False       ) ->       Dict:

				"""simple docstring"""







				try:
								A__  :	List[Any]         =							subprocess.check_output(__UpperCamelCase							,						stderr=subprocess.STDOUT       )
								if return_stdout:
												if hasattr(__UpperCamelCase							,						'''decode'''       ):
																A__  :	Any         =							output.decode('''utf-8'''       )
												return output
				except subprocess.CalledProcessError as e:
								raise SubprocessCallException(
								    F"Command `{' '.join(__UpperCamelCase       )}` failed with the following error:\n\n{e.output.decode()}"       ) from e