Why is wrong with my render script?

I am trying to render depth values to screen but when running the project, the depth values are only visible for a split second before disappearing. What am I missing in my render script?

Here’s the project:

Shadows Depth.zip (2.2 MB)