I think you shouldnt lose mats if you have 0 durability/ 100% progress when you finish with said item.. Basically you dont get the final item but you dont lose the mats either or maybe you keep 50% of each material used. Now if it's 0 durability/99% progress then yes, mats should be lost.