From 78bb7a2247faee2e882659d69f9742d9759a3253 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Donati?= Date: Tue, 9 Apr 2024 12:44:52 +0200 Subject: [PATCH] Added tesseract install from GitHub Simple git clone from the tesseract repo and installation following the guidelines, there is even a short test to see if everything is fine. --- lab02/lab02_colab.ipynb | 1265 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 1265 insertions(+) create mode 100644 lab02/lab02_colab.ipynb diff --git a/lab02/lab02_colab.ipynb b/lab02/lab02_colab.ipynb new file mode 100644 index 0000000..45a01da --- /dev/null +++ b/lab02/lab02_colab.ipynb @@ -0,0 +1,1265 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "id": "_OcHHNV_YkSl" + }, + "outputs": [], + "source": [ + "# execute only once to add home directory\n", + "import sys\n", + "sys.path.insert(0,'../')\n", + "# This will integrate functions to load the datasets.\n", + "# There are four functions: one for X, one for y, and one for metadata associated with the samples, and one for time-index.\n", + "import libs.utils\n", + "\n", + "# Important: change this parameter to the folder where you inserted the dataset (see README.md in lab 02)\n", + "dataset_path = '../datasets/drebin/'" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "id": "y7r-J6ARYkSp" + }, + "outputs": [], + "source": [ + "import json\n", + "import pickle\n", + "import datetime\n", + "import numpy as np\n", + "from sklearn.feature_extraction import DictVectorizer\n", + "from sklearn.model_selection import train_test_split\n", + "from sklearn.svm import LinearSVC\n", + "from sklearn.metrics import f1_score" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "id": "ZhZvXjCUYkSq", + "outputId": "9d60d566-d923-4a72-ac34-7b8b5648c4a3" + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Loading data (feature representation X, and feature names)...\n", + "Loading labels...\n", + "Loading metadata...\n", + "F1 score: 0.8608780487804878\n" + ] + } + ], + "source": [ + "# Flag reduced=True loads only the top 10k features; reduced=False loads the entire dataset of featues\n", + "X, feature_names = libs.utils.load_X(dataset_path, reduced=True)\n", + "y = libs.utils.load_y(dataset_path)\n", + "metadata = libs.utils.load_metadata(dataset_path)\n", + "\n", + "# Split data into training and testing sets\n", + "X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)\n", + "\n", + "# Machine learning model: Linear SVM (liblinear implementation)\n", + "model = LinearSVC(C=1, dual=True, max_iter=10000)\n", + "\n", + "# Train the model\n", + "model.fit(X_train, y_train)\n", + "\n", + "# Make predictions on the test set\n", + "y_pred = model.predict(X_test)\n", + "\n", + "# Calculate F1 score\n", + "f1 = f1_score(y_test, y_pred)\n", + "\n", + "# Print the F1 score\n", + "print(\"F1 score:\", f1)" + ] + }, + { + "cell_type": "markdown", + "metadata": { + "id": "wxkspIAGYkSs" + }, + "source": [ + "# Exercise: Time-aware Evaluation\n", + "\n", + "Use the Tesseract library to visualize the time-aware performance of the LinearSVC classifier.\n", + "\n", + "Advice: create a Python virtual environment with Python3.10 to install the tesseract library from: https://github.com/s2labres/tesseract-ml-release\n", + "\n", + "To register the virtual environment on the Python notebook:\n", + "```bash\n", + "python -m ipykernel install --user --name \n", + "```\n", + "where env-name matches the name of the environment.\n" + ] + }, + { + "cell_type": "markdown", + "source": [ + "## Installing Tesseract on colab" + ], + "metadata": { + "id": "kKrp6S5VbcXK" + } + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "jE3ZIhBAYkSw", + "outputId": "834c1cbc-539a-4215-f03e-edd903a0a414" + }, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "Cloning into 'tesseract-ml-release'...\n", + "remote: Enumerating objects: 99, done.\u001b[K\n", + "remote: Counting objects: 100% (99/99), done.\u001b[K\n", + "remote: Compressing objects: 100% (78/78), done.\u001b[K\n", + "remote: Total 99 (delta 41), reused 62 (delta 19), pack-reused 0\u001b[K\n", + "Receiving objects: 100% (99/99), 116.47 KiB | 4.31 MiB/s, done.\n", + "Resolving deltas: 100% (41/41), done.\n" + ] + } + ], + "source": [ + "!git clone https://github.com/s2labres/tesseract-ml-release.git" + ] + }, + { + "cell_type": "code", + "source": [ + "!mv /content/tesseract-ml-release/* /content/" + ], + "metadata": { + "id": "sB0WrZE-aSWc" + }, + "execution_count": null, + "outputs": [] + }, + { + "cell_type": "code", + "source": [ + "!python3 setup.py install" + ], + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "QShVMjp0ZI92", + "outputId": "1062afb1-dbea-4c1b-b245-9299b056b6c1" + }, + "execution_count": null, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.\n", + "!!\n", + "\n", + " ********************************************************************************\n", + " Please avoid running ``setup.py`` directly.\n", + " Instead, use pypa/build, pypa/installer, pypa/build or\n", + " other standards-based tools.\n", + "\n", + " See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.\n", + " ********************************************************************************\n", + "\n", + "!!\n", + " self.initialize_options()\n", + "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.\n", + "!!\n", + "\n", + " ********************************************************************************\n", + " Please avoid running ``setup.py`` and ``easy_install``.\n", + " Instead, use pypa/build, pypa/installer, pypa/build or\n", + " other standards-based tools.\n", + "\n", + " See https://github.com/pypa/setuptools/issues/917 for details.\n", + " ********************************************************************************\n", + "\n", + "!!\n", + " self.initialize_options()\n", + "zip_safe flag not set; analyzing archive contents...\n", + "tesseract.__pycache__.plot_utils.cpython-310: module references __file__\n", + "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.\n", + "!!\n", + "\n", + " ********************************************************************************\n", + " Please avoid running ``setup.py`` directly.\n", + " Instead, use pypa/build, pypa/installer, pypa/build or\n", + " other standards-based tools.\n", + "\n", + " See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.\n", + " ********************************************************************************\n", + "\n", + "!!\n", + " self.initialize_options()\n", + "In file included from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/constraint.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/variable.h:103:22:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 103 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K m_context;\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/constraint.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/constraint.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:832:14:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 832 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K m_objective;\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/constraint.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/constraint.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:833:14:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 833 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K m_artificial;\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/constraint.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/constraint.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:\u001b[m\u001b[K In member function ‘\u001b[01m\u001b[Kvoid kiwi::impl::SolverImpl::addConstraint(const kiwi::Constraint&)\u001b[m\u001b[K’:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:91:22:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 91 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( createRow( constraint, tag ) );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/constraint.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/constraint.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:\u001b[m\u001b[K In member function ‘\u001b[01m\u001b[Kvoid kiwi::impl::SolverImpl::removeConstraint(const kiwi::Constraint&)\u001b[m\u001b[K’:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:158:30:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 158 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( row_it->second );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/constraint.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/constraint.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:167:30:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 167 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( row_it->second );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/constraint.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/constraint.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:\u001b[m\u001b[K In member function ‘\u001b[01m\u001b[Kbool kiwi::impl::SolverImpl::addWithArtificialVariable(const kiwi::impl::Row&)\u001b[m\u001b[K’:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:514:30:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 514 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( it->second );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/constraint.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/expression.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/variable.h:103:22:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 103 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K m_context;\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/expression.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/expression.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:832:14:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 832 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K m_objective;\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/expression.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/expression.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:833:14:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 833 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K m_artificial;\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/expression.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/expression.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:\u001b[m\u001b[K In member function ‘\u001b[01m\u001b[Kvoid kiwi::impl::SolverImpl::addConstraint(const kiwi::Constraint&)\u001b[m\u001b[K’:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:91:22:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 91 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( createRow( constraint, tag ) );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/expression.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/expression.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:\u001b[m\u001b[K In member function ‘\u001b[01m\u001b[Kvoid kiwi::impl::SolverImpl::removeConstraint(const kiwi::Constraint&)\u001b[m\u001b[K’:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:158:30:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 158 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( row_it->second );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/expression.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/expression.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:167:30:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 167 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( row_it->second );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/expression.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/expression.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:\u001b[m\u001b[K In member function ‘\u001b[01m\u001b[Kbool kiwi::impl::SolverImpl::addWithArtificialVariable(const kiwi::impl::Row&)\u001b[m\u001b[K’:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:514:30:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 514 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( it->second );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/expression.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/kiwisolver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/variable.h:103:22:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 103 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K m_context;\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/kiwisolver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/kiwisolver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:832:14:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 832 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K m_objective;\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/kiwisolver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/kiwisolver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:833:14:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 833 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K m_artificial;\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/kiwisolver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/kiwisolver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:\u001b[m\u001b[K In member function ‘\u001b[01m\u001b[Kvoid kiwi::impl::SolverImpl::addConstraint(const kiwi::Constraint&)\u001b[m\u001b[K’:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:91:22:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 91 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( createRow( constraint, tag ) );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/kiwisolver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/kiwisolver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:\u001b[m\u001b[K In member function ‘\u001b[01m\u001b[Kvoid kiwi::impl::SolverImpl::removeConstraint(const kiwi::Constraint&)\u001b[m\u001b[K’:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:158:30:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 158 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( row_it->second );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/kiwisolver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/kiwisolver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:167:30:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 167 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( row_it->second );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/kiwisolver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/kiwisolver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:\u001b[m\u001b[K In member function ‘\u001b[01m\u001b[Kbool kiwi::impl::SolverImpl::addWithArtificialVariable(const kiwi::impl::Row&)\u001b[m\u001b[K’:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:514:30:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 514 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( it->second );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/kiwisolver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/solver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/variable.h:103:22:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 103 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K m_context;\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/solver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/solver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:832:14:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 832 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K m_objective;\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/solver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/solver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:833:14:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 833 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K m_artificial;\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/solver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/solver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:\u001b[m\u001b[K In member function ‘\u001b[01m\u001b[Kvoid kiwi::impl::SolverImpl::addConstraint(const kiwi::Constraint&)\u001b[m\u001b[K’:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:91:22:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 91 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( createRow( constraint, tag ) );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/solver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/solver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:\u001b[m\u001b[K In member function ‘\u001b[01m\u001b[Kvoid kiwi::impl::SolverImpl::removeConstraint(const kiwi::Constraint&)\u001b[m\u001b[K’:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:158:30:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 158 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( row_it->second );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/solver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/solver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:167:30:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 167 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( row_it->second );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/solver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/solver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:\u001b[m\u001b[K In member function ‘\u001b[01m\u001b[Kbool kiwi::impl::SolverImpl::addWithArtificialVariable(const kiwi::impl::Row&)\u001b[m\u001b[K’:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:514:30:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 514 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( it->second );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/solver.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/strength.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/variable.h:103:22:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 103 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K m_context;\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/strength.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/strength.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:832:14:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 832 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K m_objective;\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/strength.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/strength.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:833:14:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 833 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K m_artificial;\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/strength.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/strength.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:\u001b[m\u001b[K In member function ‘\u001b[01m\u001b[Kvoid kiwi::impl::SolverImpl::addConstraint(const kiwi::Constraint&)\u001b[m\u001b[K’:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:91:22:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 91 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( createRow( constraint, tag ) );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/strength.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/strength.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:\u001b[m\u001b[K In member function ‘\u001b[01m\u001b[Kvoid kiwi::impl::SolverImpl::removeConstraint(const kiwi::Constraint&)\u001b[m\u001b[K’:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:158:30:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 158 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( row_it->second );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/strength.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/strength.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:167:30:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 167 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( row_it->second );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/strength.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/strength.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:\u001b[m\u001b[K In member function ‘\u001b[01m\u001b[Kbool kiwi::impl::SolverImpl::addWithArtificialVariable(const kiwi::impl::Row&)\u001b[m\u001b[K’:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:514:30:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 514 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( it->second );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/strength.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/term.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/variable.h:103:22:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 103 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K m_context;\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/term.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/term.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:832:14:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 832 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K m_objective;\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/term.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/term.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:833:14:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 833 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K m_artificial;\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/term.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/term.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:\u001b[m\u001b[K In member function ‘\u001b[01m\u001b[Kvoid kiwi::impl::SolverImpl::addConstraint(const kiwi::Constraint&)\u001b[m\u001b[K’:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:91:22:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 91 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( createRow( constraint, tag ) );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/term.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/term.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:\u001b[m\u001b[K In member function ‘\u001b[01m\u001b[Kvoid kiwi::impl::SolverImpl::removeConstraint(const kiwi::Constraint&)\u001b[m\u001b[K’:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:158:30:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 158 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( row_it->second );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/term.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/term.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:167:30:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 167 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( row_it->second );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/term.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/term.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:\u001b[m\u001b[K In member function ‘\u001b[01m\u001b[Kbool kiwi::impl::SolverImpl::addWithArtificialVariable(const kiwi::impl::Row&)\u001b[m\u001b[K’:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:514:30:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 514 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( it->second );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/types.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/symbolics.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/term.cpp:11\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/variable.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/variable.h:103:22:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 103 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K m_context;\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/variable.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/variable.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:832:14:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 832 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K m_objective;\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/variable.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/variable.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:833:14:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 833 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K m_artificial;\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/variable.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/variable.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:\u001b[m\u001b[K In member function ‘\u001b[01m\u001b[Kvoid kiwi::impl::SolverImpl::addConstraint(const kiwi::Constraint&)\u001b[m\u001b[K’:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:91:22:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 91 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( createRow( constraint, tag ) );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/variable.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/variable.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:\u001b[m\u001b[K In member function ‘\u001b[01m\u001b[Kvoid kiwi::impl::SolverImpl::removeConstraint(const kiwi::Constraint&)\u001b[m\u001b[K’:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:158:30:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 158 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( row_it->second );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/variable.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/variable.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:167:30:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 167 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( row_it->second );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/variable.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K./kiwi/debug.h:12\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/variable.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:\u001b[m\u001b[K In member function ‘\u001b[01m\u001b[Kbool kiwi::impl::SolverImpl::addWithArtificialVariable(const kiwi::impl::Row&)\u001b[m\u001b[K’:\n", + "\u001b[01m\u001b[K./kiwi/solverimpl.h:514:30:\u001b[m\u001b[K \u001b[01;35m\u001b[Kwarning: \u001b[m\u001b[K‘\u001b[01m\u001b[Ktemplate class std::auto_ptr\u001b[m\u001b[K’ is deprecated: use 'std::unique_ptr' instead [\u001b[01;35m\u001b[K\u001b]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations\u0007-Wdeprecated-declarations\u001b]8;;\u0007\u001b[m\u001b[K]\n", + " 514 | std::\u001b[01;35m\u001b[Kauto_ptr\u001b[m\u001b[K rowptr( it->second );\n", + " | \u001b[01;35m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "In file included from \u001b[01m\u001b[K/usr/include/c++/11/memory:76\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/variable.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/term.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/expression.h:10\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/constraint.h:11\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[K./kiwi/kiwi.h:9\u001b[m\u001b[K,\n", + " from \u001b[01m\u001b[Kpy/variable.cpp:9\u001b[m\u001b[K:\n", + "\u001b[01m\u001b[K/usr/include/c++/11/bits/unique_ptr.h:57:28:\u001b[m\u001b[K \u001b[01;36m\u001b[Knote: \u001b[m\u001b[Kdeclared here\n", + " 57 | template class \u001b[01;36m\u001b[Kauto_ptr\u001b[m\u001b[K;\n", + " | \u001b[01;36m\u001b[K^~~~~~~~\u001b[m\u001b[K\n", + "zip_safe flag not set; analyzing archive contents...\n", + "__pycache__.kiwisolver.cpython-310: module references __file__\n", + "Adding kiwisolver 1.0.1 to easy-install.pth file\n", + "\n", + "Installed /usr/local/lib/python3.10/dist-packages/kiwisolver-1.0.1-py3.10-linux-x86_64.egg\n", + "Searching for cycler==0.10.0\n", + "Reading https://pypi.org/simple/cycler/\n", + "Downloading https://files.pythonhosted.org/packages/f7/d2/e07d3ebb2bd7af696440ce7e754c59dd546ffe1bbe732c8ab68b9c834e61/cycler-0.10.0-py2.py3-none-any.whl#sha256=1d8a5ae1ff6c5cf9b93e8811e581232ad8920aeec647c37316ceac982b08cb2d\n", + "Best match: cycler 0.10.0\n", + "Processing cycler-0.10.0-py2.py3-none-any.whl\n", + "Installing cycler-0.10.0-py2.py3-none-any.whl to /usr/local/lib/python3.10/dist-packages\n", + "Adding cycler 0.10.0 to easy-install.pth file\n", + "\n", + "Installed /usr/local/lib/python3.10/dist-packages/cycler-0.10.0-py3.10.egg\n", + "Searching for scikit-learn==1.2.2\n", + "Best match: scikit-learn 1.2.2\n", + "Adding scikit-learn 1.2.2 to easy-install.pth file\n", + "\n", + "Using /usr/local/lib/python3.10/dist-packages\n", + "Searching for threadpoolctl==3.4.0\n", + "Best match: threadpoolctl 3.4.0\n", + "Adding threadpoolctl 3.4.0 to easy-install.pth file\n", + "\n", + "Using /usr/local/lib/python3.10/dist-packages\n", + "Searching for joblib==1.3.2\n", + "Best match: joblib 1.3.2\n", + "Adding joblib 1.3.2 to easy-install.pth file\n", + "\n", + "Using /usr/local/lib/python3.10/dist-packages\n", + "Searching for Pillow==9.4.0\n", + "Best match: Pillow 9.4.0\n", + "Adding Pillow 9.4.0 to easy-install.pth file\n", + "\n", + "Using /usr/local/lib/python3.10/dist-packages\n", + "Searching for packaging==24.0\n", + "Best match: packaging 24.0\n", + "Adding packaging 24.0 to easy-install.pth file\n", + "\n", + "Using /usr/local/lib/python3.10/dist-packages\n", + "Searching for fonttools==4.50.0\n", + "Best match: fonttools 4.50.0\n", + "Adding fonttools 4.50.0 to easy-install.pth file\n", + "Installing fonttools script to /usr/local/bin\n", + "Installing pyftmerge script to /usr/local/bin\n", + "Installing pyftsubset script to /usr/local/bin\n", + "Installing ttx script to /usr/local/bin\n", + "\n", + "Using /usr/local/lib/python3.10/dist-packages\n", + "Searching for setuptools==67.7.2\n", + "Best match: setuptools 67.7.2\n", + "Adding setuptools 67.7.2 to easy-install.pth file\n", + "\n", + "Using /usr/local/lib/python3.10/dist-packages\n", + "Finished processing dependencies for Tesseract==0.9\n" + ] + } + ] + }, + { + "cell_type": "markdown", + "source": [ + "Little test to check if it is working." + ], + "metadata": { + "id": "d6lNONUcbkHl" + } + }, + { + "cell_type": "code", + "source": [ + "from sklearn.svm import LinearSVC\n", + "from tesseract import evaluation, temporal, metrics, mock\n", + "\n", + "\n", + "def main():\n", + " # Generate dummy predictors, labels and timestamps from Gaussians\n", + " X, y, t = mock.generate_binary_test_data(10000, '2014', '2016')\n", + "\n", + " # Partition dataset\n", + " splits = temporal.time_aware_train_test_split(\n", + " X, y, t, train_size=12, test_size=1, granularity='month')\n", + "\n", + " # Perform a timeline evaluation\n", + " clf = LinearSVC()\n", + " results = evaluation.fit_predict_update(clf, *splits)\n", + "\n", + " # View results\n", + " metrics.print_metrics(results)\n", + "\n", + " # View AUT(F1, 24 months) as a measure of robustness over time\n", + " print(metrics.aut(results, 'f1'))\n", + "\n", + "\n", + "if __name__ == '__main__':\n", + " main()\n" + ], + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "xKz-x96AZbBk", + "outputId": "116a531d-93e5-4d72-d948-d32498e19191" + }, + "execution_count": null, + "outputs": [ + { + "output_type": "stream", + "name": "stderr", + "text": [ + "12it [00:00, 50.14it/s]" + ] + }, + { + "output_type": "stream", + "name": "stdout", + "text": [ + "------------+------------------------------------------------------------------------------------\n", + "Test period | 1 2 3 4 5 6 7 8 9 10 11 12 \n", + "------------+------------------------------------------------------------------------------------\n", + "Actual pos | 231 195 244 221 225 206 226 220 196 193 189 216\n", + "Actual neg | 223 206 214 224 198 218 200 191 212 204 207 226\n", + "Total | 454 401 458 445 423 424 426 411 408 397 396 442\n", + "------------+------------------------------------------------------------------------------------\n", + "TPR | 0.952 0.974 0.951 0.955 0.933 0.966 0.960 0.945 0.949 0.959 0.989 0.972\n", + "FPR | 0.013 0.024 0.023 0.027 0.030 0.028 0.080 0.026 0.042 0.015 0.029 0.044\n", + "TNR | 0.987 0.976 0.977 0.973 0.970 0.972 0.920 0.974 0.958 0.985 0.971 0.956\n", + "FNR | 0.048 0.026 0.049 0.045 0.067 0.034 0.040 0.055 0.051 0.041 0.011 0.028\n", + "------------+------------------------------------------------------------------------------------\n", + "Precision | 0.987 0.974 0.979 0.972 0.972 0.971 0.931 0.977 0.954 0.984 0.969 0.955\n", + "Recall | 0.952 0.974 0.951 0.955 0.933 0.966 0.960 0.945 0.949 0.959 0.989 0.972\n", + "F1 | 0.969 0.974 0.965 0.963 0.952 0.968 0.946 0.961 0.951 0.971 0.979 0.963\n", + "------------+------------------------------------------------------------------------------------\n", + "0.9633941421735458\n" + ] + }, + { + "output_type": "stream", + "name": "stderr", + "text": [ + "\n" + ] + } + ] + }, + { + "cell_type": "code", + "source": [], + "metadata": { + "id": "zjTxQs28ag36" + }, + "execution_count": null, + "outputs": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "env310", + "language": "python", + "name": "env310" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.10.14" + }, + "colab": { + "provenance": [], + "toc_visible": true + } + }, + "nbformat": 4, + "nbformat_minor": 0 +} \ No newline at end of file