Closed Bug 1613643 Opened 5 years ago Closed 5 years ago

Intermittent mingw /builds/worker/workspace/build/src/widget/windows/WindowsUIUtils.cpp:283:1: error: no template named 'Result'

Categories

(Core :: Widget: Win32, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: saschanaz)

References

(Regression)

Details

(Keywords: intermittent-failure, regression, Whiteboard: [stockwell unknown])

Attachments

(2 files)

Filed by: opoprus [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=287716426&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/TKpqMID9Tw2VmiVTh4JT3w/runs/0/artifacts/public/logs/live_backing.log


[task 2020-02-06T11:45:49.635Z] 11:45:49 ERROR - /builds/worker/workspace/build/src/widget/windows/WindowsUIUtils.cpp:283:1: error: no template named 'Result'
[task 2020-02-06T11:45:49.635Z] 11:45:49 INFO - Result<HStringUniquePtr, HRESULT> ConvertToWindowsString(
[task 2020-02-06T11:45:49.635Z] 11:45:49 INFO - ^
[task 2020-02-06T11:45:49.635Z] 11:45:49 ERROR - /builds/worker/workspace/build/src/widget/windows/WindowsUIUtils.cpp:289:12: error: use of undeclared identifier 'Err'; did you mean 'mozilla::Err'?
[task 2020-02-06T11:45:49.635Z] 11:45:49 INFO - return Err(hr);
[task 2020-02-06T11:45:49.635Z] 11:45:49 INFO - ^~~
[task 2020-02-06T11:45:49.635Z] 11:45:49 INFO - mozilla::Err
[task 2020-02-06T11:45:49.635Z] 11:45:49 INFO - /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/Result.h:526:30: note: 'mozilla::Err' declared here
[task 2020-02-06T11:45:49.635Z] 11:45:49 INFO - inline GenericErrorResult<E> Err(E&& aErrorValue) {
[task 2020-02-06T11:45:49.635Z] 11:45:49 INFO - ^
[task 2020-02-06T11:45:49.635Z] 11:45:49 ERROR - /builds/worker/workspace/build/src/widget/windows/WindowsUIUtils.cpp:289:12: error: no viable conversion from returned value of type 'GenericErrorResult<long &>' to function return type 'int'
[task 2020-02-06T11:45:49.635Z] 11:45:49 INFO - return Err(hr);
[task 2020-02-06T11:45:49.635Z] 11:45:49 INFO - ^~~~~~~
[task 2020-02-06T11:45:49.635Z] 11:45:49 ERROR - /builds/worker/workspace/build/src/widget/windows/WindowsUIUtils.cpp:291:10: error: no viable conversion from returned value of type 'HStringUniquePtr' (aka 'UniquePtr<HSTRING__ *, HStringDeleter>') to function return type 'int'
[task 2020-02-06T11:45:49.635Z] 11:45:49 INFO - return HStringUniquePtr(rawStr);
[task 2020-02-06T11:45:49.635Z] 11:45:49 INFO - ^~~~~~~~~~~~~~~~~~~~~~~~
[task 2020-02-06T11:45:49.635Z] 11:45:49 ERROR - /builds/worker/workspace/build/src/widget/windows/WindowsUIUtils.cpp:340:36: error: use of undeclared identifier 'MozPromiseHolder'
[task 2020-02-06T11:45:49.635Z] 11:45:49 INFO - mozilla::media::Refcountable<MozPromiseHolder<SharePromise>>>();
[task 2020-02-06T11:45:49.635Z] 11:45:49 INFO - ^
[task 2020-02-06T11:45:49.635Z] 11:45:49 ERROR - /builds/worker/workspace/build/src/widget/windows/WindowsUIUtils.cpp:340:36: error: use of undeclared identifier 'MozPromiseHolder'
[task 2020-02-06T11:45:49.635Z] 11:45:49 ERROR - /builds/worker/workspace/build/src/widget/windows/WindowsUIUtils.cpp:340:67: error: expected a type
[task 2020-02-06T11:45:49.635Z] 11:45:49 INFO - mozilla::media::Refcountable<MozPromiseHolder<SharePromise>>>();
[task 2020-02-06T11:45:49.635Z] 11:45:49 INFO - ^
[task 2020-02-06T11:45:49.635Z] 11:45:49 INFO - 6 warnings and 7 errors generated.
[task 2020-02-06T11:45:49.635Z] 11:45:49 INFO - /builds/worker/workspace/build/src/config/rules.mk:744: recipe for target 'WindowsUIUtils.o' failed
[task 2020-02-06T11:45:49.635Z] 11:45:49 ERROR - make[4]: *** [WindowsUIUtils.o] Error 1
[task 2020-02-06T11:45:49.635Z] 11:45:49 INFO - make[4]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/widget/windows'
[task 2020-02-06T11:45:49.635Z] 11:45:49 INFO - make[4]: *** Waiting for unfinished jobs....
[task 2020-02-06T11:45:49.635Z] 11:45:49 INFO - make[4]: Entering directory '/builds/worker/workspace/build/src/obj-firefox/layout/base'
[task 2020-02-06T11:45:49.635Z] 11:45:49 INFO - layout/base/Unified_cpp_layout_base2.o
[task 2020-02-06T11:45:49.635Z] 11:45:49 INFO - make[4]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/layout/base'
[task 2020-02-06T11:45:52.268Z] 11:45:52 INFO - make[4]: Entering directory '/builds/worker/workspace/build/src/obj-firefox/layout/forms'

Can anybody of you fix this, please?

Flags: needinfo?(tom)
Flags: needinfo?(saschanaz)
Flags: needinfo?(agashlin)
Regressed by: 1573029
Summary: Intermittent [tier2] /builds/worker/workspace/build/src/widget/windows/WindowsUIUtils.cpp:283:1: error: no template named 'Result' → Intermittent mingw /builds/worker/workspace/build/src/widget/windows/WindowsUIUtils.cpp:283:1: error: no template named 'Result'
Has Regression Range: --- → yes
Keywords: regression

Oops, working on it

Flags: needinfo?(saschanaz)
Flags: needinfo?(tom)
Flags: needinfo?(agashlin)
Pushed by archaeopteryx@coole-files.de: https://hg.mozilla.org/integration/autoland/rev/442f57db73ea Fix build failure by Err(). a=bustage-fix-for-mingw CLOSED TREE
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
Assignee: nobody → saschanaz
Flags: needinfo?(saschanaz)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: