A homeless man arrested Tuesday on accusations of burglarizing Moonstruck Chocolate Company and stealing a box of candy was looking for somewhere to sleep, according to court records.

Matthew Brush, 41, told police he was looking for a place to warm up and entered the building through an unlocked door, according to a probable cause affidavit filed Wednesday in Multnomah County Circuit Court. He's facing a second-degree burglary charge, the records show, and failed to appear at his Wednesday arraignment.

He was booked into the Multnomah County Jail on Tuesday morning and released on his own recognizance later that day, according to jail records.

Officers responded to a burglary alarm at Moonstruck Chocolate Company's North Portland location around 3:45 a.m. and spotted someone walking on the building's second floor, Portland police said in a news release.

The company's chocolate factory, which contains a store, is located at 6600 N. Baltimore Ave.

Officers took Brush into custody without incident after he walked out of the building, police said. They found a box of chocolates stolen from Moonstruck when they searched his things, according to police.

A Moonstruck employee told police the box of chocolates is worth $40 and that it didn't look like anything else was missing from the building, according to the affidavit. He told police that workers may have left the door unlocked.

A bench warrant for Brush in an unrelated first-degree criminal trespass case was also filed Tuesday in Multnomah County Circuit Court, records show. He was scheduled to have a hearing in that case Tuesday.

Brush pleaded not guilty to the misdemeanor criminal trespass charge in December, according to court records.

-- Jim Ryan

jryan@oregonian.com

503-221-8005; @Jimryan015