Cannot detect HMC5883L on the I2C bus

..you need pullup resistors on the i2c bus..