logcat shows the error java.lang.NoSuchMethodError: No virtual method setTorchMode. The method was added in API level 23, which I don't have.
There are more compatible ways of enabling torch mode. I currently use the Torch app, which uses the deprecated Camera.Parameters API, which maybe Termux:API could use as a fallback.