-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Description
I have tried to run ./Meta/serenity.sh run
, this is the output:
build_jakt: /Users/ljian/CTF/Kernel/serenity/Toolchain/Local/jakt
[dependencies] Checking whether 'ninja' is available...
[dependencies] Checking whether 'cmake' is available...
[dependencies] Checking whether your C++ compiler works...
~/CTF/Kernel/serenity/Toolchain/Tarballs ~/CTF/Kernel/serenity/Toolchain
Using existing Jakt source directory
~/CTF/Kernel/serenity/Toolchain
Expected 1fed928d0abf08188e48fe765ab68e5047c05ec2 but found none (for local host)
~/CTF/Kernel/serenity/Toolchain/Build/jakt ~/CTF/Kernel/serenity/Toolchain
XXX configure jakt
[jakt/configure] -- The CXX compiler identification is AppleClang 17.0.0.17000013
[jakt/configure] -- The C compiler identification is AppleClang 17.0.0.17000013
[jakt/configure] -- Detecting CXX compiler ABI info
[jakt/configure] -- Detecting CXX compiler ABI info - done
[jakt/configure] -- Check for working CXX compiler: /usr/bin/c++ - skipped
[jakt/configure] -- Detecting CXX compile features
[jakt/configure] -- Detecting CXX compile features - done
[jakt/configure] -- Detecting C compiler ABI info
[jakt/configure] -- Detecting C compiler ABI info - done
[jakt/configure] -- Check for working C compiler: /usr/bin/cc - skipped
[jakt/configure] -- Detecting C compile features
[jakt/configure] -- Detecting C compile features - done
[jakt/configure] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
[jakt/configure] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
[jakt/configure] -- Found Threads: TRUE
[jakt/configure] -- Could NOT find Clang (missing: Clang_DIR)
[jakt/configure] -- Using none as the cpp import processor (using Clang=OFF, resource dir=)
[jakt/configure] -- Using preexisting AK directory from SERENITY_SOURCE_DIR: /Users/ljian/CTF/Kernel/serenity/Toolchain/../AK
[jakt/configure] CMake Warning (dev) at /opt/homebrew/share/cmake/Modules/FetchContent.cmake:1953 (message):
[jakt/configure] Calling FetchContent_Populate(Serenity) is deprecated, call
[jakt/configure] FetchContent_MakeAvailable(Serenity) instead. Policy CMP0169 can be set to
[jakt/configure] OLD to allow FetchContent_Populate(Serenity) to be called directly for now,
[jakt/configure] but the ability to call it with declared details will be removed completely
[jakt/configure] in a future version.
[jakt/configure] Call Stack (most recent call first):
[jakt/configure] runtime/CMakeLists.txt:24 (FetchContent_Populate)
[jakt/configure] This warning is for project developers. Use -Wno-dev to suppress it.
[jakt/configure]
[jakt/configure] -- Making the jakt runtime available for arm64-unknown-darwin-unknown
[jakt/configure] -- If this is windows, '' should be nonempty
[jakt/configure] -- Building for target arm64-unknown-darwin-unknown
[jakt/configure] CMake Warning (dev) at cmake/symlink.cmake:41 (add_custom_command):
[jakt/configure] The following keywords are not supported when using
[jakt/configure] add_custom_command(TARGET): DEPENDS.
[jakt/configure]
[jakt/configure] Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
[jakt/configure] Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy
[jakt/configure] command to set the policy and suppress this warning.
[jakt/configure] Call Stack (most recent call first):
[jakt/configure] CMakeLists.txt:294 (add_symlink_command)
[jakt/configure] This warning is for project developers. Use -Wno-dev to suppress it.
[jakt/configure]
[jakt/configure] -- Configuring done (1.8s)
[jakt/configure] -- Generating done (0.0s)
[jakt/configure] -- Build files have been written to: /Users/ljian/CTF/Kernel/serenity/Toolchain/Build/jakt
XXX build jakt
[jakt/build] [0/2] Re-checking globbed directories...
[jakt/build] [238/240] Building CXX object CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/types.cpp.o
FAILED: CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/types.cpp.o
/opt/homebrew/bin/ccache /usr/bin/c++ -I/Users/ljian/CTF/Kernel/serenity/Toolchain/Tarballs/jakt-1fed928d0abf08188e48fe765ab68e5047c05ec2/runtime -O3 -DNDEBUG -std=gnu++20 -arch arm64 -Wall -Wextra -Werror -Wno-maybe-uninitialized -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-trigraphs -Wno-parentheses-equality -Wno-unqualified-std-cast-call -Wno-user-defined-literals -Wno-literal-suffix -Wno-return-type -Wno-deprecated-declarations -Wno-unknown-warning-option -Wno-unused-command-line-argument -Wno-unused-lambda-capture -Wno-reorder-ctor -Wno-dangling-reference -Wno-type-limits -Wno-unknown-attributes -Wno-invalid-offsetof -fno-exceptions -fdiagnostics-color=always -MD -MT CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/types.cpp.o -MF CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/types.cpp.o.d -o CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/types.cpp.o -c /Users/ljian/CTF/Kernel/serenity/Toolchain/Build/jakt/jakt_stage1_tmp/types.cpp
/Users/ljian/CTF/Kernel/serenity/Toolchain/Build/jakt/jakt_stage1_tmp/types.cpp:2735:1: error: ignoring temporary created by a constructor declared with 'nodiscard' attribute [-Werror,-Wunused-value]
2735 | TRY((this->template for_each_scope_accessible_unqualified_from_scope<JaktInternal::Tuple<JaktInternal::DynamicArray<Jakt::ids::FunctionId>,Jakt::ids::ScopeId>>(parent_scope_id,[function_name, &result_ids, &result_scope, this](Jakt::types::ResolutionMixin mixin, JaktInternal::Optional<ByteString> name_override, bool is_alias) -> ErrorOr<typename Jakt::utility::IterationDecision<JaktInternal::Tuple<JaktInternal::DynamicArray<Jakt::ids::FunctionId>,Jakt::ids::ScopeId>>> {{
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2736 | if (!mixin.mixin_functions){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2737 | return Jakt::utility::IterationDecision<JaktInternal::Tuple<JaktInternal::DynamicArray<Jakt::ids::FunctionId>,Jakt::ids::ScopeId>>::Continue();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2738 | }
| ~
2739 | NonnullRefPtr<Jakt::types::Scope> const scope = this->get_scope(mixin.scope_id);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2740 | JaktInternal::Optional<JaktInternal::DynamicArray<Jakt::ids::FunctionId>> const maybe_functions = scope->functions.get(function_name);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2741 | if (maybe_functions.has_value()){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2742 | result_ids.push_values(maybe_functions.value());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2743 | if (!result_scope.has_value()){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2744 | result_scope = mixin.scope_id;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2745 | }
| ~
2746 | }
| ~
2747 | return Jakt::utility::IterationDecision<JaktInternal::Tuple<JaktInternal::DynamicArray<Jakt::ids::FunctionId>,Jakt::ids::ScopeId>>::Continue();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2748 | }
| ~
2749 | }
| ~
2750 | ,ignore_mixin_scopes,root_scope)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ljian/CTF/Kernel/serenity/Toolchain/Tarballs/jakt-1fed928d0abf08188e48fe765ab68e5047c05ec2/runtime/AK/Try.h:33:9: note: expanded from macro 'TRY'
33 | _temporary_result.release_value(); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[jakt/build] [239/240] Building CXX object CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/typechecker.cpp.o
FAILED: CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/typechecker.cpp.o
/opt/homebrew/bin/ccache /usr/bin/c++ -I/Users/ljian/CTF/Kernel/serenity/Toolchain/Tarballs/jakt-1fed928d0abf08188e48fe765ab68e5047c05ec2/runtime -O3 -DNDEBUG -std=gnu++20 -arch arm64 -Wall -Wextra -Werror -Wno-maybe-uninitialized -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-trigraphs -Wno-parentheses-equality -Wno-unqualified-std-cast-call -Wno-user-defined-literals -Wno-literal-suffix -Wno-return-type -Wno-deprecated-declarations -Wno-unknown-warning-option -Wno-unused-command-line-argument -Wno-unused-lambda-capture -Wno-reorder-ctor -Wno-dangling-reference -Wno-type-limits -Wno-unknown-attributes -Wno-invalid-offsetof -fno-exceptions -fdiagnostics-color=always -MD -MT CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/typechecker.cpp.o -MF CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/typechecker.cpp.o.d -o CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/typechecker.cpp.o -c /Users/ljian/CTF/Kernel/serenity/Toolchain/Build/jakt/jakt_stage1_tmp/typechecker.cpp
/Users/ljian/CTF/Kernel/serenity/Toolchain/Build/jakt/jakt_stage1_tmp/typechecker.cpp:9423:1: error: ignoring temporary created by a constructor declared with 'nodiscard' attribute [-Werror,-Wunused-value]
9423 | TRY((this->typecheck_statement(var_decl_stmt,wrapped_scope_id,Jakt::types::SafetyMode::Safe(),JaktInternal::OptionalNone())));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ljian/CTF/Kernel/serenity/Toolchain/Tarballs/jakt-1fed928d0abf08188e48fe765ab68e5047c05ec2/runtime/AK/Try.h:33:9: note: expanded from macro 'TRY'
33 | _temporary_result.release_value(); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
build_jakt: /Users/ljian/CTF/Kernel/serenity/Toolchain/Local/jakt
[dependencies] Checking whether 'ninja' is available...
[dependencies] Checking whether 'cmake' is available...
[dependencies] Checking whether your C++ compiler works...
~/CTF/Kernel/serenity/Toolchain/Tarballs ~/CTF/Kernel/serenity/Toolchain
Using existing Jakt source directory
~/CTF/Kernel/serenity/Toolchain
Expected 1fed928d0abf08188e48fe765ab68e5047c05ec2 but found none (for local host)
~/CTF/Kernel/serenity/Toolchain/Build/jakt ~/CTF/Kernel/serenity/Toolchain
XXX configure jakt
[jakt/configure] -- The CXX compiler identification is AppleClang 17.0.0.17000013
[jakt/configure] -- The C compiler identification is AppleClang 17.0.0.17000013
[jakt/configure] -- Detecting CXX compiler ABI info
[jakt/configure] -- Detecting CXX compiler ABI info - done
[jakt/configure] -- Check for working CXX compiler: /usr/bin/c++ - skipped
[jakt/configure] -- Detecting CXX compile features
[jakt/configure] -- Detecting CXX compile features - done
[jakt/configure] -- Detecting C compiler ABI info
[jakt/configure] -- Detecting C compiler ABI info - done
[jakt/configure] -- Check for working C compiler: /usr/bin/cc - skipped
[jakt/configure] -- Detecting C compile features
[jakt/configure] -- Detecting C compile features - done
[jakt/configure] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
[jakt/configure] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
[jakt/configure] -- Found Threads: TRUE
[jakt/configure] -- Could NOT find Clang (missing: Clang_DIR)
[jakt/configure] -- Using none as the cpp import processor (using Clang=OFF, resource dir=)
[jakt/configure] -- Using preexisting AK directory from SERENITY_SOURCE_DIR: /Users/ljian/CTF/Kernel/serenity/Toolchain/../AK
[jakt/configure] CMake Warning (dev) at /opt/homebrew/share/cmake/Modules/FetchContent.cmake:1953 (message):
[jakt/configure] Calling FetchContent_Populate(Serenity) is deprecated, call
[jakt/configure] FetchContent_MakeAvailable(Serenity) instead. Policy CMP0169 can be set to
[jakt/configure] OLD to allow FetchContent_Populate(Serenity) to be called directly for now,
[jakt/configure] but the ability to call it with declared details will be removed completely
[jakt/configure] in a future version.
[jakt/configure] Call Stack (most recent call first):
[jakt/configure] runtime/CMakeLists.txt:24 (FetchContent_Populate)
[jakt/configure] This warning is for project developers. Use -Wno-dev to suppress it.
[jakt/configure]
[jakt/configure] -- Making the jakt runtime available for arm64-unknown-darwin-unknown
[jakt/configure] -- If this is windows, '' should be nonempty
[jakt/configure] -- Building for target arm64-unknown-darwin-unknown
[jakt/configure] CMake Warning (dev) at cmake/symlink.cmake:41 (add_custom_command):
[jakt/configure] The following keywords are not supported when using
[jakt/configure] add_custom_command(TARGET): DEPENDS.
[jakt/configure]
[jakt/configure] Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
[jakt/configure] Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy
[jakt/configure] command to set the policy and suppress this warning.
[jakt/configure] Call Stack (most recent call first):
[jakt/configure] CMakeLists.txt:294 (add_symlink_command)
[jakt/configure] This warning is for project developers. Use -Wno-dev to suppress it.
[jakt/configure]
[jakt/configure] -- Configuring done (1.8s)
[jakt/configure] -- Generating done (0.0s)
[jakt/configure] -- Build files have been written to: /Users/ljian/CTF/Kernel/serenity/Toolchain/Build/jakt
XXX build jakt
[jakt/build] [0/2] Re-checking globbed directories...
[jakt/build] [238/240] Building CXX object CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/types.cpp.o
FAILED: CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/types.cpp.o
/opt/homebrew/bin/ccache /usr/bin/c++ -I/Users/ljian/CTF/Kernel/serenity/Toolchain/Tarballs/jakt-1fed928d0abf08188e48fe765ab68e5047c05ec2/runtime -O3 -DNDEBUG -std=gnu++20 -arch arm64 -Wall -Wextra -Werror -Wno-maybe-uninitialized -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-trigraphs -Wno-parentheses-equality -Wno-unqualified-std-cast-call -Wno-user-defined-literals -Wno-literal-suffix -Wno-return-type -Wno-deprecated-declarations -Wno-unknown-warning-option -Wno-unused-command-line-argument -Wno-unused-lambda-capture -Wno-reorder-ctor -Wno-dangling-reference -Wno-type-limits -Wno-unknown-attributes -Wno-invalid-offsetof -fno-exceptions -fdiagnostics-color=always -MD -MT CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/types.cpp.o -MF CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/types.cpp.o.d -o CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/types.cpp.o -c /Users/ljian/CTF/Kernel/serenity/Toolchain/Build/jakt/jakt_stage1_tmp/types.cpp
/Users/ljian/CTF/Kernel/serenity/Toolchain/Build/jakt/jakt_stage1_tmp/types.cpp:2735:1: error: ignoring temporary created by a constructor declared with 'nodiscard' attribute [-Werror,-Wunused-value]
2735 | TRY((this->template for_each_scope_accessible_unqualified_from_scope<JaktInternal::Tuple<JaktInternal::DynamicArray<Jakt::ids::FunctionId>,Jakt::ids::ScopeId>>(parent_scope_id,[function_name, &result_ids, &result_scope, this](Jakt::types::ResolutionMixin mixin, JaktInternal::Optional<ByteString> name_override, bool is_alias) -> ErrorOr<typename Jakt::utility::IterationDecision<JaktInternal::Tuple<JaktInternal::DynamicArray<Jakt::ids::FunctionId>,Jakt::ids::ScopeId>>> {{
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2736 | if (!mixin.mixin_functions){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2737 | return Jakt::utility::IterationDecision<JaktInternal::Tuple<JaktInternal::DynamicArray<Jakt::ids::FunctionId>,Jakt::ids::ScopeId>>::Continue();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2738 | }
| ~
2739 | NonnullRefPtr<Jakt::types::Scope> const scope = this->get_scope(mixin.scope_id);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2740 | JaktInternal::Optional<JaktInternal::DynamicArray<Jakt::ids::FunctionId>> const maybe_functions = scope->functions.get(function_name);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2741 | if (maybe_functions.has_value()){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2742 | result_ids.push_values(maybe_functions.value());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2743 | if (!result_scope.has_value()){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2744 | result_scope = mixin.scope_id;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2745 | }
| ~
2746 | }
| ~
2747 | return Jakt::utility::IterationDecision<JaktInternal::Tuple<JaktInternal::DynamicArray<Jakt::ids::FunctionId>,Jakt::ids::ScopeId>>::Continue();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2748 | }
| ~
2749 | }
| ~
2750 | ,ignore_mixin_scopes,root_scope)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ljian/CTF/Kernel/serenity/Toolchain/Tarballs/jakt-1fed928d0abf08188e48fe765ab68e5047c05ec2/runtime/AK/Try.h:33:9: note: expanded from macro 'TRY'
33 | _temporary_result.release_value(); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[jakt/build] [239/240] Building CXX object CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/typechecker.cpp.o
FAILED: CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/typechecker.cpp.o
/opt/homebrew/bin/ccache /usr/bin/c++ -I/Users/ljian/CTF/Kernel/serenity/Toolchain/Tarballs/jakt-1fed928d0abf08188e48fe765ab68e5047c05ec2/runtime -O3 -DNDEBUG -std=gnu++20 -arch arm64 -Wall -Wextra -Werror -Wno-maybe-uninitialized -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-trigraphs -Wno-parentheses-equality -Wno-unqualified-std-cast-call -Wno-user-defined-literals -Wno-literal-suffix -Wno-return-type -Wno-deprecated-declarations -Wno-unknown-warning-option -Wno-unused-command-line-argument -Wno-unused-lambda-capture -Wno-reorder-ctor -Wno-dangling-reference -Wno-type-limits -Wno-unknown-attributes -Wno-invalid-offsetof -fno-exceptions -fdiagnostics-color=always -MD -MT CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/typechecker.cpp.o -MF CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/typechecker.cpp.o.d -o CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/typechecker.cpp.o -c /Users/ljian/CTF/Kernel/serenity/Toolchain/Build/jakt/jakt_stage1_tmp/typechecker.cpp
/Users/ljian/CTF/Kernel/serenity/Toolchain/Build/jakt/jakt_stage1_tmp/typechecker.cpp:9423:1: error: ignoring temporary created by a constructor declared with 'nodiscard' attribute [-Werror,-Wunused-value]
9423 | TRY((this->typecheck_statement(var_decl_stmt,wrapped_scope_id,Jakt::types::SafetyMode::Safe(),JaktInternal::OptionalNone())));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ljian/CTF/Kernel/serenity/Toolchain/Tarballs/jakt-1fed928d0abf08188e48fe765ab68e5047c05ec2/runtime/AK/Try.h:33:9: note: expanded from macro 'TRY'
33 | _temporary_result.release_value(); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
[0/5] Performing build step for 'lagom'
ninja: no work to do.
[1/5] Performing install step for 'lagom'
[0/1] Install the project...
-- Install configuration: ""
[2/5] Performing build step for 'serenity'
[1/1] Running utility command for create_compat_ssp_libraries
[3/5] Performing install step for 'serenity'
[1/2] Install the project...
-- Install configuration: ""
[5/5] Completed 'serenity'
ninja: Entering directory `/Users/ljian/CTF/Kernel/serenity/Build/aarch64'
[1/2] Install the project...
-- Install configuration: ""
ninja: Entering directory `/Users/ljian/CTF/Kernel/serenity/Build/aarch64'
[0/1] cd /Users/ljian/CTF/Kernel/serenity/Build/aarch64 &&... /Users/ljian/CTF/Kernel/serenity/Meta/build-image-qemu.sh
Password:
checking existing image
e2fsck 1.47.2 (1-Jan-2025)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Free blocks count wrong for group #0 (15397, counted=15387).
Fix? yes
Free blocks count wrong for group #6 (0, counted=14).
Fix? yes
Free blocks count wrong for group #7 (1056, counted=1098).
Fix? yes
Free blocks count wrong (274308, counted=274354).
Fix? yes
Free inodes count wrong for group #4 (5741, counted=5756).
Fix? yes
Free inodes count wrong (96909, counted=96924).
Fix? yes
_disk_image: ***** FILE SYSTEM WAS MODIFIED *****
_disk_image: 35684/132608 files (0.2% non-contiguous), 249934/524288 blocks
done
mounting filesystem... mount_macfuse: mount point /Users/ljian/CTF/Kernel/serenity/Build/aarch64/mnt is itself on a macFUSE volume
die: could not mount filesystem and genext2fs is missing
FAILED: CMakeFiles/qemu-image _disk_image /Users/ljian/CTF/Kernel/serenity/Build/aarch64/CMakeFiles/qemu-image /Users/ljian/CTF/Kernel/serenity/Build/aarch64/_disk_image
cd /Users/ljian/CTF/Kernel/serenity/Build/aarch64 && /opt/homebrew/bin/cmake -E env SERENITY_SOURCE_DIR=/Users/ljian/CTF/Kernel/serenity SERENITY_ARCH=aarch64 SERENITY_TOOLCHAIN=GNU LLVM_VERSION=13.2.0 /Users/ljian/CTF/Kernel/serenity/Meta/build-image-qemu.sh
ninja: build stopped: subcommand failed.
~/C/K/serenity (master|✚1) [1]$ ./Meta/serenity.sh run^C (base)
~/C/K/serenity (master|✚1) [1]$ uname -a (base)
Darwin RocketMacAir.local 24.3.0 Darwin Kernel Version 24.3.0: Thu Jan 2 20:23:36 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T8112 arm64
~/C/K/serenity (master|✚1) $ brew install genext2fs (base)
==> Downloading https://formulae.brew.sh/api/formula.jws.json
==> Downloading https://formulae.brew.sh/api/cask.jws.json
==> Downloading https://ghcr.io/v2/homebrew/core/genext2fs/manifests/1.5.0
################################################################################################################# 100.0%
==> Fetching genext2fs
==> Downloading https://ghcr.io/v2/homebrew/core/genext2fs/blobs/sha256:cc9fdd7364d47e9a525a63f18f8556678f95c84785aafa58
################################################################################################################# 100.0%
==> Pouring genext2fs--1.5.0.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/genext2fs/1.5.0: 10 files, 121.3KB
==> Running `brew cleanup genext2fs`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
~/C/K/serenity (master|✚1) $ ./Meta/serenity.sh run (base)
build_jakt: /Users/ljian/CTF/Kernel/serenity/Toolchain/Local/jakt
[dependencies] Checking whether 'ninja' is available...
[dependencies] Checking whether 'cmake' is available...
[dependencies] Checking whether your C++ compiler works...
~/CTF/Kernel/serenity/Toolchain/Tarballs ~/CTF/Kernel/serenity/Toolchain
Using existing Jakt source directory
~/CTF/Kernel/serenity/Toolchain
Expected 1fed928d0abf08188e48fe765ab68e5047c05ec2 but found none (for local host)
~/CTF/Kernel/serenity/Toolchain/Build/jakt ~/CTF/Kernel/serenity/Toolchain
XXX configure jakt
[jakt/configure] -- The CXX compiler identification is AppleClang 17.0.0.17000013
[jakt/configure] -- The C compiler identification is AppleClang 17.0.0.17000013
[jakt/configure] -- Detecting CXX compiler ABI info
[jakt/configure] -- Detecting CXX compiler ABI info - done
[jakt/configure] -- Check for working CXX compiler: /usr/bin/c++ - skipped
[jakt/configure] -- Detecting CXX compile features
[jakt/configure] -- Detecting CXX compile features - done
[jakt/configure] -- Detecting C compiler ABI info
[jakt/configure] -- Detecting C compiler ABI info - done
[jakt/configure] -- Check for working C compiler: /usr/bin/cc - skipped
[jakt/configure] -- Detecting C compile features
[jakt/configure] -- Detecting C compile features - done
[jakt/configure] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
[jakt/configure] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
[jakt/configure] -- Found Threads: TRUE
[jakt/configure] -- Could NOT find Clang (missing: Clang_DIR)
[jakt/configure] -- Using none as the cpp import processor (using Clang=OFF, resource dir=)
[jakt/configure] -- Using preexisting AK directory from SERENITY_SOURCE_DIR: /Users/ljian/CTF/Kernel/serenity/Toolchain/../AK
[jakt/configure] CMake Warning (dev) at /opt/homebrew/share/cmake/Modules/FetchContent.cmake:1953 (message):
[jakt/configure] Calling FetchContent_Populate(Serenity) is deprecated, call
[jakt/configure] FetchContent_MakeAvailable(Serenity) instead. Policy CMP0169 can be set to
[jakt/configure] OLD to allow FetchContent_Populate(Serenity) to be called directly for now,
[jakt/configure] but the ability to call it with declared details will be removed completely
[jakt/configure] in a future version.
[jakt/configure] Call Stack (most recent call first):
[jakt/configure] runtime/CMakeLists.txt:24 (FetchContent_Populate)
[jakt/configure] This warning is for project developers. Use -Wno-dev to suppress it.
[jakt/configure]
[jakt/configure] -- Making the jakt runtime available for arm64-unknown-darwin-unknown
[jakt/configure] -- If this is windows, '' should be nonempty
[jakt/configure] -- Building for target arm64-unknown-darwin-unknown
[jakt/configure] CMake Warning (dev) at cmake/symlink.cmake:41 (add_custom_command):
[jakt/configure] The following keywords are not supported when using
[jakt/configure] add_custom_command(TARGET): DEPENDS.
[jakt/configure]
[jakt/configure] Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
[jakt/configure] Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy
[jakt/configure] command to set the policy and suppress this warning.
[jakt/configure] Call Stack (most recent call first):
[jakt/configure] CMakeLists.txt:294 (add_symlink_command)
[jakt/configure] This warning is for project developers. Use -Wno-dev to suppress it.
[jakt/configure]
[jakt/configure] -- Configuring done (1.9s)
[jakt/configure] -- Generating done (0.0s)
[jakt/configure] -- Build files have been written to: /Users/ljian/CTF/Kernel/serenity/Toolchain/Build/jakt
XXX build jakt
[jakt/build] [0/2] Re-checking globbed directories...
[jakt/build] [238/240] Building CXX object CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/types.cpp.o
FAILED: CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/types.cpp.o
/opt/homebrew/bin/ccache /usr/bin/c++ -I/Users/ljian/CTF/Kernel/serenity/Toolchain/Tarballs/jakt-1fed928d0abf08188e48fe765ab68e5047c05ec2/runtime -O3 -DNDEBUG -std=gnu++20 -arch arm64 -Wall -Wextra -Werror -Wno-maybe-uninitialized -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-trigraphs -Wno-parentheses-equality -Wno-unqualified-std-cast-call -Wno-user-defined-literals -Wno-literal-suffix -Wno-return-type -Wno-deprecated-declarations -Wno-unknown-warning-option -Wno-unused-command-line-argument -Wno-unused-lambda-capture -Wno-reorder-ctor -Wno-dangling-reference -Wno-type-limits -Wno-unknown-attributes -Wno-invalid-offsetof -fno-exceptions -fdiagnostics-color=always -MD -MT CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/types.cpp.o -MF CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/types.cpp.o.d -o CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/types.cpp.o -c /Users/ljian/CTF/Kernel/serenity/Toolchain/Build/jakt/jakt_stage1_tmp/types.cpp
/Users/ljian/CTF/Kernel/serenity/Toolchain/Build/jakt/jakt_stage1_tmp/types.cpp:2735:1: error: ignoring temporary created by a constructor declared with 'nodiscard' attribute [-Werror,-Wunused-value]
2735 | TRY((this->template for_each_scope_accessible_unqualified_from_scope<JaktInternal::Tuple<JaktInternal::DynamicArray<Jakt::ids::FunctionId>,Jakt::ids::ScopeId>>(parent_scope_id,[function_name, &result_ids, &result_scope, this](Jakt::types::ResolutionMixin mixin, JaktInternal::Optional<ByteString> name_override, bool is_alias) -> ErrorOr<typename Jakt::utility::IterationDecision<JaktInternal::Tuple<JaktInternal::DynamicArray<Jakt::ids::FunctionId>,Jakt::ids::ScopeId>>> {{
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2736 | if (!mixin.mixin_functions){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2737 | return Jakt::utility::IterationDecision<JaktInternal::Tuple<JaktInternal::DynamicArray<Jakt::ids::FunctionId>,Jakt::ids::ScopeId>>::Continue();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2738 | }
| ~
2739 | NonnullRefPtr<Jakt::types::Scope> const scope = this->get_scope(mixin.scope_id);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2740 | JaktInternal::Optional<JaktInternal::DynamicArray<Jakt::ids::FunctionId>> const maybe_functions = scope->functions.get(function_name);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2741 | if (maybe_functions.has_value()){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2742 | result_ids.push_values(maybe_functions.value());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2743 | if (!result_scope.has_value()){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2744 | result_scope = mixin.scope_id;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2745 | }
| ~
2746 | }
| ~
2747 | return Jakt::utility::IterationDecision<JaktInternal::Tuple<JaktInternal::DynamicArray<Jakt::ids::FunctionId>,Jakt::ids::ScopeId>>::Continue();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2748 | }
| ~
2749 | }
| ~
2750 | ,ignore_mixin_scopes,root_scope)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ljian/CTF/Kernel/serenity/Toolchain/Tarballs/jakt-1fed928d0abf08188e48fe765ab68e5047c05ec2/runtime/AK/Try.h:33:9: note: expanded from macro 'TRY'
33 | _temporary_result.release_value(); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[jakt/build] [239/240] Building CXX object CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/typechecker.cpp.o
FAILED: CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/typechecker.cpp.o
/opt/homebrew/bin/ccache /usr/bin/c++ -I/Users/ljian/CTF/Kernel/serenity/Toolchain/Tarballs/jakt-1fed928d0abf08188e48fe765ab68e5047c05ec2/runtime -O3 -DNDEBUG -std=gnu++20 -arch arm64 -Wall -Wextra -Werror -Wno-maybe-uninitialized -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-trigraphs -Wno-parentheses-equality -Wno-unqualified-std-cast-call -Wno-user-defined-literals -Wno-literal-suffix -Wno-return-type -Wno-deprecated-declarations -Wno-unknown-warning-option -Wno-unused-command-line-argument -Wno-unused-lambda-capture -Wno-reorder-ctor -Wno-dangling-reference -Wno-type-limits -Wno-unknown-attributes -Wno-invalid-offsetof -fno-exceptions -fdiagnostics-color=always -MD -MT CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/typechecker.cpp.o -MF CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/typechecker.cpp.o.d -o CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/typechecker.cpp.o -c /Users/ljian/CTF/Kernel/serenity/Toolchain/Build/jakt/jakt_stage1_tmp/typechecker.cpp
/Users/ljian/CTF/Kernel/serenity/Toolchain/Build/jakt/jakt_stage1_tmp/typechecker.cpp:9423:1: error: ignoring temporary created by a constructor declared with 'nodiscard' attribute [-Werror,-Wunused-value]
9423 | TRY((this->typecheck_statement(var_decl_stmt,wrapped_scope_id,Jakt::types::SafetyMode::Safe(),JaktInternal::OptionalNone())));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ljian/CTF/Kernel/serenity/Toolchain/Tarballs/jakt-1fed928d0abf08188e48fe765ab68e5047c05ec2/runtime/AK/Try.h:33:9: note: expanded from macro 'TRY'
33 | _temporary_result.release_value(); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
build_jakt: /Users/ljian/CTF/Kernel/serenity/Toolchain/Local/jakt
[dependencies] Checking whether 'ninja' is available...
[dependencies] Checking whether 'cmake' is available...
[dependencies] Checking whether your C++ compiler works...
~/CTF/Kernel/serenity/Toolchain/Tarballs ~/CTF/Kernel/serenity/Toolchain
Using existing Jakt source directory
~/CTF/Kernel/serenity/Toolchain
Expected 1fed928d0abf08188e48fe765ab68e5047c05ec2 but found none (for local host)
~/CTF/Kernel/serenity/Toolchain/Build/jakt ~/CTF/Kernel/serenity/Toolchain
XXX configure jakt
[jakt/configure] -- The CXX compiler identification is AppleClang 17.0.0.17000013
[jakt/configure] -- The C compiler identification is AppleClang 17.0.0.17000013
[jakt/configure] -- Detecting CXX compiler ABI info
[jakt/configure] -- Detecting CXX compiler ABI info - done
[jakt/configure] -- Check for working CXX compiler: /usr/bin/c++ - skipped
[jakt/configure] -- Detecting CXX compile features
[jakt/configure] -- Detecting CXX compile features - done
[jakt/configure] -- Detecting C compiler ABI info
[jakt/configure] -- Detecting C compiler ABI info - done
[jakt/configure] -- Check for working C compiler: /usr/bin/cc - skipped
[jakt/configure] -- Detecting C compile features
[jakt/configure] -- Detecting C compile features - done
[jakt/configure] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
[jakt/configure] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
[jakt/configure] -- Found Threads: TRUE
[jakt/configure] -- Could NOT find Clang (missing: Clang_DIR)
[jakt/configure] -- Using none as the cpp import processor (using Clang=OFF, resource dir=)
[jakt/configure] -- Using preexisting AK directory from SERENITY_SOURCE_DIR: /Users/ljian/CTF/Kernel/serenity/Toolchain/../AK
[jakt/configure] CMake Warning (dev) at /opt/homebrew/share/cmake/Modules/FetchContent.cmake:1953 (message):
[jakt/configure] Calling FetchContent_Populate(Serenity) is deprecated, call
[jakt/configure] FetchContent_MakeAvailable(Serenity) instead. Policy CMP0169 can be set to
[jakt/configure] OLD to allow FetchContent_Populate(Serenity) to be called directly for now,
[jakt/configure] but the ability to call it with declared details will be removed completely
[jakt/configure] in a future version.
[jakt/configure] Call Stack (most recent call first):
[jakt/configure] runtime/CMakeLists.txt:24 (FetchContent_Populate)
[jakt/configure] This warning is for project developers. Use -Wno-dev to suppress it.
[jakt/configure]
[jakt/configure] -- Making the jakt runtime available for arm64-unknown-darwin-unknown
[jakt/configure] -- If this is windows, '' should be nonempty
[jakt/configure] -- Building for target arm64-unknown-darwin-unknown
[jakt/configure] CMake Warning (dev) at cmake/symlink.cmake:41 (add_custom_command):
[jakt/configure] The following keywords are not supported when using
[jakt/configure] add_custom_command(TARGET): DEPENDS.
[jakt/configure]
[jakt/configure] Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
[jakt/configure] Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy
[jakt/configure] command to set the policy and suppress this warning.
[jakt/configure] Call Stack (most recent call first):
[jakt/configure] CMakeLists.txt:294 (add_symlink_command)
[jakt/configure] This warning is for project developers. Use -Wno-dev to suppress it.
[jakt/configure]
[jakt/configure] -- Configuring done (1.6s)
[jakt/configure] -- Generating done (0.0s)
[jakt/configure] -- Build files have been written to: /Users/ljian/CTF/Kernel/serenity/Toolchain/Build/jakt
XXX build jakt
[jakt/build] [0/2] Re-checking globbed directories...
[jakt/build] [238/240] Building CXX object CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/types.cpp.o
FAILED: CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/types.cpp.o
/opt/homebrew/bin/ccache /usr/bin/c++ -I/Users/ljian/CTF/Kernel/serenity/Toolchain/Tarballs/jakt-1fed928d0abf08188e48fe765ab68e5047c05ec2/runtime -O3 -DNDEBUG -std=gnu++20 -arch arm64 -Wall -Wextra -Werror -Wno-maybe-uninitialized -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-trigraphs -Wno-parentheses-equality -Wno-unqualified-std-cast-call -Wno-user-defined-literals -Wno-literal-suffix -Wno-return-type -Wno-deprecated-declarations -Wno-unknown-warning-option -Wno-unused-command-line-argument -Wno-unused-lambda-capture -Wno-reorder-ctor -Wno-dangling-reference -Wno-type-limits -Wno-unknown-attributes -Wno-invalid-offsetof -fno-exceptions -fdiagnostics-color=always -MD -MT CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/types.cpp.o -MF CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/types.cpp.o.d -o CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/types.cpp.o -c /Users/ljian/CTF/Kernel/serenity/Toolchain/Build/jakt/jakt_stage1_tmp/types.cpp
/Users/ljian/CTF/Kernel/serenity/Toolchain/Build/jakt/jakt_stage1_tmp/types.cpp:2735:1: error: ignoring temporary created by a constructor declared with 'nodiscard' attribute [-Werror,-Wunused-value]
2735 | TRY((this->template for_each_scope_accessible_unqualified_from_scope<JaktInternal::Tuple<JaktInternal::DynamicArray<Jakt::ids::FunctionId>,Jakt::ids::ScopeId>>(parent_scope_id,[function_name, &result_ids, &result_scope, this](Jakt::types::ResolutionMixin mixin, JaktInternal::Optional<ByteString> name_override, bool is_alias) -> ErrorOr<typename Jakt::utility::IterationDecision<JaktInternal::Tuple<JaktInternal::DynamicArray<Jakt::ids::FunctionId>,Jakt::ids::ScopeId>>> {{
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2736 | if (!mixin.mixin_functions){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2737 | return Jakt::utility::IterationDecision<JaktInternal::Tuple<JaktInternal::DynamicArray<Jakt::ids::FunctionId>,Jakt::ids::ScopeId>>::Continue();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2738 | }
| ~
2739 | NonnullRefPtr<Jakt::types::Scope> const scope = this->get_scope(mixin.scope_id);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2740 | JaktInternal::Optional<JaktInternal::DynamicArray<Jakt::ids::FunctionId>> const maybe_functions = scope->functions.get(function_name);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2741 | if (maybe_functions.has_value()){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2742 | result_ids.push_values(maybe_functions.value());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2743 | if (!result_scope.has_value()){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2744 | result_scope = mixin.scope_id;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2745 | }
| ~
2746 | }
| ~
2747 | return Jakt::utility::IterationDecision<JaktInternal::Tuple<JaktInternal::DynamicArray<Jakt::ids::FunctionId>,Jakt::ids::ScopeId>>::Continue();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2748 | }
| ~
2749 | }
| ~
2750 | ,ignore_mixin_scopes,root_scope)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ljian/CTF/Kernel/serenity/Toolchain/Tarballs/jakt-1fed928d0abf08188e48fe765ab68e5047c05ec2/runtime/AK/Try.h:33:9: note: expanded from macro 'TRY'
33 | _temporary_result.release_value(); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[jakt/build] [239/240] Building CXX object CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/typechecker.cpp.o
FAILED: CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/typechecker.cpp.o
/opt/homebrew/bin/ccache /usr/bin/c++ -I/Users/ljian/CTF/Kernel/serenity/Toolchain/Tarballs/jakt-1fed928d0abf08188e48fe765ab68e5047c05ec2/runtime -O3 -DNDEBUG -std=gnu++20 -arch arm64 -Wall -Wextra -Werror -Wno-maybe-uninitialized -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-trigraphs -Wno-parentheses-equality -Wno-unqualified-std-cast-call -Wno-user-defined-literals -Wno-literal-suffix -Wno-return-type -Wno-deprecated-declarations -Wno-unknown-warning-option -Wno-unused-command-line-argument -Wno-unused-lambda-capture -Wno-reorder-ctor -Wno-dangling-reference -Wno-type-limits -Wno-unknown-attributes -Wno-invalid-offsetof -fno-exceptions -fdiagnostics-color=always -MD -MT CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/typechecker.cpp.o -MF CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/typechecker.cpp.o.d -o CMakeFiles/jakt_stage1.dir/jakt_stage1_tmp/typechecker.cpp.o -c /Users/ljian/CTF/Kernel/serenity/Toolchain/Build/jakt/jakt_stage1_tmp/typechecker.cpp
/Users/ljian/CTF/Kernel/serenity/Toolchain/Build/jakt/jakt_stage1_tmp/typechecker.cpp:9423:1: error: ignoring temporary created by a constructor declared with 'nodiscard' attribute [-Werror,-Wunused-value]
9423 | TRY((this->typecheck_statement(var_decl_stmt,wrapped_scope_id,Jakt::types::SafetyMode::Safe(),JaktInternal::OptionalNone())));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ljian/CTF/Kernel/serenity/Toolchain/Tarballs/jakt-1fed928d0abf08188e48fe765ab68e5047c05ec2/runtime/AK/Try.h:33:9: note: expanded from macro 'TRY'
33 | _temporary_result.release_value(); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
[0/5] Performing build step for 'lagom'
ninja: no work to do.
[1/5] Performing install step for 'lagom'
[0/1] Install the project...
-- Install configuration: ""
[2/5] Performing build step for 'serenity'
[1/1] Running utility command for create_compat_ssp_libraries
[3/5] Performing install step for 'serenity'
[1/2] Install the project...
-- Install configuration: ""
[5/5] Completed 'serenity'
ninja: Entering directory `/Users/ljian/CTF/Kernel/serenity/Build/aarch64'
[1/2] Install the project...
-- Install configuration: ""
ninja: Entering directory `/Users/ljian/CTF/Kernel/serenity/Build/aarch64'
[0/1] cd /Users/ljian/CTF/Kernel/serenity/Build/aarch64 &&... /Users/ljian/CTF/Kernel/serenity/Meta/build-image-qemu.sh
Password:
checking existing image
e2fsck 1.47.2 (1-Jan-2025)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
_disk_image: 35684/132608 files (0.2% non-contiguous), 249934/524288 blocks
done
mounting filesystem... mount_macfuse: mount point /Users/ljian/CTF/Kernel/serenity/Build/aarch64/mnt is itself on a macFUSE volume
mount failed but genext2fs exists, use it instead
installing base system... chmod: Unable to change file mode on mnt//res/fonts/CJKBiángRegular36.font: No such file or directory
chmod: Unable to change file mode on mnt//res/fonts/._CJKBiángRegular36.font: No such file or directory
rm: mnt: Resource busy
FAILED: CMakeFiles/qemu-image _disk_image /Users/ljian/CTF/Kernel/serenity/Build/aarch64/CMakeFiles/qemu-image /Users/ljian/CTF/Kernel/serenity/Build/aarch64/_disk_image
cd /Users/ljian/CTF/Kernel/serenity/Build/aarch64 && /opt/homebrew/bin/cmake -E env SERENITY_SOURCE_DIR=/Users/ljian/CTF/Kernel/serenity SERENITY_ARCH=aarch64 SERENITY_TOOLCHAIN=GNU LLVM_VERSION=13.2.0 /Users/ljian/CTF/Kernel/serenity/Meta/build-image-qemu.sh
ninja: build stopped: subcommand failed.
My laptop is mac M2.
And I don't know why Unable to change file mode on mnt//res/fonts/CJKBiángRegular36.font: No such file or directory
.
How can we fix this?
Metadata
Metadata
Assignees
Labels
No labels