When the Wild Wormhole is played in a turn after a Library Access has been played, the following things happen in this order:
1. You gain an Æmber from the Wild Wormhole’s Æmber bonus.
2. You draw a card (from the Library Access’s effect).
3. You resolve the Wild Wormhole’s effect and play the top card of your deck.
4. You gain any Æmber bonus from the played card.
5. You draw a card (from the Library Access’s effect)
6. You resolve any play effects on the played card.
Now if the played card from the Wild Wormhole is an upgrade and there are no creatures in play it can legally attach to, the card is instead returned to the top of the deck and no Æmber bonus is gained from the card (it couldn’t be legally played so it isn’t).
Hope that helps!
(EMail: Brad Andres)