Add the std namespace to all occurrences of any stream class. Probably some using directive in the header files of ROOT6 is not present any longer.