chosen.js got removed in 6.0 ( Tracker 45018) and the files are removed on upgrade from 5.4.
FormBehavior:chosen still exists and is deprecated, removal planned for 7.0 according to comment in code
I cannot find any notice of the removal in migrations doc
Also the deactivation of compat plugin in 5.4 did not point to this error.
The Example for the replacement in FormBehavior contains non working code: WebAssetManaget doesn't have a enableAsset method.
JHtml::_('formbehavior.chosen',[...]) is still used in com_weblinks and com_search