She told him he must build a castle on the other side of the lake , made of nothing but gold , silver , and precious stones , and unless he could accomplish this within an hour , the most frightful doom awaited him .