#3092 fix error when starting the server immediately after download.

#3121 during auto-import, don’t insert use statements before inner attributes.