Closed Bug 1750931 Opened 2 years ago Closed 2 years ago

Fix non-unified-build bustage in dom/events, dom/fetch and dom/streams

Categories

(Core :: DOM: Core & HTML, task, P3)

task

Tracking

()

RESOLVED FIXED
98 Branch
Tracking Status
firefox98 --- fixed

People

(Reporter: janv, Assigned: janv)

References

Details

Attachments

(1 file)

0:16.19 In file included from /Users/jvarga/Projects/Mozilla3/src/dom/fetch/Response.cpp:7:
0:16.19 In file included from /Users/jvarga/Projects/Mozilla3/src/dom/fetch/Response.h:10:
0:16.19 In file included from /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsWrapperCache.h:15:
0:16.19 In file included from /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsISupports.h:82:
0:16.19 In file included from /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsISupportsUtils.h:17:
0:16.20 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/RefPtr.h:50:38: error: member access into incomplete type 'mozilla::dom::ReadableStreamDefaultReader'
0:16.20 static void Release(U* aPtr) { aPtr->Release(); }
0:16.20 ^
0:16.20 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/RefPtr.h:381:62: note: in instantiation of member function 'mozilla::RefPtrTraits<mozilla::dom::ReadableStreamDefaultReader>::Release' requested here
0:16.20 static void Release(U* aPtr) { mozilla::RefPtrTraits<U>::Release(aPtr); }
0:16.20 ^
0:16.20 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/RefPtr.h:69:37: note: in instantiation of member function 'RefPtr<mozilla::dom::ReadableStreamDefaultReader>::ConstRemovingRefPtrTraits<mozilla::dom::ReadableStreamDefaultReader>::Release' requested here
0:16.20 ConstRemovingRefPtrTraits<T>::Release(oldPtr);
0:16.20 ^
0:16.20 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/RefPtr.h:168:5: note: in instantiation of member function 'RefPtr<mozilla::dom::ReadableStreamDefaultReader>::assign_assuming_AddRef' requested here
0:16.20 assign_assuming_AddRef(nullptr);
0:16.20 ^
0:16.20 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/RefPtr.h:401:10: note: in instantiation of member function 'RefPtr<mozilla::dom::ReadableStreamDefaultReader>::operator=' requested here
0:16.20 aField = nullptr;
0:16.20 ^
0:16.20 /Users/jvarga/Projects/Mozilla3/src/dom/fetch/Response.cpp:46:3: note: in instantiation of function template specialization 'ImplCycleCollectionUnlink<mozilla::dom::ReadableStreamDefaultReader>' requested here
0:16.20 NS_IMPL_CYCLE_COLLECTION_UNLINK(mReadableStreamReader)
0:16.20 ^
0:16.20 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCycleCollectionParticipant.h:541:16: note: expanded from macro 'NS_IMPL_CYCLE_COLLECTION_UNLINK'
0:16.20 MOZ_FOR_EACH(NS_IMPL_CYCLE_COLLECTION_UNLINK_HELPER, (), (VA_ARGS))
0:16.20 ^
0:16.20 /Users/jvarga/Projects/Mozilla3/src/dom/fetch/FetchStreamReader.h:21:7: note: forward declaration of 'mozilla::dom::ReadableStreamDefaultReader'
0:16.20 class ReadableStreamDefaultReader;
0:16.20 ^
0:16.20 In file included from /Users/jvarga/Projects/Mozilla3/src/dom/fetch/Response.cpp:7:
0:16.20 In file included from /Users/jvarga/Projects/Mozilla3/src/dom/fetch/Response.h:10:
0:16.20 In file included from /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsWrapperCache.h:10:
0:16.20 In file included from /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCycleCollectionParticipant.h:10:
0:16.20 /Users/jvarga/.mozbuild/clang/bin/../include/c++/v1/type_traits:1701:59: error: incomplete type 'mozilla::dom::ReadableStreamDefaultReader' used in type trait expression
0:16.20 : public integral_constant<bool, __is_base_of(_Bp, _Dp)> {};
0:16.20 ^
0:16.20 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCycleCollectionNoteChild.h:50:43: note: in instantiation of template class 'std::is_base_of<nsISupports, mozilla::dom::ReadableStreamDefaultReader>' requested here
0:16.20 template <typename T, bool IsXPCOM = std::is_base_of<nsISupports, T>::value>
0:16.20 ^
0:16.20 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCycleCollectionNoteChild.h:75:3: note: in instantiation of default argument for 'CycleCollectionNoteChildImpl<mozilla::dom::ReadableStreamDefaultReader>' required here
0:16.20 CycleCollectionNoteChildImpl<T>::Run(aCallback, aChild);
0:16.20 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0:16.20 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/RefPtr.h:408:3: note: in instantiation of function template specialization 'CycleCollectionNoteChild<mozilla::dom::ReadableStreamDefaultReader>' requested here
0:16.20 CycleCollectionNoteChild(aCallback, aField.get(), aName, aFlags);
0:16.20 ^
0:16.20 /Users/jvarga/Projects/Mozilla3/src/dom/fetch/Response.cpp:62:3: note: in instantiation of function template specialization 'ImplCycleCollectionTraverse<mozilla::dom::ReadableStreamDefaultReader>' requested here
0:16.20 NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mReadableStreamReader)
0:16.20 ^
0:16.20 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCycleCollectionParticipant.h:590:16: note: expanded from macro 'NS_IMPL_CYCLE_COLLECTION_TRAVERSE'
0:16.20 MOZ_FOR_EACH(NS_IMPL_CYCLE_COLLECTION_TRAVERSE_HELPER, (), (VA_ARGS))
0:16.20 ^
0:16.20 /Users/jvarga/Projects/Mozilla3/src/dom/fetch/FetchStreamReader.h:21:7: note: forward declaration of 'mozilla::dom::ReadableStreamDefaultReader'
0:16.21 class ReadableStreamDefaultReader;
0:16.21 ^
0:16.21 In file included from /Users/jvarga/Projects/Mozilla3/src/dom/fetch/Response.cpp:7:
0:16.21 In file included from /Users/jvarga/Projects/Mozilla3/src/dom/fetch/Response.h:10:
0:16.21 In file included from /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsWrapperCache.h:10:
0:16.21 In file included from /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCycleCollectionParticipant.h:14:
0:16.21 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCycleCollectionNoteChild.h:63:71: error: incomplete type 'mozilla::dom::ReadableStreamDefaultReader' named in nested name specifier
0:16.21 aCallback.NoteNativeChild(aChild, NS_CYCLE_COLLECTION_PARTICIPANT(T));
0:16.21 ^
0:16.21 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCycleCollectionNoteChild.h:40:3: note: expanded from macro 'NS_CYCLE_COLLECTION_PARTICIPANT'
0:16.21 _class::NS_CYCLE_COLLECTION_INNERCLASS::GetParticipant()
0:16.21 ^~~~~~~~
0:16.21 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCycleCollectionNoteChild.h:75:36: note: in instantiation of member function 'CycleCollectionNoteChildImpl<mozilla::dom::ReadableStreamDefaultReader, false>::Run' requested here
0:16.21 CycleCollectionNoteChildImpl<T>::Run(aCallback, aChild);
0:16.21 ^
0:16.21 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/RefPtr.h:408:3: note: in instantiation of function template specialization 'CycleCollectionNoteChild<mozilla::dom::ReadableStreamDefaultReader>' requested here
0:16.21 CycleCollectionNoteChild(aCallback, aField.get(), aName, aFlags);
0:16.21 ^
0:16.21 /Users/jvarga/Projects/Mozilla3/src/dom/fetch/Response.cpp:62:3: note: in instantiation of function template specialization 'ImplCycleCollectionTraverse<mozilla::dom::ReadableStreamDefaultReader>' requested here
0:16.21 NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mReadableStreamReader)
0:16.21 ^
0:16.21 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCycleCollectionParticipant.h:590:16: note: expanded from macro 'NS_IMPL_CYCLE_COLLECTION_TRAVERSE'
0:16.21 MOZ_FOR_EACH(NS_IMPL_CYCLE_COLLECTION_TRAVERSE_HELPER, (), (VA_ARGS))
0:16.21 ^
0:16.21 /Users/jvarga/Projects/Mozilla3/src/dom/fetch/FetchStreamReader.h:21:7: note: forward declaration of 'mozilla::dom::ReadableStreamDefaultReader'
0:16.21 class ReadableStreamDefaultReader;
0:16.21 ^
0:16.21 3 errors generated.
0:16.21 make[4]: *** [Response.o] Error 1
0:16.21 make[4]: *** Waiting for unfinished jobs....
0:16.44 In file included from /Users/jvarga/Projects/Mozilla3/src/dom/fetch/Request.cpp:7:
0:16.44 In file included from /Users/jvarga/Projects/Mozilla3/src/dom/fetch/Request.h:10:
0:16.44 In file included from /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsISupportsImpl.h:13:
0:16.44 In file included from /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsISupportsUtils.h:17:
0:16.44 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/RefPtr.h:50:38: error: member access into incomplete type 'mozilla::dom::ReadableStreamDefaultReader'
0:16.44 static void Release(U* aPtr) { aPtr->Release(); }
0:16.44 ^
0:16.44 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/RefPtr.h:381:62: note: in instantiation of member function 'mozilla::RefPtrTraits<mozilla::dom::ReadableStreamDefaultReader>::Release' requested here
0:16.45 static void Release(U* aPtr) { mozilla::RefPtrTraits<U>::Release(aPtr); }
0:16.45 ^
0:16.45 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/RefPtr.h:69:37: note: in instantiation of member function 'RefPtr<mozilla::dom::ReadableStreamDefaultReader>::ConstRemovingRefPtrTraits<mozilla::dom::ReadableStreamDefaultReader>::Release' requested here
0:16.45 ConstRemovingRefPtrTraits<T>::Release(oldPtr);
0:16.45 ^
0:16.45 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/RefPtr.h:168:5: note: in instantiation of member function 'RefPtr<mozilla::dom::ReadableStreamDefaultReader>::assign_assuming_AddRef' requested here
0:16.45 assign_assuming_AddRef(nullptr);
0:16.45 ^
0:16.45 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/RefPtr.h:401:10: note: in instantiation of member function 'RefPtr<mozilla::dom::ReadableStreamDefaultReader>::operator=' requested here
0:16.45 aField = nullptr;
0:16.45 ^
0:16.45 /Users/jvarga/Projects/Mozilla3/src/dom/fetch/Request.cpp:35:3: note: in instantiation of function template specialization 'ImplCycleCollectionUnlink<mozilla::dom::ReadableStreamDefaultReader>' requested here
0:16.45 NS_IMPL_CYCLE_COLLECTION_UNLINK(mReadableStreamReader)
0:16.45 ^
0:16.45 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCycleCollectionParticipant.h:541:16: note: expanded from macro 'NS_IMPL_CYCLE_COLLECTION_UNLINK'
0:16.45 MOZ_FOR_EACH(NS_IMPL_CYCLE_COLLECTION_UNLINK_HELPER, (), (VA_ARGS))
0:16.45 ^
0:16.45 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/dom/FetchStreamReader.h:21:7: note: forward declaration of 'mozilla::dom::ReadableStreamDefaultReader'
0:16.45 class ReadableStreamDefaultReader;
0:16.45 ^
0:16.45 In file included from /Users/jvarga/Projects/Mozilla3/src/dom/fetch/Request.cpp:7:
0:16.45 In file included from /Users/jvarga/Projects/Mozilla3/src/dom/fetch/Request.h:10:
0:16.45 In file included from /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsISupportsImpl.h:11:
0:16.45 In file included from /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nscore.h:20:
0:16.45 In file included from /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/mozalloc.h:16:
0:16.45 In file included from /Users/jvarga/.mozbuild/clang/bin/../include/c++/v1/new:93:
0:16.45 In file included from /Users/jvarga/.mozbuild/clang/bin/../include/c++/v1/exception:84:
0:16.45 /Users/jvarga/.mozbuild/clang/bin/../include/c++/v1/type_traits:1701:59: error: incomplete type 'mozilla::dom::ReadableStreamDefaultReader' used in type trait expression
0:16.45 : public integral_constant<bool, __is_base_of(_Bp, _Dp)> {};
0:16.45 ^
0:16.45 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCycleCollectionNoteChild.h:50:43: note: in instantiation of template class 'std::is_base_of<nsISupports, mozilla::dom::ReadableStreamDefaultReader>' requested here
0:16.45 template <typename T, bool IsXPCOM = std::is_base_of<nsISupports, T>::value>
0:16.45 ^
0:16.45 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCycleCollectionNoteChild.h:75:3: note: in instantiation of default argument for 'CycleCollectionNoteChildImpl<mozilla::dom::ReadableStreamDefaultReader>' required here
0:16.45 CycleCollectionNoteChildImpl<T>::Run(aCallback, aChild);
0:16.45 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0:16.45 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/RefPtr.h:408:3: note: in instantiation of function template specialization 'CycleCollectionNoteChild<mozilla::dom::ReadableStreamDefaultReader>' requested here
0:16.45 CycleCollectionNoteChild(aCallback, aField.get(), aName, aFlags);
0:16.45 ^
0:16.45 /Users/jvarga/Projects/Mozilla3/src/dom/fetch/Request.cpp:47:3: note: in instantiation of function template specialization 'ImplCycleCollectionTraverse<mozilla::dom::ReadableStreamDefaultReader>' requested here
0:16.46 NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mReadableStreamReader)
0:16.46 ^
0:16.46 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCycleCollectionParticipant.h:590:16: note: expanded from macro 'NS_IMPL_CYCLE_COLLECTION_TRAVERSE'
0:16.46 MOZ_FOR_EACH(NS_IMPL_CYCLE_COLLECTION_TRAVERSE_HELPER, (), (VA_ARGS))
0:16.46 ^
0:16.46 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/dom/FetchStreamReader.h:21:7: note: forward declaration of 'mozilla::dom::ReadableStreamDefaultReader'
0:16.46 class ReadableStreamDefaultReader;
0:16.46 ^
0:16.46 In file included from /Users/jvarga/Projects/Mozilla3/src/dom/fetch/Request.cpp:7:
0:16.46 In file included from /Users/jvarga/Projects/Mozilla3/src/dom/fetch/Request.h:11:
0:16.46 In file included from /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsWrapperCache.h:10:
0:16.46 In file included from /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCycleCollectionParticipant.h:14:
0:16.46 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCycleCollectionNoteChild.h:63:71: error: incomplete type 'mozilla::dom::ReadableStreamDefaultReader' named in nested name specifier
0:16.46 aCallback.NoteNativeChild(aChild, NS_CYCLE_COLLECTION_PARTICIPANT(T));
0:16.46 ^
0:16.46 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCycleCollectionNoteChild.h:40:3: note: expanded from macro 'NS_CYCLE_COLLECTION_PARTICIPANT'
0:16.46 _class::NS_CYCLE_COLLECTION_INNERCLASS::GetParticipant()
0:16.46 ^~~~~~~~
0:16.46 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCycleCollectionNoteChild.h:75:36: note: in instantiation of member function 'CycleCollectionNoteChildImpl<mozilla::dom::ReadableStreamDefaultReader, false>::Run' requested here
0:16.46 CycleCollectionNoteChildImpl<T>::Run(aCallback, aChild);
0:16.46 ^
0:16.46 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/RefPtr.h:408:3: note: in instantiation of function template specialization 'CycleCollectionNoteChild<mozilla::dom::ReadableStreamDefaultReader>' requested here
0:16.46 CycleCollectionNoteChild(aCallback, aField.get(), aName, aFlags);
0:16.46 ^
0:16.46 /Users/jvarga/Projects/Mozilla3/src/dom/fetch/Request.cpp:47:3: note: in instantiation of function template specialization 'ImplCycleCollectionTraverse<mozilla::dom::ReadableStreamDefaultReader>' requested here
0:16.46 NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mReadableStreamReader)
0:16.46 ^
0:16.46 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCycleCollectionParticipant.h:590:16: note: expanded from macro 'NS_IMPL_CYCLE_COLLECTION_TRAVERSE'
0:16.46 MOZ_FOR_EACH(NS_IMPL_CYCLE_COLLECTION_TRAVERSE_HELPER, (), (VA_ARGS))
0:16.46 ^
0:16.46 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/dom/FetchStreamReader.h:21:7: note: forward declaration of 'mozilla::dom::ReadableStreamDefaultReader'
0:16.46 class ReadableStreamDefaultReader;
0:16.47 ^
0:16.47 3 errors generated.
0:16.47 make[4]: *** [Request.o] Error 1
0:16.85 In file included from /Users/jvarga/Projects/Mozilla3/src/dom/fetch/Fetch.cpp:7:
0:16.85 In file included from /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/dom/Fetch.h:10:
0:16.85 In file included from /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCOMPtr.h:28:
0:16.87 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/RefPtr.h:50:38: error: member access into incomplete type 'mozilla::dom::ReadableStreamDefaultReader'
0:16.87 static void Release(U* aPtr) { aPtr->Release(); }
0:16.87 ^
0:16.87 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/RefPtr.h:381:62: note: in instantiation of member function 'mozilla::RefPtrTraits<mozilla::dom::ReadableStreamDefaultReader>::Release' requested here
0:16.87 static void Release(U* aPtr) { mozilla::RefPtrTraits<U>::Release(aPtr); }
0:16.87 ^
0:16.87 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/RefPtr.h:81:37: note: in instantiation of member function 'RefPtr<mozilla::dom::ReadableStreamDefaultReader>::ConstRemovingRefPtrTraits<mozilla::dom::ReadableStreamDefaultReader>::Release' requested here
0:16.88 ConstRemovingRefPtrTraits<T>::Release(mRawPtr);
0:16.88 ^
0:16.88 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/dom/Fetch.h:274:12: note: in instantiation of member function 'RefPtr<mozilla::dom::ReadableStreamDefaultReader>::RefPtr' requested here
0:16.88 explicit FetchBody(nsIGlobalObject* aOwner);
0:16.88 ^
0:16.88 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/dom/FetchStreamReader.h:21:7: note: forward declaration of 'mozilla::dom::ReadableStreamDefaultReader'
0:16.88 class ReadableStreamDefaultReader;
0:16.88 ^
0:16.88 In file included from /Users/jvarga/Projects/Mozilla3/src/dom/fetch/Fetch.cpp:7:
0:16.88 In file included from /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/dom/Fetch.h:10:
0:16.88 In file included from /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCOMPtr.h:28:
0:16.88 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/RefPtr.h:49:37: error: member access into incomplete type 'mozilla::dom::ReadableStreamDefaultReader'
0:16.88 static void AddRef(U* aPtr) { aPtr->AddRef(); }
0:16.88 ^
0:16.88 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/RefPtr.h:380:61: note: in instantiation of member function 'mozilla::RefPtrTraits<mozilla::dom::ReadableStreamDefaultReader>::AddRef' requested here
0:16.88 static void AddRef(U* aPtr) { mozilla::RefPtrTraits<U>::AddRef(aPtr); }
0:16.88 ^
0:16.88 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/RefPtr.h:60:37: note: in instantiation of member function 'RefPtr<mozilla::dom::ReadableStreamDefaultReader>::ConstRemovingRefPtrTraits<mozilla::dom::ReadableStreamDefaultReader>::AddRef' requested here
0:16.88 ConstRemovingRefPtrTraits<T>::AddRef(aRawPtr);
0:16.88 ^
0:16.88 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/RefPtr.h:175:5: note: in instantiation of member function 'RefPtr<mozilla::dom::ReadableStreamDefaultReader>::assign_with_AddRef' requested here
0:16.88 assign_with_AddRef(aRhs.mRawPtr);
0:16.88 ^
0:16.88 /Users/jvarga/Projects/Mozilla3/src/dom/fetch/Fetch.cpp:1607:25: note: in instantiation of member function 'RefPtr<mozilla::dom::ReadableStreamDefaultReader>::operator=' requested here
0:16.88 mReadableStreamReader = reader;
0:16.88 ^
0:16.88 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/dom/FetchStreamReader.h:21:7: note: forward declaration of 'mozilla::dom::ReadableStreamDefaultReader'
0:16.88 class ReadableStreamDefaultReader;
0:16.88 ^
0:16.88 In file included from /Users/jvarga/Projects/Mozilla3/src/dom/fetch/Fetch.cpp:7:
0:16.88 In file included from /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/dom/Fetch.h:10:
0:16.88 In file included from /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCOMPtr.h:23:
0:16.88 /Users/jvarga/.mozbuild/clang/bin/../include/c++/v1/type_traits:1701:59: error: incomplete type 'mozilla::dom::ReadableStreamDefaultReader' used in type trait expression
0:16.88 : public integral_constant<bool, __is_base_of(_Bp, _Dp)> {};
0:16.88 ^
0:16.88 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCycleCollectionNoteChild.h:50:43: note: in instantiation of template class 'std::is_base_of<nsISupports, mozilla::dom::ReadableStreamDefaultReader>' requested here
0:16.88 template <typename T, bool IsXPCOM = std::is_base_of<nsISupports, T>::value>
0:16.88 ^
0:16.88 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCycleCollectionNoteChild.h:75:3: note: in instantiation of default argument for 'CycleCollectionNoteChildImpl<mozilla::dom::ReadableStreamDefaultReader>' required here
0:16.88 CycleCollectionNoteChildImpl<T>::Run(aCallback, aChild);
0:16.88 ^

0:16.88 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/RefPtr.h:408:3: note: in instantiation of function template specialization 'CycleCollectionNoteChild<mozilla::dom::ReadableStreamDefaultReader>' requested here
0:16.88 CycleCollectionNoteChild(aCallback, aField.get(), aName, aFlags);
0:16.88 ^
0:16.88 /Users/jvarga/Projects/Mozilla3/src/dom/fetch/Fetch.cpp:1820:3: note: in instantiation of function template specialization 'ImplCycleCollectionTraverse<mozilla::dom::ReadableStreamDefaultReader>' requested here
0:16.88 NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mReadableStreamReader)
0:16.88 ^
0:16.88 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCycleCollectionParticipant.h:590:16: note: expanded from macro 'NS_IMPL_CYCLE_COLLECTION_TRAVERSE'
0:16.88 MOZ_FOR_EACH(NS_IMPL_CYCLE_COLLECTION_TRAVERSE_HELPER, (), (VA_ARGS))
0:16.88 ^
0:16.88 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/dom/FetchStreamReader.h:21:7: note: forward declaration of 'mozilla::dom::ReadableStreamDefaultReader'
0:16.88 class ReadableStreamDefaultReader;
0:16.88 ^
0:16.88 In file included from /Users/jvarga/Projects/Mozilla3/src/dom/fetch/Fetch.cpp:7:
0:16.88 In file included from /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/dom/Fetch.h:10:
0:16.88 In file included from /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCOMPtr.h:29:
0:16.88 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCycleCollectionNoteChild.h:63:71: error: incomplete type 'mozilla::dom::ReadableStreamDefaultReader' named in nested name specifier
0:16.89 aCallback.NoteNativeChild(aChild, NS_CYCLE_COLLECTION_PARTICIPANT(T));
0:16.89 ^
0:16.89 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCycleCollectionNoteChild.h:40:3: note: expanded from macro 'NS_CYCLE_COLLECTION_PARTICIPANT'
0:16.89 _class::NS_CYCLE_COLLECTION_INNERCLASS::GetParticipant()
0:16.89 ^~~~~~~~
0:16.89 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCycleCollectionNoteChild.h:75:36: note: in instantiation of member function 'CycleCollectionNoteChildImpl<mozilla::dom::ReadableStreamDefaultReader, false>::Run' requested here
0:16.89 CycleCollectionNoteChildImpl<T>::Run(aCallback, aChild);
0:16.89 ^
0:16.89 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/RefPtr.h:408:3: note: in instantiation of function template specialization 'CycleCollectionNoteChild<mozilla::dom::ReadableStreamDefaultReader>' requested here
0:16.89 CycleCollectionNoteChild(aCallback, aField.get(), aName, aFlags);
0:16.89 ^
0:16.89 /Users/jvarga/Projects/Mozilla3/src/dom/fetch/Fetch.cpp:1820:3: note: in instantiation of function template specialization 'ImplCycleCollectionTraverse<mozilla::dom::ReadableStreamDefaultReader>' requested here
0:16.89 NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mReadableStreamReader)
0:16.89 ^
0:16.89 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/nsCycleCollectionParticipant.h:590:16: note: expanded from macro 'NS_IMPL_CYCLE_COLLECTION_TRAVERSE'
0:16.89 MOZ_FOR_EACH(NS_IMPL_CYCLE_COLLECTION_TRAVERSE_HELPER, (), (VA_ARGS))
0:16.89 ^
0:16.89 /Users/jvarga/Projects/Mozilla3/obj-ff-non-unified-dbg/dist/include/mozilla/dom/FetchStreamReader.h:21:7: note: forward declaration of 'mozilla::dom::ReadableStreamDefaultReader'
0:16.89 class ReadableStreamDefaultReader;
0:16.89 ^
0:16.89 4 errors generated.
0:16.89 make[4]: *** [Fetch.o] Error 1
0:16.89 make[3]: *** [dom/fetch/target-objects] Error 2
0:16.89 make[3]: *** Waiting for unfinished jobs....
0:18.55 /Users/jvarga/Projects/Mozilla3/src/dom/events/EventListenerManager.cpp:1010:29: error: use of undeclared identifier 'MakeScopeExit'
0:18.55 auto removeEventHandler = MakeScopeExit([&] { RemoveEventHandler(aName); });
0:18.55 ^
0:18.55 1 error generated.
0:18.55 make[4]: *** [EventListenerManager.o] Error 1
0:18.56 make[3]: *** [dom/events/target-objects] Error 2
0:18.56 make[2]: *** [compile] Error 2
0:18.56 make[1]: *** [default] Error 2
0:18.56 make: *** [build] Error 2

Attachment #9259651 - Attachment description: Bug 1750931 - Fix non-unified-build bustage in dom/events and dom/fetch; r=smaug → Bug 1750931 - Fix non-unified-build bustage in dom/events, dom/fetch and dom/streams; r=smaug
Summary: Fix non-unified-build bustage in dom/events and dom/fetch → Fix non-unified-build bustage in dom/events, dom/fetch and dom/streams
Pushed by jvarga@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7eef33e2ea56
Fix non-unified-build bustage in dom/events, dom/fetch and dom/streams; r=smaug
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: