Retired folder generated under root

I am using appium 1.18.0
I run on iOS simulator on the laptop with no admin right access, I hit this permission denied error
any idea what cause this Retired folder to be generated and it’s since it’s under root
I will not able to remove it
Is there any setting I can use to prevent this Diagnostic log to be generated?
I saw an issue reported here https://github.com/appium/appium/issues/14553
but I could not understand what is the resolution here.

the error as follow:

Debug] [GENERIC] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.18.0”}}
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.889 s <<< FAILURE! - in demo.CucumberTestSuite
[ERROR] goal setting.add new goal Time elapsed: 3.118 s <<< ERROR!
net.thucydides.core.webdriver.DriverConfigurationError: Could not instantiate class io.appium.java_client.AppiumDriver
Caused by: net.thucydides.core.webdriver.DriverConfigurationError:
Could not instantiate new WebDriver instance of type class io.appium.java_client.AppiumDriver (Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: EACCES: permission denied, scandir ‘/Users/laymui/Library/Logs/DiagnosticReports/Retired’
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:17:03’
System info: host: ‘ST-MACC02YT933LVCF’, ip: ‘2406:3003:206f:3aeb:96d:7f0f:e32:9147%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.15.6’, java.version: ‘11.0.8’
Driver info: driver.version: RemoteDriver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: EACCES: permission denied, scandir ‘/Users/laymui/Library/Logs/DiagnosticReports/Retired’
at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9)
at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:381:37)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:17:03’
System info: host: ‘ST-MACC02YT933LVCF’, ip: ‘2406:3003:206f:3aeb:96d:7f0f:e32:9147%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.15.6’, java.version: ‘11.0.8’

The resolution is to update the server to the recent version