Created
October 18, 2022 12:52
-
-
Save Quaker762/1989e896960493d1329ea2e89b121fb7 to your computer and use it in GitHub Desktop.
Build error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FAILED: Kernel/CMakeFiles/Kernel.dir/Bus/USB/USBConfiguration.cpp.o | |
/usr/bin/ccache /home/quaker/SerenityOS/serenity/Toolchain/Local/x86_64/bin/x86_64-pc-serenity-g++ --sysroot=/home/quaker/SerenityOS/serenity/Build/superbuild-x86_64/../x86_64/Root -DENABLE_COMPILETIME_FORMAT_CHECK -DKERNEL -DSANITIZE_PTRS -I/home/quaker/SerenityOS/serenity/. -I/home/quaker/SerenityOS/serenity/Userland/Libraries -I/home/quaker/SerenityOS/serenity/Userland/Libraries/LibC -I/home/quaker/SerenityOS/serenity/Userland/Libraries/LibCrypt -I/home/quaker/SerenityOS/serenity/Userland/Libraries/LibSystem -I/home/quaker/SerenityOS/serenity/Userland/Services -I/home/quaker/SerenityOS/serenity/Userland -I/home/quaker/SerenityOS/serenity/Build/x86_64 -I/home/quaker/SerenityOS/serenity/Build/x86_64/Userland/Services -I/home/quaker/SerenityOS/serenity/Build/x86_64/Userland/Libraries -I/home/quaker/SerenityOS/serenity/Build/x86_64/Userland -pie -fpic -static-pie -fsanitize=undefined -fdiagnostics-color=always -Wall -Wextra -Werror -Wno-address-of-packed-member -Wcast-qual -Wdeprecated-copy -Wduplicated-cond -Wformat=2 -Wimplicit-fallthrough -Wlogical-op -Wmisleading-indentation -Wmissing-declarations -Wnon-virtual-dtor -Wsuggest-override -Wno-unknown-warning-option -Wundef -Wunused -Wno-unused-command-line-argument -Wwrite-strings -fdiagnostics-color=always -fno-delete-null-pointer-checks -ffile-prefix-map=/home/quaker/SerenityOS/serenity=. -fno-exceptions -fno-semantic-interposition -fsized-deallocation -fstack-clash-protection -fstack-protector-strong -g1 -Wno-literal-suffix -Wno-maybe-uninitialized -Wno-expansion-to-defined -Wcast-align -Wdouble-promotion -O2 -fsigned-char -Wvla -Wnull-dereference -fno-rtti -ffreestanding -fbuiltin -mno-80387 -mno-mmx -mno-sse -mno-sse2 -fno-asynchronous-unwind-tables -nostdlib -ftrivial-auto-var-init=pattern -fzero-call-used-regs=used-gpr -mcmodel=large -mno-red-zone -faligned-new=8 -std=c++20 -MD -MT Kernel/CMakeFiles/Kernel.dir/Bus/USB/USBConfiguration.cpp.o -MF Kernel/CMakeFiles/Kernel.dir/Bus/USB/USBConfiguration.cpp.o.d -o Kernel/CMakeFiles/Kernel.dir/Bus/USB/USBConfiguration.cpp.o -c /home/quaker/SerenityOS/serenity/Kernel/Bus/USB/USBConfiguration.cpp | |
In file included from /home/quaker/SerenityOS/serenity/./AK/Span.h:12, | |
from /home/quaker/SerenityOS/serenity/./AK/StringView.h:13, | |
from /home/quaker/SerenityOS/serenity/./AK/Error.h:9, | |
from /home/quaker/SerenityOS/serenity/./AK/FixedArray.h:10, | |
from /home/quaker/SerenityOS/serenity/Kernel/Bus/USB/USBConfiguration.cpp:7: | |
/home/quaker/SerenityOS/serenity/./AK/TypedTransfer.h: In instantiation of 'static size_t AK::TypedTransfer<T>::copy(T*, const T*, size_t) [with T = AK::OwnPtr<Kernel::USB::USBEndpoint>; size_t = long unsigned int]': | |
/home/quaker/SerenityOS/serenity/./AK/Vector.h:90:41: required from 'AK::Vector<T, inline_capacity>::Vector(const AK::Vector<T, inline_capacity>&) [with T = AK::OwnPtr<Kernel::USB::USBEndpoint>; long unsigned int inline_capacity = 0]' | |
/home/quaker/SerenityOS/serenity/./Kernel/Bus/USB/USBInterface.h:17:7: required from 'void AK::Vector<T, inline_capacity>::append(const T&) requires ! AK::Vector<T, inline_capacity>::contains_reference [with T = Kernel::USB::USBInterface; long unsigned int inline_capacity = 0]' | |
/home/quaker/SerenityOS/serenity/Kernel/Bus/USB/USBConfiguration.cpp:70:28: required from here | |
/home/quaker/SerenityOS/serenity/./AK/TypedTransfer.h:49:17: error: use of deleted function 'AK::OwnPtr<T>::OwnPtr(const AK::OwnPtr<T>&) [with T = Kernel::USB::USBEndpoint]' | |
49 | new (&destination[i]) T(source[i]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/quaker/SerenityOS/serenity/./Kernel/Bus/USB/USBDevice.h:9, | |
from /home/quaker/SerenityOS/serenity/./Kernel/Bus/USB/USBConfiguration.h:11, | |
from /home/quaker/SerenityOS/serenity/Kernel/Bus/USB/USBConfiguration.cpp:9: | |
/home/quaker/SerenityOS/serenity/./AK/OwnPtr.h:50:5: note: declared here | |
50 | OwnPtr(OwnPtr const&) = delete; | |
| ^~~~~~ | |
/home/quaker/SerenityOS/serenity/./AK/TypedTransfer.h:51:17: error: use of deleted function 'AK::OwnPtr<T>::OwnPtr(const AK::OwnPtr<T>&) [with T = Kernel::USB::USBEndpoint]' | |
51 | new (&destination[count - i - 1]) T(source[count - i - 1]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/quaker/SerenityOS/serenity/./AK/OwnPtr.h:50:5: note: declared here | |
50 | OwnPtr(OwnPtr const&) = delete; | |
| ^~~~~~ | |
cc1plus: note: unrecognized command-line option '-Wno-unused-command-line-argument' may have been intended to silence earlier diagnostics | |
cc1plus: note: unrecognized command-line option '-Wno-unknown-warning-option' may have been intended to silence earlier diagnostics | |
[4/15] Building CXX object Kernel/CMakeFiles/Kernel.dir/Bus/USB/USBDevice.cpp.o | |
FAILED: Kernel/CMakeFiles/Kernel.dir/Bus/USB/USBDevice.cpp.o | |
/usr/bin/ccache /home/quaker/SerenityOS/serenity/Toolchain/Local/x86_64/bin/x86_64-pc-serenity-g++ --sysroot=/home/quaker/SerenityOS/serenity/Build/superbuild-x86_64/../x86_64/Root -DENABLE_COMPILETIME_FORMAT_CHECK -DKERNEL -DSANITIZE_PTRS -I/home/quaker/SerenityOS/serenity/. -I/home/quaker/SerenityOS/serenity/Userland/Libraries -I/home/quaker/SerenityOS/serenity/Userland/Libraries/LibC -I/home/quaker/SerenityOS/serenity/Userland/Libraries/LibCrypt -I/home/quaker/SerenityOS/serenity/Userland/Libraries/LibSystem -I/home/quaker/SerenityOS/serenity/Userland/Services -I/home/quaker/SerenityOS/serenity/Userland -I/home/quaker/SerenityOS/serenity/Build/x86_64 -I/home/quaker/SerenityOS/serenity/Build/x86_64/Userland/Services -I/home/quaker/SerenityOS/serenity/Build/x86_64/Userland/Libraries -I/home/quaker/SerenityOS/serenity/Build/x86_64/Userland -pie -fpic -static-pie -fsanitize=undefined -fdiagnostics-color=always -Wall -Wextra -Werror -Wno-address-of-packed-member -Wcast-qual -Wdeprecated-copy -Wduplicated-cond -Wformat=2 -Wimplicit-fallthrough -Wlogical-op -Wmisleading-indentation -Wmissing-declarations -Wnon-virtual-dtor -Wsuggest-override -Wno-unknown-warning-option -Wundef -Wunused -Wno-unused-command-line-argument -Wwrite-strings -fdiagnostics-color=always -fno-delete-null-pointer-checks -ffile-prefix-map=/home/quaker/SerenityOS/serenity=. -fno-exceptions -fno-semantic-interposition -fsized-deallocation -fstack-clash-protection -fstack-protector-strong -g1 -Wno-literal-suffix -Wno-maybe-uninitialized -Wno-expansion-to-defined -Wcast-align -Wdouble-promotion -O2 -fsigned-char -Wvla -Wnull-dereference -fno-rtti -ffreestanding -fbuiltin -mno-80387 -mno-mmx -mno-sse -mno-sse2 -fno-asynchronous-unwind-tables -nostdlib -ftrivial-auto-var-init=pattern -fzero-call-used-regs=used-gpr -mcmodel=large -mno-red-zone -faligned-new=8 -std=c++20 -MD -MT Kernel/CMakeFiles/Kernel.dir/Bus/USB/USBDevice.cpp.o -MF Kernel/CMakeFiles/Kernel.dir/Bus/USB/USBDevice.cpp.o.d -o Kernel/CMakeFiles/Kernel.dir/Bus/USB/USBDevice.cpp.o -c /home/quaker/SerenityOS/serenity/Kernel/Bus/USB/USBDevice.cpp | |
In file included from /home/quaker/SerenityOS/serenity/./AK/Span.h:12, | |
from /home/quaker/SerenityOS/serenity/./AK/StringView.h:13, | |
from /home/quaker/SerenityOS/serenity/./AK/Error.h:9, | |
from /home/quaker/SerenityOS/serenity/./AK/OwnPtr.h:9, | |
from /home/quaker/SerenityOS/serenity/Kernel/Bus/USB/USBDevice.cpp:7: | |
/home/quaker/SerenityOS/serenity/./AK/TypedTransfer.h: In instantiation of 'static size_t AK::TypedTransfer<T>::copy(T*, const T*, size_t) [with T = AK::OwnPtr<Kernel::USB::USBEndpoint>; size_t = long unsigned int]': | |
/home/quaker/SerenityOS/serenity/./AK/Vector.h:90:41: required from 'AK::Vector<T, inline_capacity>::Vector(const AK::Vector<T, inline_capacity>&) [with T = AK::OwnPtr<Kernel::USB::USBEndpoint>; long unsigned int inline_capacity = 0]' | |
/home/quaker/SerenityOS/serenity/./Kernel/Bus/USB/USBInterface.h:17:7: required from 'static size_t AK::TypedTransfer<T>::copy(T*, const T*, size_t) [with T = Kernel::USB::USBInterface; size_t = long unsigned int]' | |
/home/quaker/SerenityOS/serenity/./AK/Vector.h:90:41: required from 'AK::Vector<T, inline_capacity>::Vector(const AK::Vector<T, inline_capacity>&) [with T = Kernel::USB::USBInterface; long unsigned int inline_capacity = 0]' | |
/home/quaker/SerenityOS/serenity/./Kernel/Bus/USB/USBConfiguration.h:18:7: required from 'void AK::Vector<T, inline_capacity>::append(const T&) requires ! AK::Vector<T, inline_capacity>::contains_reference [with T = Kernel::USB::USBConfiguration; long unsigned int inline_capacity = 0]' | |
/home/quaker/SerenityOS/serenity/Kernel/Bus/USB/USBDevice.cpp:162:32: required from here | |
/home/quaker/SerenityOS/serenity/./AK/TypedTransfer.h:49:17: error: use of deleted function 'AK::OwnPtr<T>::OwnPtr(const AK::OwnPtr<T>&) [with T = Kernel::USB::USBEndpoint]' | |
49 | new (&destination[i]) T(source[i]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/quaker/SerenityOS/serenity/./AK/OwnPtr.h:50:5: note: declared here | |
50 | OwnPtr(OwnPtr const&) = delete; | |
| ^~~~~~ | |
/home/quaker/SerenityOS/serenity/./AK/TypedTransfer.h:51:17: error: use of deleted function 'AK::OwnPtr<T>::OwnPtr(const AK::OwnPtr<T>&) [with T = Kernel::USB::USBEndpoint]' | |
51 | new (&destination[count - i - 1]) T(source[count - i - 1]); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/quaker/SerenityOS/serenity/./AK/OwnPtr.h:50:5: note: declared here | |
50 | OwnPtr(OwnPtr const&) = delete; | |
| ^~~~~~ | |
cc1plus: note: unrecognized command-line option '-Wno-unused-command-line-argument' may have been intended to silence earlier diagnostics | |
cc1plus: note: unrecognized command-line option '-Wno-unknown-warning-option' may have been intended to silence earlier diagnostics | |
[14/15] Building CXX object Kernel/CMakeFiles/Kernel.dir/Bus/USB/UHCI/UHCIController.cpp.o | |
ninja: build stopped: subcommand failed. | |
FAILED: serenity-prefix/src/serenity-stamp/serenity-build /home/quaker/SerenityOS/serenity/Build/superbuild-x86_64/serenity-prefix/src/serenity-stamp/serenity-build | |
cd /home/quaker/SerenityOS/serenity/Build/x86_64 && /usr/bin/cmake --build . | |
ninja: build stopped: subcommand failed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment