zen-browser / desktop

🌀 Experience tranquillity while browsing the web without people tracking you!
https://zen-browser.app
Mozilla Public License 2.0
19.37k stars 467 forks source link

Error: Unable to Start Zen for Local Development on Windows 11 #1478

Closed kristijanribaric closed 2 months ago

kristijanribaric commented 2 months ago

Captchas

What happened?

Description

I'm trying to set up the local development environment to contribute to the project, but I've encountered some issues during the process.

Steps Followed

I followed the steps outlined in the Zen Browser build guide and successfully (as far as I can tell) reached step 6. However, when I run the npm start command, I receive the following error:

krist@IntellegensRiba ~/projects/desktop
$ npm start

> zen-core@1.0.0 start
> cd engine && ./mach run --noprofile

'.' is not recognized as an internal or external command,
operable program or batch file.

krist@IntellegensRiba ~/projects/desktop
$

Manual Attempt

I tried running the command manually, and the result was the following:

krist@IntellegensRiba ~/projects/desktop
$ cd engine

krist@IntellegensRiba ~/projects/desktop/engine
$ ./mach run --noprofile
 0:00.52 'C:/Users/krist/projects/desktop/engine/obj-x86_64-pc-windows-msvc\dist\bin\zen.exe' -no-remote -wait-for-browser -attach-console

At this point, it just hangs with no further output, and I can't type anything unless I hit CTRL + C to exit.

Additional Issue

If Zen is already running when I execute the ./mach run --noprofile command, I get the following popup:

image

Expected Behavior

I expected the browser to launch in the development mode, but it either hangs or triggers the popup when Zen is already running.

Any insights or suggestions to resolve this would be greatly appreciated!

Reproducible?

Version

1.0.1-a

What platform are you seeing the problem on?

Windows

Relevant log output

MozillaBuild Install Directory: C:\mozilla-build\

krist@IntellegensRiba ~/projects/desktop
$ npm run build

> zen-core@1.0.0 build
> surfer build

00:00:00 Applying mozconfig...
00:00:00 Dynamic config 'brand not set, defaulting to 'unofficial'
00:00:00 Dynamic config 'buildMode not set, defaulting to 'dev'
00:00:00 Dynamic config 'buildMode not set, defaulting to 'dev'
00:00:00 Building config based on a dev mode
00:00:00 Config for this `windows` build:
00:00:00        --with-app-name=zen
00:00:00        --with-app-basename=Zen
00:00:00        --enable-official-branding
00:00:00        --with-l10n-base="C:/Users/krist/projects/desktop/engine/browser/locales"
00:00:00        MOZ_USER_DIR="Zen Browser"
00:00:00        MOZ_APP_BASENAME=Zen
00:00:00        MOZ_APP_PROFILE=zen
00:00:00        MOZ_APP_DISPLAYNAME="Zen Browser"
00:00:00        MOZ_BRANDING_DIRECTORY=branding/unofficial
00:00:00        MOZ_OFFICIAL_BRANDING_DIRECTORY=branding/unofficial
00:00:00        MOZ_DISTRIBUTION_ID=com.zen.browser
00:00:00        MOZ_SOURCE_REPO=https://github.com/zen-browser/desktop
00:00:00        MOZ_SOURCE_CHANGESET=359af36098bc17d147a4be29b7da81295d234664
00:00:00        MOZ_INCLUDE_SOURCE_INFO=1
00:00:00        --enable-application=browser
00:00:00        --enable-unverified-updates
00:00:00        --enable-raw
00:00:00        --enable-webrtc
00:00:00        --enable-jxl
00:00:00        --enable-av1
00:00:00        --enable-eme=widevine
00:00:00        --with-unsigned-addon-scopes=app,system
00:00:00        MOZ_DATA_REPORTING=
00:00:00        MOZ_SERVICES_HEALTHREPORT=
00:00:00        MOZ_TELEMETRY_REPORTING=
00:00:00        MOZ_REQUIRE_SIGNING=
00:00:00        MOZ_REQUIRE_SIGNING=
00:00:00        --target=x86_64-pc-windows-msvc
00:00:00        --disable-maintenance-service
00:00:00        --disable-bits-download
00:00:00        POLLY="-mllvm -polly -mllvm -polly-2nd-level-tiling -mllvm -polly-loopfusion-greedy -mllvm -polly-pattern-matching-based-opts -mllvm -polly-position=before-vectorizer -mllvm -polly-vectorizer=stripmine"
00:00:00        VERBOSE=1
00:00:00        --disable-debug
00:00:00        --with-branding=browser/branding/unofficial
00:00:00        --enable-unverified-updates
00:00:00        --enable-update-channel=unofficial
00:00:00        ZEN_FIREFOX_VERSION=130.0
00:00:00        MOZ_APPUPDATE_HOST=updates.zen-browser.app
00:00:00 Starting build...
00:00:00 Building for "windows"...
 WARNING If you get any dependency errors, try running |surfer bootstrap|.
00:00:01 W Clobber not needed.
00:00:01 Using Python 3.11.7 from C:\Users\krist\.mozbuild\srcdirs\engine-a8547091be8c\_virtualenvs\build\Scripts\python.exe
00:00:01 Adding configure options from C:\Users\krist\projects\desktop\engine\mozconfig
00:00:01   --with-app-name=zen
00:00:01   --with-app-basename=Zen
00:00:01   --enable-official-branding
00:00:01   --with-l10n-base=C:/Users/krist/projects/desktop/engine/browser/locales
00:00:01   --enable-application=browser
00:00:01   --enable-unverified-updates
00:00:01   --enable-raw
00:00:01   --enable-webrtc
00:00:01   --enable-jxl
00:00:01   --enable-av1
00:00:01   --enable-eme=widevine
00:00:01   --with-unsigned-addon-scopes=app,system
00:00:01   --target=x86_64-pc-windows-msvc
00:00:01   --disable-maintenance-service
00:00:01   --disable-bits-download
00:00:01   --enable-optimize=-O2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -mfma -maes -ftree-vectorize -Xclang -w
00:00:01   --enable-wasm-avx
00:00:01   --disable-debug
00:00:01   --with-branding=browser/branding/unofficial
00:00:01   --enable-unverified-updates
00:00:01   --enable-update-channel=unofficial
00:00:01   MOZ_SOURCE_CHANGESET=359af36098bc17d147a4be29b7da81295d234664
00:00:01   MOZ_BRANDING_DIRECTORY=branding/unofficial
00:00:01   VERBOSE=1
00:00:01   MOZ_APP_BASENAME=Zen
00:00:01   LDFLAGS=-Wl,-O3 -march=x86-64-v3
00:00:01   MOZ_REQUIRE_SIGNING=
00:00:01   MOZ_USER_DIR=Zen Browser
00:00:01   CPPFLAGS=-O2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -mfma -maes -march=x86-64-v3
00:00:01   CFLAGS=-O2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -mfma -maes -march=x86-64-v3
00:00:01   RUSTFLAGS=-Clink-args=--icf=safe -C target-feature=+avx2 -C codegen-units=1 -Ctarget-cpu=x86-64-v3
00:00:01   POLLY=-mllvm -polly -mllvm -polly-2nd-level-tiling -mllvm -polly-loopfusion-greedy -mllvm -polly-pattern-matching-based-opts -mllvm -polly-position=before-vectorizer -mllvm -polly-vectorizer=stripmine
00:00:01   MOZ_APP_DISPLAYNAME=Zen Browser
00:00:01   MOZ_DISTRIBUTION_ID=com.zen.browser
00:00:01   ZEN_FIREFOX_VERSION=130.0
00:00:01   MOZ_APPUPDATE_HOST=updates.zen-browser.app
00:00:01   CXXFLAGS=-O2 -flto=thin -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -mfma -maes -march=x86-64-v3
00:00:01   MOZ_SOURCE_REPO=https://github.com/zen-browser/desktop
00:00:01   MOZ_INCLUDE_SOURCE_INFO=1
00:00:01   MOZ_OFFICIAL_BRANDING_DIRECTORY=branding/unofficial
00:00:01   MOZ_APP_PROFILE=zen
00:00:01 checking for vcs source checkout... git
00:00:01 checking for a shell... C:/mozilla-build/msys2/usr/bin/sh.exe
00:00:01 checking for host system type... x86_64-pc-windows-msvc
00:00:02 checking for target system type... x86_64-pc-windows-msvc
00:00:02 checking whether cross compiling... no
00:00:02 checking for Python 3... C:/Users/krist/.mozbuild/srcdirs/engine-a8547091be8c/_virtualenvs/build/Scripts/python.exe (3.11.7)
00:00:02 checking for git... C:/PROGRA~1/Git/cmd/git.exe
00:00:02 checking for Git version... 2.45.1.windows.1
00:00:02 checking for sparse checkout... no
00:00:02 checking for MozillaBuild directory... C:\mozilla-build\
00:00:02 checking for MozillaBuild version... 4.1
00:00:02 checking for wget... C:/mozilla-build/msys2/usr/bin/wget.exe
00:00:02 checking for ccache... not found
00:00:02 checking for the target C compiler... C:/Users/krist/.mozbuild/clang/bin/clang-cl.exe
00:00:02 checking whether the target C compiler can be used... yes
00:00:02 checking the target C compiler version... 18.1.7
00:00:02 checking the target C compiler works... yes
00:00:02 checking for the target C++ compiler... C:/Users/krist/.mozbuild/clang/bin/clang-cl.exe
00:00:02 checking whether the target C++ compiler can be used... yes
00:00:02 checking the target C++ compiler version... 18.1.7
00:00:02 checking the target C++ compiler works... yes
00:00:02 checking for the host C compiler... C:/Users/krist/.mozbuild/clang/bin/clang-cl.exe
00:00:02 checking whether the host C compiler can be used... yes
00:00:02 checking the host C compiler version... 18.1.7
00:00:02 checking the host C compiler works... yes
00:00:02 checking for the host C++ compiler... C:/Users/krist/.mozbuild/clang/bin/clang-cl.exe
00:00:02 checking whether the host C++ compiler can be used... yes
00:00:02 checking the host C++ compiler version... 18.1.7
00:00:02 checking the host C++ compiler works... yes
00:00:02 checking for 64-bit OS... yes
00:00:02 checking for Windows SDK... 0x0a00 in 'C:/Users/krist/.mozbuild/vs/Windows Kits/10'
00:00:02 checking for Universal CRT SDK... 10.0.22621.0 in 'C:/Users/krist/.mozbuild/vs/Windows Kits/10'
00:00:02 checking for linker... C:/Users/krist/.mozbuild/clang/bin/lld-link.exe
00:00:02 checking for host_linker... C:/Users/krist/.mozbuild/clang/bin/lld-link.exe
00:00:02 checking for the assembler... C:/Users/krist/.mozbuild/vs/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/ml64.exe
00:00:02 checking for llvm-objdump... C:/Users/krist/.mozbuild/clang/bin/llvm-objdump.exe
00:00:02 checking for rc... C:/Users/krist/.mozbuild/clang/bin/llvm-rc.exe
00:00:02 checking for ar... C:/Users/krist/.mozbuild/clang/bin/llvm-lib.exe
00:00:02 checking whether ar supports response files... no
00:00:02 checking for host_ar... C:/Users/krist/.mozbuild/clang/bin/llvm-lib.exe
00:00:02 checking for -mavxvnni support... yes
00:00:02 checking for -mavx512bw support... yes
00:00:02 checking for -mavx512vnni support... yes
00:00:02 checking for valid C compiler optimization flags... yes
00:00:02 checking for malloc.h... yes
00:00:02 checking for stdint.h... yes
00:00:02 checking for inttypes.h... yes
00:00:02 checking for alloca.h... no
00:00:02 checking for sys/byteorder.h... no
00:00:02 checking for getopt.h... no
00:00:02 checking for unistd.h... no
00:00:02 checking for nl_types.h... no
00:00:02 checking for cpuid.h... yes
00:00:02 checking for fts.h... no
00:00:02 checking for sys/statvfs.h... no
00:00:02 checking for sys/statfs.h... no
00:00:02 checking for sys/vfs.h... no
00:00:02 checking for sys/mount.h... no
00:00:02 checking for sys/quota.h... no
00:00:02 checking for sys/queue.h... no
00:00:02 checking for sys/types.h... yes
00:00:02 checking for netinet/in.h... no
00:00:02 checking for byteswap.h... no
00:00:02 checking for memfd_create in sys/mman.h... no
00:00:02 checking for perf_event_open system call... no
00:00:02 checking whether the C compiler supports -Wbitfield-enum-conversion... yes
00:00:02 checking whether the C++ compiler supports -Wbitfield-enum-conversion... yes
00:00:02 checking whether the C compiler supports -Wformat-type-confusion... yes
00:00:02 checking whether the C++ compiler supports -Wformat-type-confusion... yes
00:00:02 checking whether the C compiler supports -Wshadow-field-in-constructor-modified... yes
00:00:02 checking whether the C++ compiler supports -Wshadow-field-in-constructor-modified... yes
00:00:02 checking whether the C compiler supports -Wtautological-constant-in-range-compare... yes
00:00:02 checking whether the C++ compiler supports -Wtautological-constant-in-range-compare... yes
00:00:02 checking whether the C compiler supports -Wno-error=tautological-type-limit-compare... yes
00:00:02 checking whether the C++ compiler supports -Wno-error=tautological-type-limit-compare... yes
00:00:02 checking whether the C compiler supports -Wunreachable-code-return... yes
00:00:02 checking whether the C++ compiler supports -Wunreachable-code-return... yes
00:00:02 checking whether the C compiler supports -Wunused-but-set-parameter... yes
00:00:02 checking whether the C++ compiler supports -Wunused-but-set-parameter... yes
00:00:02 checking whether the C compiler supports -Wclass-varargs... yes
00:00:02 checking whether the C++ compiler supports -Wclass-varargs... yes
00:00:02 checking whether the C++ compiler supports -Wempty-init-stmt... yes
00:00:02 checking whether the C compiler supports -Wfloat-overflow-conversion... yes
00:00:02 checking whether the C++ compiler supports -Wfloat-overflow-conversion... yes
00:00:02 checking whether the C compiler supports -Wfloat-zero-conversion... yes
00:00:02 checking whether the C++ compiler supports -Wfloat-zero-conversion... yes
00:00:02 checking whether the C compiler supports -Wloop-analysis... yes
00:00:02 checking whether the C++ compiler supports -Wloop-analysis... yes
00:00:02 checking whether the C compiler supports -Wno-range-loop-analysis... yes
00:00:02 checking whether the C++ compiler supports -Wno-range-loop-analysis... yes
00:00:02 checking whether the C++ compiler supports -Wcomma-subscript... no
00:00:02 checking whether the C compiler supports -Wenum-compare-conditional... yes
00:00:02 checking whether the C++ compiler supports -Wenum-compare-conditional... yes
00:00:02 checking whether the C compiler supports -Wenum-float-conversion... yes
00:00:02 checking whether the C++ compiler supports -Wenum-float-conversion... yes
00:00:02 checking whether the C++ compiler supports -Wvolatile... yes
00:00:02 checking whether the C++ compiler supports -Wno-deprecated-anon-enum-enum-conversion... yes
00:00:02 checking whether the C++ compiler supports -Wno-deprecated-enum-enum-conversion... yes
00:00:02 checking whether the C++ compiler supports -Wno-deprecated-this-capture... yes
00:00:02 checking whether the C++ compiler supports -Wcomma... yes
00:00:02 checking whether the C compiler supports -Wduplicated-cond... no
00:00:02 checking whether the C++ compiler supports -Wduplicated-cond... no
00:00:02 checking whether the C++ compiler supports -Wimplicit-fallthrough... yes
00:00:02 checking whether the C compiler supports -Wlogical-op... no
00:00:02 checking whether the C++ compiler supports -Wlogical-op... no
00:00:02 checking whether the C compiler supports -Wstring-conversion... yes
00:00:02 checking whether the C++ compiler supports -Wstring-conversion... yes
00:00:02 checking whether the C++ compiler supports -Wno-inline-new-delete... yes
00:00:02 checking whether the C compiler supports -Wno-error=maybe-uninitialized... no
00:00:02 checking whether the C++ compiler supports -Wno-error=maybe-uninitialized... no
00:00:02 checking whether the C compiler supports -Wno-error=deprecated-declarations... yes
00:00:02 checking whether the C++ compiler supports -Wno-error=deprecated-declarations... yes
00:00:02 checking whether the C compiler supports -Wno-error=array-bounds... yes
00:00:02 checking whether the C++ compiler supports -Wno-error=array-bounds... yes
00:00:02 checking whether the C compiler supports -Wno-error=free-nonheap-object... yes
00:00:02 checking whether the C++ compiler supports -Wno-error=free-nonheap-object... yes
00:00:02 checking whether the C compiler supports -Wno-multistatement-macros... no
00:00:02 checking whether the C++ compiler supports -Wno-multistatement-macros... no
00:00:02 checking whether the C compiler supports -Wno-error=class-memaccess... no
00:00:02 checking whether the C++ compiler supports -Wno-error=class-memaccess... no
00:00:02 checking whether the C compiler supports -Wno-error=atomic-alignment... yes
00:00:02 checking whether the C++ compiler supports -Wno-error=atomic-alignment... yes
00:00:02 checking whether the C compiler supports -Wno-error=deprecated-builtins... yes
00:00:02 checking whether the C++ compiler supports -Wno-error=deprecated-builtins... yes
00:00:02 checking whether the C compiler supports -Wno-unknown-pragmas... yes
00:00:02 checking whether the C++ compiler supports -Wno-unknown-pragmas... yes
00:00:02 checking whether the C compiler supports -Wno-ignored-pragmas... yes
00:00:02 checking whether the C++ compiler supports -Wno-ignored-pragmas... yes
00:00:02 checking whether the C compiler supports -Wno-deprecated-declarations... yes
00:00:02 checking whether the C++ compiler supports -Wno-deprecated-declarations... yes
00:00:02 checking whether the C++ compiler supports -Wno-microsoft-enum-value... yes
00:00:02 checking whether the C++ compiler supports -Wno-microsoft-include... yes
00:00:02 checking whether the C compiler supports -Wno-invalid-noreturn... yes
00:00:02 checking whether the C++ compiler supports -Wno-invalid-noreturn... yes
00:00:02 checking whether the C++ compiler supports -Wno-inconsistent-missing-override... yes
00:00:02 checking whether the C++ compiler supports -Wno-implicit-exception-spec-mismatch... yes
00:00:02 checking whether the C++ compiler supports -Wno-microsoft-exception-spec... yes
00:00:02 checking whether the C++ compiler supports -Wno-unused-local-typedef... yes
00:00:02 checking whether the C++ compiler supports -Wno-ignored-attributes... yes
00:00:02 checking whether the C++ compiler supports -Wno-used-but-marked-unused... yes
00:00:02 checking whether the C compiler supports -Werror=implicit-function-declaration... yes
00:00:02 checking whether the C compiler supports -Wno-psabi... yes
00:00:02 checking whether the C++ compiler supports -Wno-psabi... yes
00:00:02 checking whether the C compiler supports -Wthread-safety... yes
00:00:02 checking whether the C++ compiler supports -Wthread-safety... yes
00:00:02 checking whether the C compiler supports -Wno-error=builtin-macro-redefined... yes
00:00:02 checking whether the C++ compiler supports -Wno-error=builtin-macro-redefined... yes
00:00:02 checking whether the C++ compiler supports -Wno-vla-cxx-extension... yes
00:00:02 checking whether the C compiler supports -Wno-unknown-warning-option... yes
00:00:02 checking whether the C++ compiler supports -Wno-unknown-warning-option... yes
00:00:02 checking whether the C++ compiler supports -fno-sized-deallocation... no
00:00:02 checking whether the C++ compiler supports -fno-aligned-new... no
00:00:02 checking what kind of list files are supported by the linker... list
00:00:02 checking for llvm_profdata... C:/Users/krist/.mozbuild/clang/bin/llvm-profdata.exe
00:00:02 checking whether llvm-profdata supports 'order' subcommand... yes
00:00:02 checking for rustc... C:/Users/krist/.cargo/bin/rustc.exe
00:00:02 checking for cargo... C:/Users/krist/.cargo/bin/cargo.exe
00:00:03 Actually using 'C:\Users\krist\.rustup\toolchains\stable-x86_64-pc-windows-msvc\bin\rustc.exe'
00:00:03 Actually using 'C:\Users\krist\.rustup\toolchains\stable-x86_64-pc-windows-msvc\bin\cargo.exe'
00:00:03 checking rustc version... 1.81.0
00:00:03 checking cargo version... 1.81.0
00:00:03 checking for rust host triplet... x86_64-pc-windows-msvc
00:00:03 checking for rust target triplet... x86_64-pc-windows-msvc
00:00:03 checking for rustdoc... C:/Users/krist/.cargo/bin/rustdoc.exe
00:00:03 checking for cbindgen... C:/Users/krist/.mozbuild/cbindgen/cbindgen.exe
00:00:03 checking for rustfmt... C:/Users/krist/.cargo/bin/rustfmt.exe
00:00:03 checking for clang for bindgen... C:/Users/krist/.mozbuild/clang/bin/clang.exe
00:00:03 checking for libclang for bindgen... C:/Users/krist/.mozbuild/clang/bin/libclang.dll
00:00:03 checking that libclang is new enough... yes
00:00:03 checking bindgen cflags... -x c++ -fno-sized-deallocation -fno-aligned-new -DTRACING=1 -DIMPL_LIBXUL -DMOZILLA_INTERNAL_API -DRUST_BINDGEN -DWIN32=1 -D_CRT_USE_BUILTIN_OFFSETOF -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -std=gnu++17
00:00:03 checking for tm_zone and tm_gmtoff in struct tm... no
00:00:03 checking for _getc_nolock... yes
00:00:03 checking for localeconv... yes
00:00:03 checking for nodejs... C:\Users\krist\.mozbuild\node\node.EXE (18.19.0)
00:00:03 checking for tar... C:/mozilla-build/msys2/usr/bin/tar.exe
00:00:03 checking for unzip... C:/mozilla-build/bin/unzip.exe
00:00:03 checking for the Mozilla API key... no
00:00:03 checking for the Google Location Service API key... no
00:00:03 checking for the Google Safebrowsing API key... no
00:00:03 checking for the Bing API key... no
00:00:03 checking for the Adjust SDK key... no
00:00:03 checking for the Leanplum SDK key... no
00:00:03 checking for the Pocket API key... no
00:00:03 checking for midl... 'C:/Users/krist/.mozbuild/vs/Windows Kits/10/bin/10.0.22621.0/x64/midl.exe'
00:00:03 checking for llvm-dlltool... C:/Users/krist/.mozbuild/clang/bin/llvm-dlltool.exe
00:00:03 checking for fxc... 'C:/Users/krist/.mozbuild/vs/Windows Kits/10/bin/10.0.22621.0/x64/fxc.exe'
00:00:03 checking for nasm... C:/Users/krist/.mozbuild/nasm/nasm.exe
00:00:03 checking nasm version... 2.15.05
00:00:03 Using wasi sysroot in C:/Users/krist/.mozbuild/sysroot-wasm32-wasi
00:00:03 checking for the wasm C compiler... C:/Users/krist/.mozbuild/clang/bin/clang.exe
00:00:03 checking whether the wasm C compiler can be used... yes
00:00:03 checking the wasm C compiler version... 18.1.7
00:00:03 checking the wasm C compiler works... yes
00:00:03 checking the wasm C compiler can find wasi headers... yes
00:00:03 checking the wasm C linker can find wasi libraries... yes
00:00:03 checking for the wasm C++ compiler... C:/Users/krist/.mozbuild/clang/bin/clang++.exe
00:00:03 checking whether the wasm C++ compiler can be used... yes
00:00:03 checking the wasm C++ compiler version... 18.1.7
00:00:03 checking the wasm C++ compiler works... yes
00:00:03 checking the wasm C++ compiler can find wasi headers... yes
00:00:03 checking the wasm C++ linker can find wasi libraries... yes
00:00:03 checking for clock() in wasi sysroot... no
00:00:03 checking for emulated clock() in wasi sysroot... yes
00:00:03 checking for dump_syms... C:/Users/krist/.mozbuild/dump_syms/dump_syms.exe
00:00:03 checking for pdbstr... 'C:/Users/krist/.mozbuild/vs/Windows Kits/10/Debuggers/x64/srcsrv/pdbstr.exe'
00:00:03 checking for winchecksec... C:/Users/krist/.mozbuild/winchecksec/winchecksec.exe
00:00:03 checking for sin_len in struct sockaddr_in... no
00:00:03 checking for sin_len6 in struct sockaddr_in6... no
00:00:03 checking for sa_len in struct sockaddr... no
00:00:03 checking for pthread_cond_timedwait_monotonic_np... no
00:00:03 checking for the windows rust crate source... C:/Users/krist/.mozbuild/windows-rs
00:00:03 checking for awk... C:/mozilla-build/msys2/usr/bin/gawk.exe
00:00:03 checking for gmake... C:/Users/krist/.mozbuild/mozmake/mozmake.exe
00:00:03 checking for watchman... C:/mozilla-build/bin/watchman.exe
00:00:03 checking for watchman version... 20220410.024423.0
00:00:03 checking for xargs... C:/mozilla-build/msys2/usr/bin/xargs.exe
00:00:03 checking for makensisu... C:/Users/krist/.mozbuild/nsis/bin/makensis.exe
00:00:03 checking for NSIS version... 3.07
00:00:03 checking for 32-bit NSIS... yes
00:00:03 checking for 7z... C:/mozilla-build/bin/7z.exe
00:00:03 checking for upx... C:/mozilla-build/bin/upx.exe
00:00:03 checking for m4... C:/mozilla-build/msys2/usr/bin/m4.exe
00:00:04 loading site script C:/mozilla-build/msys2/etc/config.site
00:00:04 loading cache ./config.cache
00:00:04 checking host system type... x86_64-pc-mingw32
00:00:04 checking target system type... x86_64-pc-mingw32
00:00:04 checking build system type... x86_64-pc-mingw32
00:00:04 checking for gcc... (cached) C:/Users/krist/.mozbuild/clang/bin/clang-cl.exe -fms-compatibility-version=19.39 -Xclang -std=gnu99
00:00:04 checking whether the C compiler (C:/Users/krist/.mozbuild/clang/bin/clang-cl.exe -fms-compatibility-version=19.39 -Xclang -std=gnu99 -Gy -Zc:inline -Gw -D_HAS_EXCEPTIONS=0 -O2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -mfma -maes -march=x86-64-v3 -Wl,-O3 -march=x86-64-v3) works... (cached) yes
00:00:04 checking whether the C compiler (C:/Users/krist/.mozbuild/clang/bin/clang-cl.exe -fms-compatibility-version=19.39 -Xclang -std=gnu99 -Gy -Zc:inline -Gw -D_HAS_EXCEPTIONS=0 -O2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -mfma -maes -march=x86-64-v3 -Wl,-O3 -march=x86-64-v3) is a cross-compiler... no
00:00:04 checking whether we are using GNU C... (cached) no
00:00:04 checking whether C:/Users/krist/.mozbuild/clang/bin/clang-cl.exe -fms-compatibility-version=19.39 -Xclang -std=gnu99 accepts -g... (cached) no
00:00:06 checking for c++... (cached) C:/Users/krist/.mozbuild/clang/bin/clang-cl.exe -fms-compatibility-version=19.39 -std:c++17
00:00:06 checking whether the C++ compiler (C:/Users/krist/.mozbuild/clang/bin/clang-cl.exe -fms-compatibility-version=19.39 -std:c++17 -Zc:sizedDealloc- -Gy -Zc:inline -Gw -D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING -TP -GR- -D_HAS_EXCEPTIONS=0 -O2 -flto=thin -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -mfma -maes -march=x86-64-v3 -Wl,-O3 -march=x86-64-v3) works... (cached) yes
00:00:06 checking whether the C++ compiler (C:/Users/krist/.mozbuild/clang/bin/clang-cl.exe -fms-compatibility-version=19.39 -std:c++17 -Zc:sizedDealloc- -Gy -Zc:inline -Gw -D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING -TP -GR- -D_HAS_EXCEPTIONS=0 -O2 -flto=thin -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -mfma -maes -march=x86-64-v3 -Wl,-O3 -march=x86-64-v3) is a cross-compiler... no
00:00:06 checking whether we are using GNU C++... (cached) no
00:00:06 checking whether C:/Users/krist/.mozbuild/clang/bin/clang-cl.exe -fms-compatibility-version=19.39 -std:c++17 accepts -g... (cached) no
00:00:06 checking if app-specific confvars.sh exists... C:/Users/krist/projects/desktop/engine/browser/confvars.sh
00:00:07 creating ./config.data
00:00:07 js/src> loading site script C:/mozilla-build/msys2/etc/config.site
00:00:07 js/src> loading cache ./config.cache
00:00:07 js/src> checking host system type... x86_64-pc-mingw32
00:00:07 js/src> checking target system type... x86_64-pc-mingw32
00:00:07 js/src> checking build system type... x86_64-pc-mingw32
00:00:07 js/src> checking for gcc... (cached) C:/Users/krist/.mozbuild/clang/bin/clang-cl.exe -fms-compatibility-version=19.39 -Xclang -std=gnu99
00:00:07 js/src> checking whether the C compiler (C:/Users/krist/.mozbuild/clang/bin/clang-cl.exe -fms-compatibility-version=19.39 -Xclang -std=gnu99 -Gy -Zc:inline -Gw -D_HAS_EXCEPTIONS=0 -O2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -mfma -maes -march=x86-64-v3 -Wl,-O3 -march=x86-64-v3) works... (cached) yes
00:00:07 js/src> checking whether the C compiler (C:/Users/krist/.mozbuild/clang/bin/clang-cl.exe -fms-compatibility-version=19.39 -Xclang -std=gnu99 -Gy -Zc:inline -Gw -D_HAS_EXCEPTIONS=0 -O2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -mfma -maes -march=x86-64-v3 -Wl,-O3 -march=x86-64-v3) is a cross-compiler... no
00:00:07 js/src> checking whether we are using GNU C... (cached) no
00:00:07 js/src> checking whether C:/Users/krist/.mozbuild/clang/bin/clang-cl.exe -fms-compatibility-version=19.39 -Xclang -std=gnu99 accepts -g... (cached) no
00:00:07 js/src> checking for c++... (cached) C:/Users/krist/.mozbuild/clang/bin/clang-cl.exe -fms-compatibility-version=19.39 -std:c++17
00:00:07 js/src> checking whether the C++ compiler (C:/Users/krist/.mozbuild/clang/bin/clang-cl.exe -fms-compatibility-version=19.39 -std:c++17 -Zc:sizedDealloc- -Gy -Zc:inline -Gw -D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING -TP -GR- -D_HAS_EXCEPTIONS=0 -O2 -flto=thin -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -mfma -maes -march=x86-64-v3 -Wl,-O3 -march=x86-64-v3) works... (cached) yes
00:00:07 js/src> checking whether the C++ compiler (C:/Users/krist/.mozbuild/clang/bin/clang-cl.exe -fms-compatibility-version=19.39 -std:c++17 -Zc:sizedDealloc- -Gy -Zc:inline -Gw -D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING -TP -GR- -D_HAS_EXCEPTIONS=0 -O2 -flto=thin -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -mfma -maes -march=x86-64-v3 -Wl,-O3 -march=x86-64-v3) is a cross-compiler... no
00:00:07 js/src> checking whether we are using GNU C++... (cached) no
00:00:07 js/src> checking whether C:/Users/krist/.mozbuild/clang/bin/clang-cl.exe -fms-compatibility-version=19.39 -std:c++17 accepts -g... (cached) no
00:00:08 js/src> creating ./config.data
00:00:08 Creating config.status
00:00:08 Reticulating splines...
00:00:24 Finished reading 2358 moz.build files in 3.77s
00:00:24 Read 58 gyp files in parallel contributing 0.00s to total wall time
00:00:24 Processed into 16345 build config descriptors in 4.89s
00:00:24 RecursiveMake backend executed in 3.95s
00:00:24   5031 total backend files; 0 created; 0 updated; 5031 unchanged; 0 deleted; 31 -> 1907 Makefile
00:00:24 FasterMake backend executed in 0.39s
00:00:24   12 total backend files; 0 created; 0 updated; 12 unchanged; 0 deleted
00:00:24 VisualStudio backend executed in 1.56s
00:00:24 Generated Visual Studio solution at C:/Users/krist/projects/desktop/engine/obj-x86_64-pc-windows-msvc\msvc\mozilla.sln
00:00:24 Clangd backend executed in 1.36s
00:00:24   1163 total backend files; 0 created; 0 updated; 1163 unchanged; 0 deleted
00:00:24 Total wall time: 16.36s; CPU time: 7.33s; Efficiency: 45%; Untracked: 0.44s
00:00:25 W Adding make options from C:\Users\krist\projects\desktop\engine\mozconfig
00:00:25     MOZ_DATA_REPORTING=
00:00:25     MOZ_SERVICES_HEALTHREPORT=
00:00:25     MOZ_TELEMETRY_REPORTING=
00:00:25     MOZ_REQUIRE_SIGNING=
00:00:25     MOZ_OBJDIR=C:/Users/krist/projects/desktop/engine/obj-x86_64-pc-windows-msvc
00:00:25     OBJDIR=C:/Users/krist/projects/desktop/engine/obj-x86_64-pc-windows-msvc
00:00:25     FOUND_MOZCONFIG=C:/Users/krist/projects/desktop/engine/mozconfig
00:00:25     export FOUND_MOZCONFIG
00:00:25 C:/Users/krist/.mozbuild/mozmake/mozmake.exe -f client.mk -j20 -s
00:00:25 Elapsed: 0.00s; From dist/private: Kept 0 existing; Added/updated 0; Removed 0 files and 0 directories.
00:00:25 Elapsed: 0.00s; From dist/public: Kept 0 existing; Added/updated 0; Removed 0 files and 0 directories.
00:00:25 Elapsed: 0.06s; From dist/xpi-stage: Kept 0 existing; Added/updated 97; Removed 0 files and 0 directories.
00:00:26 Elapsed: 0.59s; From _tests: Kept 0 existing; Added/updated 1413; Removed 0 files and 0 directories.
00:00:26 Elapsed: 1.00s; From dist/bin: Kept 0 existing; Added/updated 2964; Removed 0 files and 0 directories.
00:00:27 Elapsed: 1.92s; From dist/include: Kept 0 existing; Added/updated 7162; Removed 0 files and 0 directories.
00:00:28 config/makefiles/xpidl/necko.xpt
00:00:29 necko_deps_built = C:/Users/krist/projects/desktop/engine/netwerk/base/mozIThirdPartyUtil.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIArrayBufferInputStream.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIAsyncStreamCopier.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIAsyncStreamCopier2.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIAsyncVerifyRedirectCallback.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIAuthInformation.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIAuthModule.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIAuthPrompt.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIAuthPrompt2.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIAuthPromptAdapterFactory.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIAuthPromptCallback.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIAuthPromptProvider.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIBackgroundFileSaver.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIBaseChannel.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIBufferedStreams.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIByteRangeRequest.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsICacheInfoChannel.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsICachingChannel.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsICancelable.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsICaptivePortalService.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIChannel.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIChannelEventSink.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIChildChannel.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIClassOfService.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIClassifiedChannel.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIContentSniffer.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIDHCPClient.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIDashboard.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIDashboardEventNotifier.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIDownloader.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIEncodedChannel.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIExternalProtocolHandler.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIFileStreams.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIFileURL.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIForcePendingChannel.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIFormPOSTActionChannel.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIHttpAuthenticatorCallback.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIHttpPushListener.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIIOService.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIIncrementalDownload.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIIncrementalStreamLoader.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIInputStreamChannel.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIInputStreamPump.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIInterceptionInfo.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsILoadContextInfo.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsILoadGroup.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsILoadGroupChild.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsILoadInfo.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIMIMEInputStream.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIMultiPartChannel.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsINestedURI.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsINetAddr.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsINetUtil.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsINetworkConnectivityService.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsINetworkInfoService.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsINetworkInterceptController.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsINetworkLinkService.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsINetworkPredictor.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsINetworkPredictorVerifier.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsINullChannel.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIParentChannel.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIParentRedirectingChannel.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIPermission.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIPermissionManager.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIPrivateBrowsingChannel.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIProgressEventSink.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIPrompt.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIProtocolHandler.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIProtocolProxyCallback.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIProtocolProxyFilter.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIProtocolProxyService.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIProtocolProxyService2.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIProxiedChannel.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIProxiedProtocolHandler.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIProxyInfo.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIRandomGenerator.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIRedirectChannelRegistrar.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIRedirectHistoryEntry.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIRedirectResultListener.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIRequest.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIRequestContext.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIRequestObserver.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIRequestObserverProxy.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIResumableChannel.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsISecCheckWrapChannel.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsISecureBrowserUI.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsISensitiveInfoHiddenURI.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsISerializationHelper.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIServerSocket.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsISimpleStreamListener.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsISimpleURIMutator.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsISocketFilter.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsISocketTransport.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsISocketTransportService.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsISpeculativeConnect.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIStandardURL.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIStreamListener.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIStreamListenerTee.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIStreamLoader.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIStreamTransportService.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsISyncStreamListener.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsISystemProxySettings.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsITLSServerSocket.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIThreadRetargetableRequest.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIThreadRetargetableStreamListener.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsIThrottledInputChannel.idl C:/Users/krist/projects/desktop/engine/netwerk/base/nsITimedChannel.idl
00:00:29 config/makefiles/xpidl/xptdata.stub
00:00:30 toolkit/library/rust/gkrust.lib
00:00:30 warning: C:\Users\krist\projects\desktop\engine\toolkit\library\rust\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\toolkit\library\rust\Cargo.toml: unused manifest key: lib.plugin
00:00:30 warning: C:\Users\krist\projects\desktop\engine\security\manager\ssl\cert_storage\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\toolkit\components\glean\tests\gtest\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\tools\profiler\rust-helper\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\toolkit\components\bitsdownload\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\dom\fs\parent\rust\mime-guess-ffi\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\toolkit\components\bitsdownload\bits_client\bits\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\netwerk\base\rust-helper\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\dom\media\webrtc\sdp\rsdparsa_capi\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\intl\encoding_glue\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\modules\libpref\parser\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\toolkit\components\cascade_bloom_filter\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\toolkit\components\kvstore\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\toolkit\components\bitsdownload\bits_client\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\js\src\rust\shared\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\js\src\rust\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\toolkit\components\processtools\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\storage\variant\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\xpcom\rust\gtest\nsstring\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\dom\media\gtest\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\toolkit\library\rust\shared\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\toolkit\library\rust\shared\Cargo.toml: unused manifest key: lib.plugin
00:00:30 warning: C:\Users\krist\projects\desktop\engine\toolkit\library\gtest\rust\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\toolkit\library\gtest\rust\Cargo.toml: unused manifest key: lib.plugin
00:00:30 warning: C:\Users\krist\projects\desktop\engine\dom\fs\parent\rust\data-encoding-ffi\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\xpcom\rust\malloc_size_of_derive\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\netwerk\base\mozurl\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\js\src\fuzz-tests\gluesmith\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\xpcom\rust\gtest\bench-collections\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:30 warning: C:\Users\krist\projects\desktop\engine\xpcom\rust\gtest\xpcom\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
00:00:37 toolkit/library/buildid.cpp.stub
00:00:37 xpcom/reflect/xptinfo
00:00:37 xpcom/components
00:00:37 clang-cl: warning: unknown argument ignored in clang-cl: '-ftree-vectorize' [-Wunknown-argument]
00:00:37 clang-cl: warning: unknown argument ignored in clang-cl: '-ftree-vectorize' [-Wunknown-argument]
00:00:37 warning: trait `HasFloat` is never used
00:00:37   --> third_party\rust\bindgen\ir\item.rs:89:18
00:00:37    |
00:00:37 89 | pub(crate) trait HasFloat {
00:00:37    |                  ^^^^^^^^
00:00:37    |
00:00:37    = note: `#[warn(dead_code)]` on by default
00:00:37 warning: `bindgen` (lib) generated 1 warning
00:00:37 warning: swgl@0.1.0: clang-cl: warning: unknown argument ignored in clang-cl: '-ftree-vectorize' [-Wunknown-argument]
00:00:37 warning: mozglue-static@0.1.0: clang-cl: warning: unknown argument ignored in clang-cl: '-ftree-vectorize' [-Wunknown-argument]
00:00:37     Finished `release` profile [optimized] target(s) in 7.10s
00:00:47 toolkit/library/build/xul.dll
00:00:47 lld-link: warning: ignoring unknown argument '-Wl,-O3'
00:00:47 lld-link: warning: ignoring unknown argument '-march=x86-64-v3'
00:10:29 10:28.72   Input File Reading:            2686 ms (  0.5%)
00:10:29 10:28.72   LTO:                         573100 ms ( 98.4%)
00:10:29 10:28.72   GC:                            1149 ms (  0.2%)
00:10:29 10:28.72   ICF:                            162 ms (  0.0%)
00:10:29 10:28.72   Code Layout:                    220 ms (  0.0%)
00:10:29 10:28.72   Commit Output File:               8 ms (  0.0%)
00:10:29 10:28.72   PDB Emission (Cumulative):     4615 ms (  0.8%)
00:10:29 10:28.72     Add Objects:                 3031 ms (  0.5%)
00:10:29 10:28.72       Global Type Hashing:        840 ms (  0.1%)
00:10:29 10:28.72       GHash Type Merging:         924 ms (  0.2%)
00:10:29 10:28.72       Symbol Merging:            1260 ms (  0.2%)
00:10:29 10:28.72     Publics Stream Layout:         41 ms (  0.0%)
00:10:29 10:28.72     TPI Stream Layout:             26 ms (  0.0%)
00:10:29 10:28.72     Commit to Disk:              1220 ms (  0.2%)
00:10:29 10:28.72 --------------------------------------------------
00:10:29 10:28.72 Total Linking Time:            582200 ms (100.0%)
00:10:31 10:29.99 ./dependentlibs.list.stub
00:10:31 10:30.94 Traceback (most recent call last):
00:10:31 10:30.94   File "<frozen runpy>", line 198, in _run_module_as_main
00:10:31 10:30.94   File "<frozen runpy>", line 88, in _run_code
00:10:31 10:30.94   File "c:\users\krist\projects\desktop\engine\python\mozbuild\mozbuild\action\jar_maker.py", line 15, in <module>
00:10:31 10:30.94     sys.exit(main(sys.argv[1:]))
00:10:31 10:30.94              ^^^^^^^^^^^^^^^^^^
00:10:31 10:30.94   File "c:\users\krist\projects\desktop\engine\python\mozbuild\mozbuild\action\jar_maker.py", line 11, in main
00:10:31 10:30.94     return mozbuild.jar.main(args)
00:10:31 10:30.94            ^^^^^^^^^^^^^^^^^^^^^^^
00:10:31 10:30.94   File "c:\users\krist\projects\desktop\engine\python\mozbuild\mozbuild\jar.py", line 645, in main
00:10:31 10:30.95     jm.makeJar(infile, options.d)
00:10:31 10:30.95   File "c:\users\krist\projects\desktop\engine\python\mozbuild\mozbuild\jar.py", line 368, in makeJar
00:10:31 10:30.95     self.processJarSection(info, jardir)
00:10:31 10:30.95   File "c:\users\krist\projects\desktop\engine\python\mozbuild\mozbuild\jar.py", line 419, in processJarSection
00:10:31 10:30.95     self._processEntryLine(e, outHelper, jf)
00:10:31 10:30.95   File "c:\users\krist\projects\desktop\engine\python\mozbuild\mozbuild\jar.py", line 497, in _processEntryLine
00:10:31 10:30.95     raise RuntimeError(
00:10:31 10:30.95 RuntimeError: File "content/zen-components/src/ZenViewSplitter.mjs" not found in C:\Users\krist\projects\desktop\engine\browser\base, C:\Users\krist\projects\desktop\engine\obj-x86_64-pc-windows-msvc\browser\base
00:10:32 10:30.98 mozmake[4]: *** [C:/Users/krist/projects/desktop/engine/config/rules.mk:877: misc] Error 1
00:10:32 10:30.98 mozmake[3]: *** [C:/Users/krist/projects/desktop/engine/config/recurse.mk:94: browser/base/misc] Error 2
00:10:32 10:30.98 mozmake[3]: *** Waiting for unfinished jobs....
00:10:33 10:32.87 mozmake[2]: *** [C:/Users/krist/projects/desktop/engine/config/recurse.mk:34: misc] Error 2
00:10:33 10:32.87 mozmake[1]: *** [C:/Users/krist/projects/desktop/engine/config/rules.mk:359: default] Error 2
00:10:33 10:32.87 mozmake: *** [client.mk:60: build] Error 2
00:10:33 10:32.90 W 2 compiler warnings present.
00:10:34  C:/Users/krist/projects/desktop/engine/obj-x86_64-pc-windows-msvc/config.status is out of date with respect to C:/Users/krist/projects/desktop/engine/browser/config/version.txt
00:10:34 Configure complete!
00:10:34 Be sure to run |mach build| to pick up any changes
00:10:34   Parallelism determined by memory: using 20 jobs for 20 cores based on 31.7 GiB RAM and estimated job size of 1.0 GiB

krist@IntellegensRiba ~/projects/desktop
$ cd engine/

krist@IntellegensRiba ~/projects/desktop/engine
$ ./mach run --noprofile
 0:00.55 'C:/Users/krist/projects/desktop/engine/obj-x86_64-pc-windows-msvc\dist\bin\zen.exe' -no-remote -wait-for-browser -attach-console

krist@IntellegensRiba ~/projects/desktop/engine
$ ./mach run
 0:00.51 'C:/Users/krist/projects/desktop/engine/obj-x86_64-pc-windows-msvc\dist\bin\zen.exe' -no-remote -wait-for-browser -profile 'C:\Users\krist\projects\desktop\engine\obj-x86_64-pc-windows-msvc\tmp\profile-default' -attach-console
linear[bot] commented 2 months ago

ZEN-1567 Error: Unable to Start Zen for Local Development on Windows 11

kristijanribaric commented 2 months ago

I've deleted the whole local repo and went through all the steps again and now after running ./mach run I only get the following error:

image

kristijanribaric commented 2 months ago

Aight I ran npm run init and npm run build and every other command I could find and I am not getting the error popup anymore, but the browser is not launching. I can see that the task "Nightly" started in Task Manager but that's about it.

kristijanribaric commented 2 months ago

Managed to get it working.

Couple of notes for making it work on Windows 11.

Step 4 just isn't working and not updating the language packs caused the error window from before. Solution that worked for me is manually copying content from ./l10n/en-US/browser to ./engine/browser/locales/en-US after successful run of npm run init. Also, Step 5 will fail if you don't apply this workaround.

Might be a good idea to add these workarounds for building on Windows to Contributing Docs until there is a fix.

mr-cheff commented 2 months ago

They are added though https://docs.zen-browser.app/contribute/desktop#step-4-update-language-packs. Glad it works now!