The Doctor didn't complete successfully. Unknown module type: 3

The current verison of the Particle CLI does not support the Spark Core. To install and older version see installing a specific version of the Particle CLI.

However that also won't help particle doctor as it has never worked on the Spark Core. These instructions may help recover the device.