Closed Bug 1574457 Opened 2 years ago Closed 2 years ago

Perma build bustage/builds/worker/workspace/build/src/dom/serviceworkers/ServiceWorkerPrivate.cpp:101:14: error: unused variable 'rv' [-Werror,-Wunused-variable] when Gecko 70 merges to Beta on 2019-08-26

Categories

(Core :: DOM: Service Workers, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla70
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- unaffected
firefox68 --- unaffected
firefox69 --- unaffected
firefox70 ? verified

People

(Reporter: ccoroiu, Assigned: perry)

References

(Regression)

Details

Attachments

(1 file)

[Tracking Requested - why for this release]:
Central as Beta-Simulation
https://treeherder.mozilla.org/#/jobs?repo=try&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel%2Crunnable&revision=216e2ffe5150b7c8a3009b29e4577bb007c59e8d&selectedJob=261978854

Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=261978854&repo=try&lineNumber=19838
[task 2019-08-16T11:16:23.818Z] 11:16:23 INFO - widget/LSBUtils.o
[task 2019-08-16T11:16:23.818Z] 11:16:23 INFO - make[4]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/widget'
[task 2019-08-16T11:16:24.811Z] 11:16:24 INFO - make[4]: Entering directory '/builds/worker/workspace/build/src/obj-firefox/widget'
[task 2019-08-16T11:16:24.811Z] 11:16:24 INFO - /builds/worker/fetches/clang/bin/clang++ -std=gnu++14 -o LSBUtils.o -c -I/builds/worker/workspace/build/src/obj-firefox/dist/stl_wrappers -I/builds/worker/workspace/build/src/obj-firefox/dist/system_wrappers -include /builds/worker/workspace/build/src/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DMOZ_CROSS_PROCESS_IME -DOS_POSIX=1 -DOS_LINUX=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/builds/worker/workspace/build/src/widget -I/builds/worker/workspace/build/src/obj-firefox/widget -I/builds/worker/workspace/build/src/obj-firefox/ipc/ipdl/_ipdlheaders -I/builds/worker/workspace/build/src/ipc/chromium/src -I/builds/worker/workspace/build/src/ipc/glue -I/builds/worker/workspace/build/src/dom/base -I/builds/worker/workspace/build/src/dom/ipc -I/builds/worker/workspace/build/src/layout/base -I/builds/worker/workspace/build/src/layout/forms -I/builds/worker/workspace/build/src/layout/generic -I/builds/worker/workspace/build/src/layout/painting -I/builds/worker/workspace/build/src/layout/xul -I/builds/worker/workspace/build/src/layout/xul/tree -I/builds/worker/workspace/build/src/view -I/builds/worker/workspace/build/src/widget -I/builds/worker/workspace/build/src/widget/headless -I/builds/worker/workspace/build/src/widget/gtk -I/builds/worker/workspace/build/src/obj-firefox/dist/include -I/builds/worker/workspace/build/src/obj-firefox/dist/include/nspr -I/builds/worker/workspace/build/src/obj-firefox/dist/include/nss -fPIC -DMOZILLA_CLIENT -include /builds/worker/workspace/build/src/obj-firefox/mozilla-config.h -Qunused-arguments -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Qunused-arguments -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wunreachable-code -Wunreachable-code-return -Wwrite-strings -Wno-invalid-offsetof -Wclass-varargs -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wc++1z-compat -Wcomma -Wimplicit-fallthrough -Werror=non-literal-null-conversion -Wstring-conversion -Wtautological-overlap-compare -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=backend-plugin -Wformat -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-unknown-warning-option -Wno-return-type-c-linkage -D_GLIBCXX_USE_CXX11_ABI=0 -fno-sized-deallocation -fno-aligned-new -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -g -Xclang -load -Xclang /builds/worker/workspace/build/src/obj-firefox/build/clang-plugin/libclang-plugin.so -Xclang -add-plugin -Xclang moz-check -O2 -fomit-frame-pointer -funwind-tables -Werror -I/builds/worker/workspace/build/src/widget/gtk/compat-gtk3 -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gtk-3.0/unix-print -MD -MP -MF .deps/LSBUtils.o.pp /builds/worker/workspace/build/src/widget/LSBUtils.cpp
[task 2019-08-16T11:16:24.812Z] 11:16:24 INFO - make[4]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/widget'
[task 2019-08-16T11:16:24.812Z] 11:16:24 INFO - make[4]: Entering directory '/builds/worker/workspace/build/src/obj-firefox/widget'
[task 2019-08-16T11:16:24.812Z] 11:16:24 INFO - widget/WindowSurfaceX11SHM.o
[task 2019-08-16T11:16:24.812Z] 11:16:24 INFO - make[4]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/widget'
[task 2019-08-16T11:16:24.909Z] 11:16:24 INFO - make[4]: Entering directory '/builds/worker/workspace/build/src/obj-firefox/dom/localstorage'
[task 2019-08-16T11:16:24.909Z] 11:16:24 INFO - /builds/worker/fetches/clang/bin/clang++ -std=gnu++14 -o Unified_cpp_dom_localstorage0.o -c -I/builds/worker/workspace/build/src/obj-firefox/dist/stl_wrappers -I/builds/worker/workspace/build/src/obj-firefox/dist/system_wrappers -include /builds/worker/workspace/build/src/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DOS_POSIX=1 -DOS_LINUX=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/builds/worker/workspace/build/src/dom/localstorage -I/builds/worker/workspace/build/src/obj-firefox/dom/localstorage -I/builds/worker/workspace/build/src/obj-firefox/ipc/ipdl/_ipdlheaders -I/builds/worker/workspace/build/src/ipc/chromium/src -I/builds/worker/workspace/build/src/ipc/glue -I/builds/worker/workspace/build/src/dom/file/ipc -I/builds/worker/workspace/build/src/obj-firefox/dist/include -I/builds/worker/workspace/build/src/obj-firefox/dist/include/nspr -I/builds/worker/workspace/build/src/obj-firefox/dist/include/nss -fPIC -DMOZILLA_CLIENT -include /builds/worker/workspace/build/src/obj-firefox/mozilla-config.h -Qunused-arguments -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Qunused-arguments -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wunreachable-code -Wunreachable-code-return -Wwrite-strings -Wno-invalid-offsetof -Wclass-varargs -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wc++1z-compat -Wcomma -Wimplicit-fallthrough -Werror=non-literal-null-conversion -Wstring-conversion -Wtautological-overlap-compare -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=backend-plugin -Wformat -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-unknown-warning-option -Wno-return-type-c-linkage -D_GLIBCXX_USE_CXX11_ABI=0 -fno-sized-deallocation -fno-aligned-new -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -g -Xclang -load -Xclang /builds/worker/workspace/build/src/obj-firefox/build/clang-plugin/libclang-plugin.so -Xclang -add-plugin -Xclang moz-check -O2 -fomit-frame-pointer -funwind-tables -Werror -Wno-error=shadow -MD -MP -MF .deps/Unified_cpp_dom_localstorage0.o.pp /builds/worker/workspace/build/src/obj-firefox/dom/localstorage/Unified_cpp_dom_localstorage0.cpp
[task 2019-08-16T11:16:24.909Z] 11:16:24 INFO - make[4]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/dom/localstorage'
[task 2019-08-16T11:16:24.910Z] 11:16:24 INFO - make[4]: Entering directory '/builds/worker/workspace/build/src/obj-firefox/widget'
[task 2019-08-16T11:16:24.910Z] 11:16:24 INFO - widget/nsBaseDragService.o
[task 2019-08-16T11:16:24.910Z] 11:16:24 INFO - make[4]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/widget'
[task 2019-08-16T11:16:25.936Z] 11:16:25 INFO - make[4]: Entering directory '/builds/worker/workspace/build/src/obj-firefox/dom/serviceworkers'
[task 2019-08-16T11:16:25.937Z] 11:16:25 INFO - /builds/worker/fetches/clang/bin/clang++ -std=gnu++14 -o Unified_cpp_dom_serviceworkers1.o -c -I/builds/worker/workspace/build/src/obj-firefox/dist/stl_wrappers -I/builds/worker/workspace/build/src/obj-firefox/dist/system_wrappers -include /builds/worker/workspace/build/src/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DOS_POSIX=1 -DOS_LINUX=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/builds/worker/workspace/build/src/dom/serviceworkers -I/builds/worker/workspace/build/src/obj-firefox/dom/serviceworkers -I/builds/worker/workspace/build/src/obj-firefox/ipc/ipdl/_ipdlheaders -I/builds/worker/workspace/build/src/ipc/chromium/src -I/builds/worker/workspace/build/src/ipc/glue -I/builds/worker/workspace/build/src/extensions/permissions -I/builds/worker/workspace/build/src/js/xpconnect/loader -I/builds/worker/workspace/build/src/obj-firefox/dist/include -I/builds/worker/workspace/build/src/obj-firefox/dist/include/nspr -I/builds/worker/workspace/build/src/obj-firefox/dist/include/nss -fPIC -DMOZILLA_CLIENT -include /builds/worker/workspace/build/src/obj-firefox/mozilla-config.h -Qunused-arguments -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Qunused-arguments -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wunreachable-code -Wunreachable-code-return -Wwrite-strings -Wno-invalid-offsetof -Wclass-varargs -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wc++1z-compat -Wcomma -Wimplicit-fallthrough -Werror=non-literal-null-conversion -Wstring-conversion -Wtautological-overlap-compare -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=backend-plugin -Wformat -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-unknown-warning-option -Wno-return-type-c-linkage -D_GLIBCXX_USE_CXX11_ABI=0 -fno-sized-deallocation -fno-aligned-new -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -g -Xclang -load -Xclang /builds/worker/workspace/build/src/obj-firefox/build/clang-plugin/libclang-plugin.so -Xclang -add-plugin -Xclang moz-check -O2 -fomit-frame-pointer -funwind-tables -Werror -MD -MP -MF .deps/Unified_cpp_dom_serviceworkers1.o.pp /builds/worker/workspace/build/src/obj-firefox/dom/serviceworkers/Unified_cpp_dom_serviceworkers1.cpp
[task 2019-08-16T11:16:25.937Z] 11:16:25 INFO - In file included from /builds/worker/workspace/build/src/obj-firefox/dom/serviceworkers/Unified_cpp_dom_serviceworkers1.cpp:119:
[task 2019-08-16T11:16:25.938Z] 11:16:25 ERROR - /builds/worker/workspace/build/src/dom/serviceworkers/ServiceWorkerPrivate.cpp:101:14: error: unused variable 'rv' [-Werror,-Wunused-variable]
[task 2019-08-16T11:16:25.938Z] 11:16:25 INFO - nsresult rv = inner->Initialize();
[task 2019-08-16T11:16:25.938Z] 11:16:25 INFO - ^
[task 2019-08-16T11:16:25.938Z] 11:16:25 INFO - 1 error generated.
[task 2019-08-16T11:16:25.938Z] 11:16:25 INFO - /builds/worker/workspace/build/src/config/rules.mk:785: recipe for target 'Unified_cpp_dom_serviceworkers1.o' failed
[task 2019-08-16T11:16:25.938Z] 11:16:25 ERROR - make[4]: *** [Unified_cpp_dom_serviceworkers1.o] Error 1
[task 2019-08-16T11:16:25.938Z] 11:16:25 INFO - make[4]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/dom/serviceworkers'
[task 2019-08-16T11:16:25.938Z] 11:16:25 INFO - make[4]: *** Waiting for unfinished jobs....
[task 2019-08-16T11:16:25.938Z] 11:16:25 INFO - make[4]: Entering directory '/builds/worker/workspace/build/src/obj-firefox/widget'
[task 2019-08-16T11:16:25.939Z] 11:16:25 INFO - widget/nsBaseWidget.o

Flags: needinfo?(perry)
Assignee: nobody → perry
Flags: needinfo?(perry)
Attachment #9086180 - Attachment description: Bug 1574457 - Remove unused variable \`rv\` in optimized builds in ServiceWorkerPrivate.cpp r?asuth → Bug 1574457 - Remove unused variable in optimized Beta/Release builds in ServiceWorkerPrivate.cpp r?asuth
Pushed by pjiang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/75b8ef7059a8
Remove unused variable in optimized Beta/Release builds in ServiceWorkerPrivate.cpp r=asuth
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.