Test output: teeks99-06-mg11-20-64onaarch64 - python - auto_ptr / gcc-11~c++20
Rev 9dae34c66db664e04b92ce65f33d238cb5fb1c44 / Wed, 20 Nov 2024 01:49:27 +0000
Compile [2024-11-21 00:04:34 UTC]: succeed

"g++-11"   -fvisibility-inlines-hidden -std=c++20 -fPIC -pthread -O0 -fno-inline -Wall -fvisibility=hidden -Wextra -DBOOST_ALL_NO_LIB=1 -DBOOST_COBALT_USE_STD_PMR=1 -DBOOST_CONTAINER_DYN_LINK=1 -DBOOST_CONTAINER_NO_LIB=1 -DBOOST_PYTHON_NO_LIB   -I".." -I"/mnt/fs1/teeks99-06/run/boost_root/libs/assert/include" -I"/mnt/fs1/teeks99-06/run/boost_root/libs/bind/include" -I"/mnt/fs1/teeks99-06/run/boost_root/libs/container/include" -I"/mnt/fs1/teeks99-06/run/boost_root/libs/conversion/include" -I"/mnt/fs1/teeks99-06/run/boost_root/libs/core/include" -I"/mnt/fs1/teeks99-06/run/boost_root/libs/detail/include" -I"/mnt/fs1/teeks99-06/run/boost_root/libs/function/include" -I"/mnt/fs1/teeks99-06/run/boost_root/libs/function_types/include" -I"/mnt/fs1/teeks99-06/run/boost_root/libs/integer/include" -I"/mnt/fs1/teeks99-06/run/boost_root/libs/intrusive/include" -I"/mnt/fs1/teeks99-06/run/boost_root/libs/iterator/include" -I"/mnt/fs1/teeks99-06/run/boost_root/libs/lexical_cast/include" -I"/mnt/fs1/teeks99-06/run/boost_root/libs/move/include" -I"/mnt/fs1/teeks99-06/run/boost_root/libs/optional/include" -I"/mnt/fs1/teeks99-06/run/boost_root/libs/python/include" -I"/mnt/fs1/teeks99-06/run/boost_root/libs/smart_ptr/include" -I"/mnt/fs1/teeks99-06/run/boost_root/libs/throw_exception/include" -I"/mnt/fs1/teeks99-06/run/boost_root/libs/tuple/include" -I"/usr/include/python2.7"  -c -o "/mnt/fs1/teeks99-06/run/results/boost/bin.v2/libs/python/test/auto_ptr.test/gcc-11~c++20/debug/arm_64/debug-symbols-off/python-2.7/threading-multi/visibility-hidden/auto_ptr.o" "../libs/python/test/auto_ptr.cpp"

In file included from ../boost/python/detail/is_xxx.hpp:8,
                 from ../boost/python/detail/is_auto_ptr.hpp:9,
                 from ../boost/python/detail/copy_ctor_mutates_rhs.hpp:8,
                 from ../boost/python/detail/value_arg.hpp:7,
                 from ../boost/python/object/forward.hpp:10,
                 from ../boost/python/object/pointer_holder.hpp:16,
                 from ../boost/python/to_python_indirect.hpp:10,
                 from ../boost/python/converter/arg_to_python.hpp:10,
                 from ../boost/python/call.hpp:15,
                 from ../boost/python/object_core.hpp:14,
                 from ../boost/python/object/class.hpp:9,
                 from ../boost/python/class.hpp:13,
                 from ../libs/python/test/auto_ptr.cpp:8:
../boost/python/detail/is_auto_ptr.hpp:17:40: warning: ???template<class> class std::auto_ptr??? is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
   17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
      |                                        ^~~~~~~~
../boost/detail/is_xxx.hpp:20:4: note: in definition of macro ???BOOST_DETAIL_IS_XXX_DEF???
   20 |    qualified_name< BOOST_PP_ENUM_PARAMS_Z(1, nargs, T) >        \
      |    ^~~~~~~~~~~~~~
../boost/python/detail/is_auto_ptr.hpp:17:1: note: in expansion of macro ???BOOST_PYTHON_IS_XXX_DEF???
   17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
      | ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from ../boost/config/no_tr1/memory.hpp:21,
                 from ../boost/get_pointer.hpp:14,
                 from ../boost/python/object/pointer_holder.hpp:11,
                 from ../boost/python/to_python_indirect.hpp:10,
                 from ../boost/python/converter/arg_to_python.hpp:10,
                 from ../boost/python/call.hpp:15,
                 from ../boost/python/object_core.hpp:14,
                 from ../boost/python/object/class.hpp:9,
                 from ../boost/python/class.hpp:13,
                 from ../libs/python/test/auto_ptr.cpp:8:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
../libs/python/test/auto_ptr.cpp:26:15: warning: ???template<class> class std::auto_ptr??? is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
   26 | int look(std::auto_ptr<X> const& x)
      |               ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from ../boost/config/no_tr1/memory.hpp:21,
                 from ../boost/get_pointer.hpp:14,
                 from ../boost/python/object/pointer_holder.hpp:11,
                 from ../boost/python/to_python_indirect.hpp:10,
                 from ../boost/python/converter/arg_to_python.hpp:10,
                 from ../boost/python/call.hpp:15,
                 from ../boost/python/object_core.hpp:14,
                 from ../boost/python/object/class.hpp:9,
                 from ../boost/python/class.hpp:13,
                 from ../libs/python/test/auto_ptr.cpp:8:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
../libs/python/test/auto_ptr.cpp:31:16: warning: ???template<class> class std::auto_ptr??? is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
   31 | int steal(std::auto_ptr<X> x)
      |                ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from ../boost/config/no_tr1/memory.hpp:21,
                 from ../boost/get_pointer.hpp:14,
                 from ../boost/python/object/pointer_holder.hpp:11,
                 from ../boost/python/to_python_indirect.hpp:10,
                 from ../boost/python/converter/arg_to_python.hpp:10,
                 from ../boost/python/call.hpp:15,
                 from ../boost/python/object_core.hpp:14,
                 from ../boost/python/object/class.hpp:9,
                 from ../boost/python/class.hpp:13,
                 from ../libs/python/test/auto_ptr.cpp:8:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
../libs/python/test/auto_ptr.cpp:36:22: warning: ???template<class> class std::auto_ptr??? is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
   36 | int maybe_steal(std::auto_ptr<X>& x, bool doit)
      |                      ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from ../boost/config/no_tr1/memory.hpp:21,
                 from ../boost/get_pointer.hpp:14,
                 from ../boost/python/object/pointer_holder.hpp:11,
                 from ../boost/python/to_python_indirect.hpp:10,
                 from ../boost/python/converter/arg_to_python.hpp:10,
                 from ../boost/python/call.hpp:15,
                 from ../boost/python/object_core.hpp:14,
                 from ../boost/python/object/class.hpp:9,
                 from ../boost/python/class.hpp:13,
                 from ../libs/python/test/auto_ptr.cpp:8:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
../libs/python/test/auto_ptr.cpp:44:6: warning: ???template<class> class std::auto_ptr??? is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
   44 | std::auto_ptr<X> make()
      |      ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from ../boost/config/no_tr1/memory.hpp:21,
                 from ../boost/get_pointer.hpp:14,
                 from ../boost/python/object/pointer_holder.hpp:11,
                 from ../boost/python/to_python_indirect.hpp:10,
                 from ../boost/python/converter/arg_to_python.hpp:10,
                 from ../boost/python/call.hpp:15,
                 from ../boost/python/object_core.hpp:14,
                 from ../boost/python/object/class.hpp:9,
                 from ../boost/python/class.hpp:13,
                 from ../libs/python/test/auto_ptr.cpp:8:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
../libs/python/test/auto_ptr.cpp: In function ???std::auto_ptr<test_class<> > make()???:
../libs/python/test/auto_ptr.cpp:46:17: warning: ???template<class> class std::auto_ptr??? is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
   46 |     return std::auto_ptr<X>(new X(77));
      |                 ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from ../boost/config/no_tr1/memory.hpp:21,
                 from ../boost/get_pointer.hpp:14,
                 from ../boost/python/object/pointer_holder.hpp:11,
                 from ../boost/python/to_python_indirect.hpp:10,
                 from ../boost/python/converter/arg_to_python.hpp:10,
                 from ../boost/python/call.hpp:15,
                 from ../boost/python/object_core.hpp:14,
                 from ../boost/python/object/class.hpp:9,
                 from ../boost/python/class.hpp:13,
                 from ../libs/python/test/auto_ptr.cpp:8:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
../libs/python/test/auto_ptr.cpp: At global scope:
../libs/python/test/auto_ptr.cpp:49:6: warning: ???template<class> class std::auto_ptr??? is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
   49 | std::auto_ptr<X> callback(object f)
      |      ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from ../boost/config/no_tr1/memory.hpp:21,
                 from ../boost/get_pointer.hpp:14,
                 from ../boost/python/object/pointer_holder.hpp:11,
                 from ../boost/python/to_python_indirect.hpp:10,
                 from ../boost/python/converter/arg_to_python.hpp:10,
                 from ../boost/python/call.hpp:15,
                 from ../boost/python/object_core.hpp:14,
                 from ../boost/python/object/class.hpp:9,
                 from ../boost/python/class.hpp:13,
                 from ../libs/python/test/auto_ptr.cpp:8:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
../libs/python/test/auto_ptr.cpp: In function ???std::auto_ptr<test_class<> > callback(boost::python::api::object)???:
../libs/python/test/auto_ptr.cpp:51:10: warning: ???template<class> class std::auto_ptr??? is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
   51 |     std::auto_ptr<X> x(new X(77));
      |          ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from ../boost/config/no_tr1/memory.hpp:21,
                 from ../boost/get_pointer.hpp:14,
                 from ../boost/python/object/pointer_holder.hpp:11,
                 from ../boost/python/to_python_indirect.hpp:10,
                 from ../boost/python/converter/arg_to_python.hpp:10,
                 from ../boost/python/call.hpp:15,
                 from ../boost/python/object_core.hpp:14,
                 from ../boost/python/object/class.hpp:9,
                 from ../boost/python/class.hpp:13,
                 from ../libs/python/test/auto_ptr.cpp:8:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
../libs/python/test/auto_ptr.cpp:52:22: warning: ???template<class> class std::auto_ptr??? is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
   52 |     return call<std::auto_ptr<X> >(f.ptr(), x);
      |                      ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from ../boost/config/no_tr1/memory.hpp:21,
                 from ../boost/get_pointer.hpp:14,
                 from ../boost/python/object/pointer_holder.hpp:11,
                 from ../boost/python/to_python_indirect.hpp:10,
                 from ../boost/python/converter/arg_to_python.hpp:10,
                 from ../boost/python/call.hpp:15,
                 from ../boost/python/object_core.hpp:14,
                 from ../boost/python/object/class.hpp:9,
                 from ../boost/python/class.hpp:13,
                 from ../libs/python/test/auto_ptr.cpp:8:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
../libs/python/test/auto_ptr.cpp: At global scope:
../libs/python/test/auto_ptr.cpp:55:6: warning: ???template<class> class std::auto_ptr??? is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
   55 | std::auto_ptr<X> extract_(object o)
      |      ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from ../boost/config/no_tr1/memory.hpp:21,
                 from ../boost/get_pointer.hpp:14,
                 from ../boost/python/object/pointer_holder.hpp:11,
                 from ../boost/python/to_python_indirect.hpp:10,
                 from ../boost/python/converter/arg_to_python.hpp:10,
                 from ../boost/python/call.hpp:15,
                 from ../boost/python/object_core.hpp:14,
                 from ../boost/python/object/class.hpp:9,
                 from ../boost/python/class.hpp:13,
                 from ../libs/python/test/auto_ptr.cpp:8:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
../libs/python/test/auto_ptr.cpp: In function ???std::auto_ptr<test_class<> > extract_(boost::python::api::object)???:
../libs/python/test/auto_ptr.cpp:57:25: warning: ???template<class> class std::auto_ptr??? is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
   57 |     return extract<std::auto_ptr<X>&>(o)
      |                         ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from ../boost/config/no_tr1/memory.hpp:21,
                 from ../boost/get_pointer.hpp:14,
                 from ../boost/python/object/pointer_holder.hpp:11,
                 from ../boost/python/to_python_indirect.hpp:10,
                 from ../boost/python/converter/arg_to_python.hpp:10,
                 from ../boost/python/call.hpp:15,
                 from ../boost/python/object_core.hpp:14,
                 from ../boost/python/object/class.hpp:9,
                 from ../boost/python/class.hpp:13,
                 from ../libs/python/test/auto_ptr.cpp:8:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
../libs/python/test/auto_ptr.cpp: In function ???void init_module_auto_ptr_ext()???:
../libs/python/test/auto_ptr.cpp:66:20: warning: ???template<class> class std::auto_ptr??? is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
   66 |     class_<X, std::auto_ptr<X>, boost::noncopyable>("X", init<int>())
      |                    ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from ../boost/config/no_tr1/memory.hpp:21,
                 from ../boost/get_pointer.hpp:14,
                 from ../boost/python/object/pointer_holder.hpp:11,
                 from ../boost/python/to_python_indirect.hpp:10,
                 from ../boost/python/converter/arg_to_python.hpp:10,
                 from ../boost/python/call.hpp:15,
                 from ../boost/python/object_core.hpp:14,
                 from ../boost/python/object/class.hpp:9,
                 from ../boost/python/class.hpp:13,
                 from ../libs/python/test/auto_ptr.cpp:8:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
../libs/python/test/auto_ptr.cpp:70:20: warning: ???template<class> class std::auto_ptr??? is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
   70 |     class_<Y, std::auto_ptr<Y>, bases<X>, boost::noncopyable>("Y", init<int>())
      |                    ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from ../boost/config/no_tr1/memory.hpp:21,
                 from ../boost/get_pointer.hpp:14,
                 from ../boost/python/object/pointer_holder.hpp:11,
                 from ../boost/python/to_python_indirect.hpp:10,
                 from ../boost/python/converter/arg_to_python.hpp:10,
                 from ../boost/python/call.hpp:15,
                 from ../boost/python/object_core.hpp:14,
                 from ../boost/python/object/class.hpp:9,
                 from ../boost/python/class.hpp:13,
                 from ../libs/python/test/auto_ptr.cpp:8:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
../libs/python/test/auto_ptr.cpp:78:33: warning: ???template<class> class std::auto_ptr??? is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
   78 |     implicitly_convertible<std::auto_ptr<Y>, std::auto_ptr<X> >();
      |                                 ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from ../boost/config/no_tr1/memory.hpp:21,
                 from ../boost/get_pointer.hpp:14,
                 from ../boost/python/object/pointer_holder.hpp:11,
                 from ../boost/python/to_python_indirect.hpp:10,
                 from ../boost/python/converter/arg_to_python.hpp:10,
                 from ../boost/python/call.hpp:15,
                 from ../boost/python/object_core.hpp:14,
                 from ../boost/python/object/class.hpp:9,
                 from ../boost/python/class.hpp:13,
                 from ../libs/python/test/auto_ptr.cpp:8:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
../libs/python/test/auto_ptr.cpp:78:51: warning: ???template<class> class std::auto_ptr??? is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
   78 |     implicitly_convertible<std::auto_ptr<Y>, std::auto_ptr<X> >();
      |                                                   ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from ../boost/config/no_tr1/memory.hpp:21,
                 from ../boost/get_pointer.hpp:14,
                 from ../boost/python/object/pointer_holder.hpp:11,
                 from ../boost/python/to_python_indirect.hpp:10,
                 from ../boost/python/converter/arg_to_python.hpp:10,
                 from ../boost/python/call.hpp:15,
                 from ../boost/python/object_core.hpp:14,
                 from ../boost/python/object/class.hpp:9,
                 from ../boost/python/class.hpp:13,
                 from ../libs/python/test/auto_ptr.cpp:8:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
            
Link [2024-11-21 00:04:34 UTC]: succeed

"g++-11"    -o "/mnt/fs1/teeks99-06/run/results/boost/bin.v2/libs/python/test/auto_ptr.test/gcc-11~c++20/debug/arm_64/debug-symbols-off/python-2.7/threading-multi/visibility-hidden/auto_ptr_ext.so" -Wl,-soname -Wl,"auto_ptr_ext.so" -shared -Wl,--start-group "/mnt/fs1/teeks99-06/run/results/boost/bin.v2/libs/python/test/auto_ptr.test/gcc-11~c++20/debug/arm_64/debug-symbols-off/python-2.7/threading-multi/visibility-hidden/auto_ptr.o" "/mnt/fs1/teeks99-06/run/results/boost/bin.v2/libs/python/build/gcc-11~c++20/debug/arm_64/debug-symbols-off/python-2.7/threading-multi/visibility-hidden/libboost_python27.so.1.87.0" "/mnt/fs1/teeks99-06/run/results/boost/bin.v2/libs/container/build/gcc-11~c++20/debug/arm_64/debug-symbols-off/threading-multi/visibility-hidden/libboost_container.so.1.87.0"  -Wl,-Bstatic  -Wl,-Bdynamic -lrt -ldl -lpthread -lutil -Wl,--end-group -fPIC -pthread -fvisibility=hidden -fvisibility-inlines-hidden 

            
Run [2024-11-21 00:04:34 UTC]: fail

running...
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 5, in __main__
Failed example:
    from auto_ptr_ext import *
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[0]>", line 1, in <module>
        from auto_ptr_ext import *
    ImportError: /mnt/fs1/teeks99-06/run/results/boost/bin.v2/libs/python/build/gcc-11~c++20/debug/arm_64/debug-symbols-off/python-2.7/threading-multi/visibility-hidden/libboost_python27.so.1.87.0: undefined symbol: PyUnicodeUCS4_FromEncodedObject
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 6, in __main__
Failed example:
    x = X(42)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[1]>", line 1, in <module>
        x = X(42)
    NameError: name 'X' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 7, in __main__
Failed example:
    x.value()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[2]>", line 1, in <module>
        x.value()
    NameError: name 'x' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 9, in __main__
Failed example:
    look(x), look(x)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[3]>", line 1, in <module>
        look(x), look(x)
    NameError: name 'look' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 12, in __main__
Failed example:
    maybe_steal(x, 0)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[4]>", line 1, in <module>
        maybe_steal(x, 0)
    NameError: name 'maybe_steal' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 14, in __main__
Failed example:
    look(x)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[5]>", line 1, in <module>
        look(x)
    NameError: name 'look' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 17, in __main__
Failed example:
    maybe_steal(x, 1)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[6]>", line 1, in <module>
        maybe_steal(x, 1)
    NameError: name 'maybe_steal' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 19, in __main__
Failed example:
    broken_auto_ptr and -1 or look(x)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[7]>", line 1, in <module>
        broken_auto_ptr and -1 or look(x)
    NameError: name 'broken_auto_ptr' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 22, in __main__
Failed example:
    x = X(69)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[8]>", line 1, in <module>
        x = X(69)
    NameError: name 'X' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 23, in __main__
Failed example:
    steal(x)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[9]>", line 1, in <module>
        steal(x)
    NameError: name 'steal' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 25, in __main__
Failed example:
    broken_auto_ptr and -1 or look(x)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[10]>", line 1, in <module>
        broken_auto_ptr and -1 or look(x)
    NameError: name 'broken_auto_ptr' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 28, in __main__
Failed example:
    if not broken_auto_ptr:
        try: x.value()
        except TypeError: pass
        else: print('expected a TypeError exception')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[11]>", line 1, in <module>
        if not broken_auto_ptr:
    NameError: name 'broken_auto_ptr' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 33, in __main__
Failed example:
    x = make()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[12]>", line 1, in <module>
        x = make()
    NameError: name 'make' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 34, in __main__
Failed example:
    look(x)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[13]>", line 1, in <module>
        look(x)
    NameError: name 'look' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 37, in __main__
Failed example:
    z = callback(lambda z: z)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[14]>", line 1, in <module>
        z = callback(lambda z: z)
    NameError: name 'callback' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 38, in __main__
Failed example:
    z.value()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[15]>", line 1, in <module>
        z.value()
    NameError: name 'z' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 41, in __main__
Failed example:
    extract(x).value()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[16]>", line 1, in <module>
        extract(x).value()
    NameError: name 'extract' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 48, in __main__
Failed example:
    y = Y(42)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[17]>", line 1, in <module>
        y = Y(42)
    NameError: name 'Y' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 49, in __main__
Failed example:
    y.value()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[18]>", line 1, in <module>
        y.value()
    NameError: name 'y' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 52, in __main__
Failed example:
    try: maybe_steal(y, 0)
    except TypeError: pass
    else: print('expected a TypeError exception')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[19]>", line 1, in <module>
        try: maybe_steal(y, 0)
    NameError: name 'maybe_steal' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 56, in __main__
Failed example:
    y.value()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[20]>", line 1, in <module>
        y.value()
    NameError: name 'y' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 59, in __main__
Failed example:
    broken_auto_ptr and 42 or steal(y)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[21]>", line 1, in <module>
        broken_auto_ptr and 42 or steal(y)
    NameError: name 'broken_auto_ptr' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 62, in __main__
Failed example:
    if not broken_auto_ptr:
        try: y.value()
        except TypeError: pass
        else: print('expected a TypeError exception')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[22]>", line 1, in <module>
        if not broken_auto_ptr:
    NameError: name 'broken_auto_ptr' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 67, in __main__
Failed example:
    print(look.__doc__.splitlines()[1])
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[23]>", line 1, in <module>
        print(look.__doc__.splitlines()[1])
    NameError: name 'look' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 70, in __main__
Failed example:
    print(steal.__doc__.splitlines()[1])
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[24]>", line 1, in <module>
        print(steal.__doc__.splitlines()[1])
    NameError: name 'steal' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 73, in __main__
Failed example:
    print(maybe_steal.__doc__.splitlines()[1])
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[25]>", line 1, in <module>
        print(maybe_steal.__doc__.splitlines()[1])
    NameError: name 'maybe_steal' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 76, in __main__
Failed example:
    print(make.__doc__.splitlines()[1])
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[26]>", line 1, in <module>
        print(make.__doc__.splitlines()[1])
    NameError: name 'make' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 79, in __main__
Failed example:
    print(callback.__doc__.splitlines()[1])
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[27]>", line 1, in <module>
        print(callback.__doc__.splitlines()[1])
    NameError: name 'callback' is not defined
**********************************************************************
File "../libs/python/test/auto_ptr.py", line 82, in __main__
Failed example:
    print(extract.__doc__.splitlines()[1])
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__[28]>", line 1, in <module>
        print(extract.__doc__.splitlines()[1])
    NameError: name 'extract' is not defined
**********************************************************************
1 items had failures:
  29 of  29 in __main__
***Test Failed*** 29 failures.

EXIT STATUS: 29