off-heap-collections-of-gced.cpp:9:1: warning: [blink-gc] Class 'WithCollections' contains invalid fields. class WithCollections : public GarbageCollected { ^ off-heap-collections-of-gced.cpp:47:3: note: [blink-gc] Raw pointer field 'set_ptr_' to a GC managed class declared here: std::unordered_set set_ptr_; ^ off-heap-collections-of-gced.cpp:48:3: note: [blink-gc] Reference pointer field 'vector_ref_' to a GC managed class declared here: std::vector vector_ref_; ^ off-heap-collections-of-gced.cpp:58:3: note: [blink-gc] Raw pointer field 'wtf_linked_hash_set_' to a GC managed class declared here: LinkedHashSet wtf_linked_hash_set_; ^ off-heap-collections-of-gced.cpp:59:3: note: [blink-gc] Reference pointer field 'wtf_hash_counted_set_' to a GC managed class declared here: HashCountedSet wtf_hash_counted_set_; ^ off-heap-collections-of-gced.cpp:43:3: warning: [blink-gc] Disallowed collection 'set' found; 'Base' is a garbage-collected type. Use heap collections to hold garbage-collected objects. std::set set_; ^~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:44:3: warning: [blink-gc] Disallowed collection 'vector' found; 'Derived' is a garbage-collected type. Use heap collections to hold garbage-collected objects. std::vector vector_; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:45:3: warning: [blink-gc] Disallowed collection 'map' found; 'Mixin' is a garbage-collected type. Use heap collections to hold garbage-collected objects. std::map map_key_; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:46:3: warning: [blink-gc] Disallowed collection 'unordered_map' found; 'Base' is a garbage-collected type. Use heap collections to hold garbage-collected objects. std::unordered_map map_value_; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:47:3: warning: [blink-gc] Disallowed collection 'unordered_set' found; 'Base' is a garbage-collected type. Use heap collections to hold garbage-collected objects. std::unordered_set set_ptr_; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:48:3: warning: [blink-gc] Disallowed collection 'vector' found; 'Derived' is a garbage-collected type. Use heap collections to hold garbage-collected objects. std::vector vector_ref_; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:49:3: warning: [blink-gc] Disallowed collection 'map' found; 'Mixin' is a garbage-collected type. Use heap collections to hold garbage-collected objects. std::map map_const_; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:50:3: warning: [blink-gc] Disallowed collection 'vector>' found; 'Base' is a garbage-collected type. Use heap collections to hold garbage-collected objects. std::vector> vector_pair_; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:51:3: warning: [blink-gc] Disallowed collection 'array' found; 'Base' is a garbage-collected type. Use heap collections to hold garbage-collected objects. std::array array_; ^~~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:55:3: warning: [blink-gc] Disallowed collection 'HashSet' found; 'Base' is a garbage-collected type. Use heap collections to hold garbage-collected objects. HashSet wtf_hash_set_; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:56:3: warning: [blink-gc] Disallowed collection 'Deque' found; 'Derived' is a garbage-collected type. Use heap collections to hold garbage-collected objects. Deque wtf_deque_; ^~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:57:3: warning: [blink-gc] Disallowed collection 'Vector' found; 'Mixin' is a garbage-collected type. Use heap collections to hold garbage-collected objects. Vector wtf_vector_; ^~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:58:3: warning: [blink-gc] Disallowed collection 'LinkedHashSet' found; 'Base' is a garbage-collected type. Use heap collections to hold garbage-collected objects. LinkedHashSet wtf_linked_hash_set_; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:59:3: warning: [blink-gc] Disallowed collection 'HashCountedSet' found; 'Derived' is a garbage-collected type. Use heap collections to hold garbage-collected objects. HashCountedSet wtf_hash_counted_set_; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:60:3: warning: [blink-gc] Disallowed collection 'HashMap' found; 'Mixin' is a garbage-collected type. Use heap collections to hold garbage-collected objects. HashMap wtf_hash_map_key_; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:61:3: warning: [blink-gc] Disallowed collection 'HashMap' found; 'Base' is a garbage-collected type. Use heap collections to hold garbage-collected objects. HashMap wtf_hash_map_value_; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:86:3: warning: [blink-gc] Disallowed collection 'array' found; 'Base' is a garbage-collected type. Use heap collections to hold garbage-collected objects. std::array array_; ^~~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:92:3: warning: [blink-gc] Disallowed collection 'set' found; 'Base' is a garbage-collected type. Use heap collections to hold garbage-collected objects. std::set set; ^~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:94:3: warning: [blink-gc] Disallowed collection 'vector' found; 'Derived' is a garbage-collected type. Use heap collections to hold garbage-collected objects. std::vector vector; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:96:3: warning: [blink-gc] Disallowed collection 'map' found; 'Mixin' is a garbage-collected type. Use heap collections to hold garbage-collected objects. std::map map_key; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:98:3: warning: [blink-gc] Disallowed collection 'unordered_map' found; 'Base' is a garbage-collected type. Use heap collections to hold garbage-collected objects. std::unordered_map map_value; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:100:3: warning: [blink-gc] Disallowed collection 'unordered_set' found; 'Base' is a garbage-collected type. Use heap collections to hold garbage-collected objects. std::unordered_set set_ptr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:102:3: warning: [blink-gc] Disallowed collection 'vector' found; 'Derived' is a garbage-collected type. Use heap collections to hold garbage-collected objects. std::vector vector_ref; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:104:3: warning: [blink-gc] Disallowed collection 'map' found; 'Mixin' is a garbage-collected type. Use heap collections to hold garbage-collected objects. std::map map_const; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:106:3: warning: [blink-gc] Disallowed collection 'vector>' found; 'Base' is a garbage-collected type. Use heap collections to hold garbage-collected objects. std::vector> vector_pair; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:110:3: warning: [blink-gc] Disallowed collection 'HashSet' found; 'Base' is a garbage-collected type. Use heap collections to hold garbage-collected objects. HashSet wtf_hash_set; ^~~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:111:3: warning: [blink-gc] Disallowed collection 'Deque' found; 'Derived' is a garbage-collected type. Use heap collections to hold garbage-collected objects. Deque wtf_deque; ^~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:112:3: warning: [blink-gc] Disallowed collection 'Vector' found; 'Mixin' is a garbage-collected type. Use heap collections to hold garbage-collected objects. Vector wtf_vector; ^~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:113:3: warning: [blink-gc] Disallowed collection 'LinkedHashSet' found; 'Base' is a garbage-collected type. Use heap collections to hold garbage-collected objects. LinkedHashSet wtf_linked_hash_set; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:114:3: warning: [blink-gc] Disallowed collection 'HashCountedSet' found; 'Derived' is a garbage-collected type. Use heap collections to hold garbage-collected objects. HashCountedSet wtf_hash_counted_set; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:115:3: warning: [blink-gc] Disallowed collection 'HashMap' found; 'Mixin' is a garbage-collected type. Use heap collections to hold garbage-collected objects. HashMap wtf_hash_map_key; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:116:3: warning: [blink-gc] Disallowed collection 'HashMap' found; 'Base' is a garbage-collected type. Use heap collections to hold garbage-collected objects. HashMap wtf_hash_map_value; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ off-heap-collections-of-gced.cpp:127:3: warning: [blink-gc] Disallowed collection 'array' found; 'Base' is a garbage-collected type. Use heap collections to hold garbage-collected objects. std::array array; ^~~~~~~~~~~~~~~~~~~~~~~~~ 34 warnings generated.