Files
qt-migration-copilot-demo/0e/6491fe1b1c/0/prompt.txt
T
torsten b5a0c17025 Checkpoint: 0e6491fe1b1c
Entire-Session: bee883d0-1a8f-422e-a79d-a65585432852
Entire-Strategy: manual-commit
Entire-Agent: Copilot CLI
Ephemeral-branch: entire/7aadf42-e3b0c4
2026-10-22 18:15:26 +02:00

239 lines
15 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
8:12:53 + python3 ci/check_pr_policies.py
18:12:53 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:1:1: error: code should be clang-formatted [-Wclang-format-violations]
18:12:53 #include "MainWindow.h"
18:12:53 ^
18:12:53 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:10:31: error: code should be clang-formatted [-Wclang-format-violations]
18:12:53 MainWindow::MainWindow(QWidget *parent)
18:12:53 ^
18:12:53 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:10:33: error: code should be clang-formatted [-Wclang-format-violations]
18:12:53 MainWindow::MainWindow(QWidget *parent)
18:12:53 ^
18:12:53 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:11:26: error: code should be clang-formatted [-Wclang-format-violations]
18:12:53 : QMainWindow(parent)
18:12:53 ^
18:12:53 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:12:29: error: code should be clang-formatted [-Wclang-format-violations]
18:12:53 , ui(new Ui::MainWindow)
18:12:53 ^
18:12:53 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:31:45: error: code should be clang-formatted [-Wclang-format-violations]
18:12:53 bool MainWindow::validateInput(const QString &text) const
18:12:53 ^
18:12:53 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:31:47: error: code should be clang-formatted [-Wclang-format-violations]
18:12:53 bool MainWindow::validateInput(const QString &text) const
18:12:53 ^
18:12:53 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:38:18: error: code should be clang-formatted [-Wclang-format-violations]
18:12:53 const QScreen *screen = QApplication::primaryScreen();
18:12:53 ^
18:12:53 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:38:20: error: code should be clang-formatted [-Wclang-format-violations]
18:12:53 const QScreen *screen = QApplication::primaryScreen();
18:12:53 ^
18:12:53 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:39:17: error: code should be clang-formatted [-Wclang-format-violations]
18:12:53 if (!screen) {
18:12:53 ^
18:12:53 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:50:29: error: code should be clang-formatted [-Wclang-format-violations]
18:12:53 if (validateInput(text)) {
18:12:53 ^
18:12:53 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:52:6: error: code should be clang-formatted [-Wclang-format-violations]
18:12:53 } else {
18:12:53 ^
18:12:53 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:52:11: error: code should be clang-formatted [-Wclang-format-violations]
18:12:53 } else {
18:12:53 ^
18:12:53 Vergleiche gegen Ziel-Ref: origin/main
18:12:53 Prüfe SSH-Signatur: e2e243ad26ebfa686834d09c7a17831dd0437146
18:12:53 Prüfe SSH-Signatur: 41d9ef4b7acc17e9e9e4085c8c237b7bd45c2ce8
18:12:53 Prüfe SSH-Signatur: a37fc2255fa92239373ac4c407a998225452bea6
18:12:53 Prüfe: qt6-after/qt6-migrated-benchmark/MainWindow.cpp
18:12:53 ERROR: Formatfehler in qt6-after/qt6-migrated-benchmark/MainWindow.cpp
script returned exit code 1
---
18:14:14 + cmake --build build --parallel
18:14:15 [1/13] Automatic MOC and UIC for target Qt6MigratedBenchmark
18:14:15 [2/13] Automatic RCC for resources.qrc
18:14:15 [3/13] Building CXX object CMakeFiles/Qt6MigratedBenchmark.dir/Qt6MigratedBenchmark_autogen/EWIEGA46WW/qrc_resources.cpp.o
18:14:15 [4/13] Automatic MOC and UIC for target Qt6MigratedBenchmarkTest
18:14:15 [5/13] Building CXX object CMakeFiles/Qt6MigratedBenchmarkTest.dir/tests/test_mainwindow.cpp.o
18:14:15 FAILED: [code=1] CMakeFiles/Qt6MigratedBenchmarkTest.dir/tests/test_mainwindow.cpp.o
18:14:15 /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_TESTCASE_BUILDDIR=\"/var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/build\" -DQT_TESTCASE_SOURCEDIR=\"/var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -I/var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/build/Qt6MigratedBenchmarkTest_autogen/include -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt6/QtTest -g -std=c++23 -MD -MT CMakeFiles/Qt6MigratedBenchmarkTest.dir/tests/test_mainwindow.cpp.o -MF CMakeFiles/Qt6MigratedBenchmarkTest.dir/tests/test_mainwindow.cpp.o.d -o CMakeFiles/Qt6MigratedBenchmarkTest.dir/tests/test_mainwindow.cpp.o -c /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/tests/test_mainwindow.cpp
18:14:15 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/tests/test_mainwindow.cpp:1:10: fatal error: MainWindow.h: No such file or directory
18:14:15 1 | #include "MainWindow.h"
18:14:15 | ^~~~~~~~~~~~~~
18:14:15 compilation terminated.
18:14:17 [6/13] Building CXX object CMakeFiles/Qt6MigratedBenchmark.dir/MainWindow.cpp.o
18:14:17 FAILED: [code=1] CMakeFiles/Qt6MigratedBenchmark.dir/MainWindow.cpp.o
18:14:17 /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -I/var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/build/Qt6MigratedBenchmark_autogen/include -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtWidgets -g -std=c++23 -MD -MT CMakeFiles/Qt6MigratedBenchmark.dir/MainWindow.cpp.o -MF CMakeFiles/Qt6MigratedBenchmark.dir/MainWindow.cpp.o.d -o CMakeFiles/Qt6MigratedBenchmark.dir/MainWindow.cpp.o -c /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp
18:14:17 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp: In constructor ‘MainWindow::MainWindow(QWidget*)’:
18:14:17 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:16:20: error: unable to find string literal operator ‘operator""_s’ with ‘const char16_t [31]’, ‘long unsigned int’ arguments
18:14:17 16 | setWindowTitle(u"Qt6 Legacy Migration Benchmark"_s);
18:14:17 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18:14:17 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:18:24: error: unable to find string literal operator ‘operator""_s’ with ‘const char16_t [33]’, ‘long unsigned int’ arguments
18:14:17 18 | ui->label->setText(u"Bitte Text wie Test123 eingeben."_s);
18:14:17 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18:14:17 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:19:38: error: unable to find string literal operator ‘operator""_s’ with ‘const char16_t [16]’, ‘long unsigned int’ arguments
18:14:17 19 | ui->iconLabel->setPixmap(QPixmap(u":/icons/app.png"_s).scaled(48, 48));
18:14:17 | ^~~~~~~~~~~~~~~~~~~~
18:14:17 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp: In member function ‘QString MainWindow::getScreenInfo() const’:
18:14:17 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:40:16: error: unable to find string literal operator ‘operator""_s’ with ‘const char16_t [20]’, ‘long unsigned int’ arguments
18:14:17 40 | return u"Screen: unavailable"_s;
18:14:17 | ^~~~~~~~~~~~~~~~~~~~~~~~
18:14:17 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:43:12: error: unable to find string literal operator ‘operator""_s’ with ‘const char16_t [14]’, ‘long unsigned int’ arguments
18:14:17 43 | return u"Screen: %1x%2"_s.arg(geometry.width()).arg(geometry.height());
18:14:17 | ^~~~~~~~~~~~~~~~~~
18:14:17 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp: In member function ‘void MainWindow::onValidateClicked()’:
18:14:17 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:52:34: error: unable to find string literal operator ‘operator""_s’ with ‘const char16_t [6]’, ‘long unsigned int’ arguments
18:14:17 52 | ui->resultLabel->setText(u"Match"_s);
18:14:17 | ^~~~~~~~~~
18:14:17 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:56:34: error: unable to find string literal operator ‘operator""_s’ with ‘const char16_t [9]’, ‘long unsigned int’ arguments
18:14:17 56 | ui->resultLabel->setText(u"No match"_s);
18:14:17 | ^~~~~~~~~~~~~
18:14:17 [7/13] Building CXX object CMakeFiles/Qt6MigratedBenchmark.dir/main.cpp.o
18:14:17 [8/13] Building CXX object CMakeFiles/Qt6MigratedBenchmark.dir/Qt6MigratedBenchmark_autogen/mocs_compilation.cpp.o
18:14:17 [9/13] Building CXX object CMakeFiles/Qt6MigratedBenchmarkTest.dir/Qt6MigratedBenchmarkTest_autogen/mocs_compilation.cpp.o
18:14:17 [10/13] Building CXX object CMakeFiles/Qt6MigratedBenchmarkTest.dir/MainWindow.cpp.o
18:14:17 FAILED: [code=1] CMakeFiles/Qt6MigratedBenchmarkTest.dir/MainWindow.cpp.o
18:14:17 /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_TESTCASE_BUILDDIR=\"/var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/build\" -DQT_TESTCASE_SOURCEDIR=\"/var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -I/var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/build/Qt6MigratedBenchmarkTest_autogen/include -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt6/QtTest -g -std=c++23 -MD -MT CMakeFiles/Qt6MigratedBenchmarkTest.dir/MainWindow.cpp.o -MF CMakeFiles/Qt6MigratedBenchmarkTest.dir/MainWindow.cpp.o.d -o CMakeFiles/Qt6MigratedBenchmarkTest.dir/MainWindow.cpp.o -c /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp
18:14:17 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp: In constructor ‘MainWindow::MainWindow(QWidget*)’:
18:14:17 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:16:20: error: unable to find string literal operator ‘operator""_s’ with ‘const char16_t [31]’, ‘long unsigned int’ arguments
18:14:17 16 | setWindowTitle(u"Qt6 Legacy Migration Benchmark"_s);
18:14:17 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18:14:17 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:18:24: error: unable to find string literal operator ‘operator""_s’ with ‘const char16_t [33]’, ‘long unsigned int’ arguments
18:14:17 18 | ui->label->setText(u"Bitte Text wie Test123 eingeben."_s);
18:14:17 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18:14:17 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:19:38: error: unable to find string literal operator ‘operator""_s’ with ‘const char16_t [16]’, ‘long unsigned int’ arguments
18:14:17 19 | ui->iconLabel->setPixmap(QPixmap(u":/icons/app.png"_s).scaled(48, 48));
18:14:17 | ^~~~~~~~~~~~~~~~~~~~
18:14:17 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp: In member function ‘QString MainWindow::getScreenInfo() const’:
18:14:17 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:40:16: error: unable to find string literal operator ‘operator""_s’ with ‘const char16_t [20]’, ‘long unsigned int’ arguments
18:14:17 40 | return u"Screen: unavailable"_s;
18:14:17 | ^~~~~~~~~~~~~~~~~~~~~~~~
18:14:17 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:43:12: error: unable to find string literal operator ‘operator""_s’ with ‘const char16_t [14]’, ‘long unsigned int’ arguments
18:14:17 43 | return u"Screen: %1x%2"_s.arg(geometry.width()).arg(geometry.height());
18:14:17 | ^~~~~~~~~~~~~~~~~~
18:14:17 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp: In member function ‘void MainWindow::onValidateClicked()’:
18:14:17 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:52:34: error: unable to find string literal operator ‘operator""_s’ with ‘const char16_t [6]’, ‘long unsigned int’ arguments
18:14:17 52 | ui->resultLabel->setText(u"Match"_s);
18:14:17 | ^~~~~~~~~~
18:14:17 /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/MainWindow.cpp:56:34: error: unable to find string literal operator ‘operator""_s’ with ‘const char16_t [9]’, ‘long unsigned int’ arguments
18:14:17 56 | ui->resultLabel->setText(u"No match"_s);
18:14:17 | ^~~~~~~~~~~~~
18:14:19 [11/13] Building CXX object CMakeFiles/Qt6MigratedBenchmarkTest.dir/tests/test_main.cpp.o
18:14:19 ninja: build stopped: subcommand failed.
script returned exit code 1