When you see a error messages like t/1 is not compatible with type t/2 this means that there are multiple definitions of the type t visible in the current scope. In your case, there is two visible definitions of the type constructor list: the list literal [1] has for type the predefined list type 'a list/9 whereas your record definition refers to an user (or library) defined list constructor list/1032 . Without more context, it is hard to say from where this second list type constructor comes from.
(This kind of error can happen quite often within the toplevel when refining the same type in multiple phrases)