If they are not working, the fuel vapor collected will eventually be vented to atmosphere. The local squirrels liked my cap so much, they ate it. I used a cap from a WD-40 container to cover the opening, with a screw from the side to hold it in place. So far, they haven't come back for a second course.
Inside the box is a chunk of charcoal. It will absorb some amount of fuel vapor, and when the valve opens, vent the vapor to the intake manifold. There is a valve somewhere connected to the canister and to the intake manifold, that the computer opens and closes. The two openings are vents of some sort. I do not claim to know exactly what they vent...
tom