This link for mariadb-sys doesn't support Maria DB only supports 10.0.x - https://github.com/good-dba/mariadb-sys
Probably need to update it to a more recently updated repo like https://github.com/FromDual/mariadb-sys that supports 10.x versions of Maria DB.
According to https://fromdual.com/mariadb-sys-schema they say https://github.com/FromDual/mariadb-sys supports up to 10.4 at the time of writing the article.