After I have opened a repository with SQLite to run ANALYZE on it, which was probably stupid, I cannot run fossil rebuild anymore. It attempts to drop table sqlite_stat1 and fails.