require "upgrade_ptr_to_ref" run_ptr_upgrades() refactor:save_crate() print("Finished test_ownership_upgrade_ptrs.lua")