Yes. In the past, in the US, library checkout records were private / not recorded, specifically to protect the right to privacy, which is specifically protected by the UN human rights charter.

The systems you described not only record that information and make it available for warrants, they also sell it, and allow warrantless searches of it in some circumstances.