--disable-module-relay gives warnings with ALL_BUGS_ARE_FATAL
Some example warnings:
src/feature/dircache/dircache_stub.c: In function ‘directory_handle_command’:
src/feature/dircache/dircache_stub.c:18:1: error: function might be candidate for attribute ‘noreturn’ [-Werror=suggest-attribute=noreturn]
18 | directory_handle_command(dir_connection_t *conn)
| ^~~~~~~~~~~~~~~~~~~~~~~~
src/feature/dircache/dircache_stub.c: In function ‘connection_dirserv_flushed_some’:
src/feature/dircache/dircache_stub.c:26:1: error: function might be candidate for attribute ‘noreturn’ [-Werror=suggest-attribute=noreturn]
26 | connection_dirserv_flushed_some(dir_connection_t *conn)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC src/lib/ctime/libtor_ctime_a-di_ops.o
cc1: all warnings being treated as errors