" metodo non definito `deprecated?' per nil:NilClass" alla ricompilazione

What version of postgres are you running? We (mostly?) haven’t seen that problem with PG 13.