"Render Custom Pass" went wrong

I was using custom depth for outline effect. But when I checked the “Render Custom Pass” for a static mesh (the cube in my image). I got a very wired output. Just like that. So I was wondering what is actually happening. Thanks