[INFO] fetching crate istamon-qml-extras 0.1.0... [INFO] testing istamon-qml-extras-0.1.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate istamon-qml-extras 0.1.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate istamon-qml-extras 0.1.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate istamon-qml-extras 0.1.0 [INFO] finished tweaking crates.io crate istamon-qml-extras 0.1.0 [INFO] tweaked toml for crates.io crate istamon-qml-extras 0.1.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cpp_build v0.5.6 [INFO] [stderr] Downloaded cpp v0.5.6 [INFO] [stderr] Downloaded if_rust_version v1.0.0 [INFO] [stderr] Downloaded qttypes v0.2.8 [INFO] [stderr] Downloaded qmetaobject_impl v0.2.7 [INFO] [stderr] Downloaded qmetaobject v0.2.7 [INFO] [stderr] Downloaded cpp_macros v0.5.6 [INFO] [stderr] Downloaded cpp_common v0.5.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 27ad4f3ece7662228b34767985b17a8b5e53f8b0936d02358ae2e2bad0003058 [INFO] running `Command { std: "docker" "start" "-a" "27ad4f3ece7662228b34767985b17a8b5e53f8b0936d02358ae2e2bad0003058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27ad4f3ece7662228b34767985b17a8b5e53f8b0936d02358ae2e2bad0003058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27ad4f3ece7662228b34767985b17a8b5e53f8b0936d02358ae2e2bad0003058", kill_on_drop: false }` [INFO] [stdout] 27ad4f3ece7662228b34767985b17a8b5e53f8b0936d02358ae2e2bad0003058 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d26a003fb31ef5ed474311ffe7c78ea056bc7cab32f20d8300a2f3e98b7f5b41 [INFO] running `Command { std: "docker" "start" "-a" "d26a003fb31ef5ed474311ffe7c78ea056bc7cab32f20d8300a2f3e98b7f5b41", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling if_rust_version v1.0.0 [INFO] [stderr] Compiling cpp_common v0.5.6 [INFO] [stderr] Compiling qmetaobject_impl v0.2.7 [INFO] [stderr] Compiling cpp_build v0.5.6 [INFO] [stderr] Compiling cpp_macros v0.5.6 [INFO] [stderr] Compiling qttypes v0.2.8 [INFO] [stderr] Compiling qmetaobject v0.2.7 [INFO] [stderr] Compiling istamon-qml-extras v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling cpp v0.5.6 [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: In file included from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:57, [INFO] [stderr] warning: from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqml.h:43, [INFO] [stderr] warning: from src/qwindow.rs:9: [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h: In constructor 'QVariant::QVariant(QVariant&&)': [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:275:25: warning: implicitly-declared 'QVariant::Private& QVariant::Private::operator=(const QVariant::Private&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: 275 | { other.d = Private(); } [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:401:16: note: because 'QVariant::Private' has user-provided 'QVariant::Private::Private(const QVariant::Private&)' [INFO] [stderr] warning: 401 | inline Private(const Private &other) Q_DECL_NOTHROW [INFO] [stderr] warning: | ^~~~~~~ [INFO] [stderr] warning: src/qwindow.rs: In function 'QWindow* __cpp_closure_213853493669471932_impl(QPointer* const&)': [INFO] [stderr] warning: src/qwindow.rs:51:24: error: invalid use of incomplete type 'class QPointer' [INFO] [stderr] warning: 51 | return self->data(); [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:46, [INFO] [stderr] warning: from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:57, [INFO] [stderr] warning: from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqml.h:43, [INFO] [stderr] warning: from src/qwindow.rs:9: [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:229:7: note: declaration of 'class QPointer' [INFO] [stderr] warning: 229 | F(QPointer) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1375:30: note: in definition of macro 'QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER' [INFO] [stderr] warning: 1375 | template class Name; \ [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1377:1: note: in expansion of macro 'QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER' [INFO] [stderr] warning: 1377 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER) [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs: At global scope: [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:266:90: error: return type 'class QPointer' is incomplete [INFO] [stderr] warning: 266 | static inline {ty} {name}_impl({params}) {{ [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: src/qwindow.rs: In function 'void __cpp_closure_8344333872164292660(QWindow* const&, void*)': [INFO] [stderr] warning: src/qwindow.rs:76:82: error: invalid use of incomplete type 'class QPointer' [INFO] [stderr] warning: 76 | qwindow_buffer, [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:46, [INFO] [stderr] warning: from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:57, [INFO] [stderr] warning: from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqml.h:43, [INFO] [stderr] warning: from src/qwindow.rs:9: [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:229:7: note: declaration of 'class QPointer' [INFO] [stderr] warning: 229 | F(QPointer) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1375:30: note: in definition of macro 'QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER' [INFO] [stderr] warning: 1375 | template class Name; \ [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1377:1: note: in expansion of macro 'QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER' [INFO] [stderr] warning: 1377 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER) [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: src/qwindow.rs: In function 'int __cpp_closure_10154194941711373492_impl()': [INFO] [stderr] warning: src/qwindow.rs:127:31: error: 'fromType' is not a member of 'QMetaType' [INFO] [stderr] warning: 127 | return QMetaType::fromType().id(); [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: src/qwindow.rs:127:47: error: expected primary-expression before '*' token [INFO] [stderr] warning: 127 | return QMetaType::fromType().id(); [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: src/qwindow.rs:127:48: error: expected primary-expression before '>' token [INFO] [stderr] warning: 127 | return QMetaType::fromType().id(); [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: src/qwindow.rs:127:50: error: expected primary-expression before ')' token [INFO] [stderr] warning: 127 | return QMetaType::fromType().id(); [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: src/qwindow.rs: In function 'void __cpp_destructor_17133321953062396296(void*)': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/istamon-qml-extras-29e7ad7abf7e55f3/out/rust_cpp/cpp_closures.cpp:76:90: error: invalid use of incomplete type 'T' {aka 'class QPointer'} [INFO] [stderr] warning: 76 | void __cpp_destructor_##HASH(void *ptr) { typedef __VA_ARGS__ T; static_cast(ptr)->~T(); } \ [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: src/qwindow.rs:46:12: note: in expansion of macro 'RUST_CPP_CLASS_HELPER' [INFO] [stderr] warning: 46 | cpp_class!(unsafe struct QWindowPointerImpl as "QPointer"); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:46, [INFO] [stderr] warning: from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:57, [INFO] [stderr] warning: from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqml.h:43, [INFO] [stderr] warning: from src/qwindow.rs:9: [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:229:7: note: declaration of 'T' {aka 'class QPointer'} [INFO] [stderr] warning: 229 | F(QPointer) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1375:30: note: in definition of macro 'QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER' [INFO] [stderr] warning: 1375 | template class Name; \ [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1377:1: note: in expansion of macro 'QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER' [INFO] [stderr] warning: 1377 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER) [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs: At global scope: [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:398:41: error: invalid application of 'sizeof' to incomplete type 'QPointer' [INFO] [stderr] warning: 398 | r#" [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs: In instantiation of 'struct rustcpp::AlignOf >::Inner': [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:336:36: required from 'const uintptr_t rustcpp::AlignOf >::value' [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:399:54: required from here [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:334:11: error: 'rustcpp::AlignOf::Inner::b' has incomplete type [INFO] [stderr] warning: 334 | T b; [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:46, [INFO] [stderr] warning: from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:57, [INFO] [stderr] warning: from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqml.h:43, [INFO] [stderr] warning: from src/qwindow.rs:9: [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:229:7: note: declaration of 'class QPointer' [INFO] [stderr] warning: 229 | F(QPointer) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1375:30: note: in definition of macro 'QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER' [INFO] [stderr] warning: 1375 | template class Name; \ [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1377:1: note: in expansion of macro 'QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER' [INFO] [stderr] warning: 1377 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER) [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs: In instantiation of 'const uintptr_t rustcpp::AlignOf >::value': [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:399:54: required from here [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:336:52: error: invalid application of 'sizeof' to incomplete type 'QPointer' [INFO] [stderr] warning: 336 | static const uintptr_t value = sizeof(Inner) - sizeof(T); [INFO] [stderr] warning: | ^~~~~~~~~ [INFO] [stderr] warning: In file included from /usr/include/c++/9/bits/move.h:55, [INFO] [stderr] warning: from /usr/include/c++/9/bits/nested_exception.h:40, [INFO] [stderr] warning: from /usr/include/c++/9/exception:144, [INFO] [stderr] warning: from /usr/include/c++/9/new:40, [INFO] [stderr] warning: from /opt/rustwide/target/debug/build/istamon-qml-extras-29e7ad7abf7e55f3/out/rust_cpp/cpp_closures.cpp:5: [INFO] [stderr] warning: /usr/include/c++/9/type_traits: In instantiation of 'struct std::is_trivially_destructible >': [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:345:51: required from 'const uintptr_t rustcpp::Flags >::value' [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:400:52: required from here [INFO] [stderr] warning: /usr/include/c++/9/type_traits:1228:12: error: invalid use of incomplete type 'class QPointer' [INFO] [stderr] warning: 1228 | struct is_trivially_destructible [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:46, [INFO] [stderr] warning: from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:57, [INFO] [stderr] warning: from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqml.h:43, [INFO] [stderr] warning: from src/qwindow.rs:9: [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:229:7: note: declaration of 'class QPointer' [INFO] [stderr] warning: 229 | F(QPointer) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1375:30: note: in definition of macro 'QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER' [INFO] [stderr] warning: 1375 | template class Name; \ [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1377:1: note: in expansion of macro 'QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER' [INFO] [stderr] warning: 1377 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER) [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs: In instantiation of 'const uintptr_t rustcpp::Flags >::value': [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:400:52: required from here [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:345:51: error: 'value' is not a member of 'std::is_trivially_destructible >' [INFO] [stderr] warning: 345 | (std::is_trivially_destructible::value << {flag_is_trivially_destructible}) | [INFO] [stderr] warning: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ [INFO] [stderr] warning: In file included from /usr/include/c++/9/bits/move.h:55, [INFO] [stderr] warning: from /usr/include/c++/9/bits/nested_exception.h:40, [INFO] [stderr] warning: from /usr/include/c++/9/exception:144, [INFO] [stderr] warning: from /usr/include/c++/9/new:40, [INFO] [stderr] warning: from /opt/rustwide/target/debug/build/istamon-qml-extras-29e7ad7abf7e55f3/out/rust_cpp/cpp_closures.cpp:5: [INFO] [stderr] warning: /usr/include/c++/9/type_traits: In instantiation of 'struct std::is_trivially_copyable >': [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:346:47: required from 'const uintptr_t rustcpp::Flags >::value' [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:400:52: required from here [INFO] [stderr] warning: /usr/include/c++/9/type_traits:678:12: error: invalid use of incomplete type 'class QPointer' [INFO] [stderr] warning: 678 | struct is_trivially_copyable [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:46, [INFO] [stderr] warning: from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:57, [INFO] [stderr] warning: from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqml.h:43, [INFO] [stderr] warning: from src/qwindow.rs:9: [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:229:7: note: declaration of 'class QPointer' [INFO] [stderr] warning: 229 | F(QPointer) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1375:30: note: in definition of macro 'QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER' [INFO] [stderr] warning: 1375 | template class Name; \ [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1377:1: note: in expansion of macro 'QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER' [INFO] [stderr] warning: 1377 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER) [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs: In instantiation of 'const uintptr_t rustcpp::Flags >::value': [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:400:52: required from here [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:346:47: error: 'value' is not a member of 'std::is_trivially_copyable >' [INFO] [stderr] warning: 346 | (std::is_trivially_copyable::value << {flag_is_trivially_copyable}) | [INFO] [stderr] warning: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ [INFO] [stderr] warning: In file included from /usr/include/c++/9/bits/move.h:55, [INFO] [stderr] warning: from /usr/include/c++/9/bits/nested_exception.h:40, [INFO] [stderr] warning: from /usr/include/c++/9/exception:144, [INFO] [stderr] warning: from /usr/include/c++/9/new:40, [INFO] [stderr] warning: from /opt/rustwide/target/debug/build/istamon-qml-extras-29e7ad7abf7e55f3/out/rust_cpp/cpp_closures.cpp:5: [INFO] [stderr] warning: /usr/include/c++/9/type_traits: In instantiation of 'struct std::is_trivially_constructible >': [INFO] [stderr] warning: /usr/include/c++/9/type_traits:1106:12: required from 'struct std::is_trivially_default_constructible >' [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:347:60: required from 'const uintptr_t rustcpp::Flags >::value' [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:400:52: required from here [INFO] [stderr] warning: /usr/include/c++/9/type_traits:1100:12: error: invalid use of incomplete type 'class QPointer' [INFO] [stderr] warning: 1100 | struct is_trivially_constructible [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:46, [INFO] [stderr] warning: from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:57, [INFO] [stderr] warning: from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqml.h:43, [INFO] [stderr] warning: from src/qwindow.rs:9: [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:229:7: note: declaration of 'class QPointer' [INFO] [stderr] warning: 229 | F(QPointer) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1375:30: note: in definition of macro 'QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER' [INFO] [stderr] warning: 1375 | template class Name; \ [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1377:1: note: in expansion of macro 'QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER' [INFO] [stderr] warning: 1377 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER) [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: In file included from /usr/include/c++/9/bits/move.h:55, [INFO] [stderr] warning: from /usr/include/c++/9/bits/nested_exception.h:40, [INFO] [stderr] warning: from /usr/include/c++/9/exception:144, [INFO] [stderr] warning: from /usr/include/c++/9/new:40, [INFO] [stderr] warning: from /opt/rustwide/target/debug/build/istamon-qml-extras-29e7ad7abf7e55f3/out/rust_cpp/cpp_closures.cpp:5: [INFO] [stderr] warning: /usr/include/c++/9/type_traits: In instantiation of 'struct std::is_trivially_default_constructible >': [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:347:60: required from 'const uintptr_t rustcpp::Flags >::value' [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:400:52: required from here [INFO] [stderr] warning: /usr/include/c++/9/type_traits:1106:12: error: no type named 'type' in 'struct std::is_trivially_constructible >' [INFO] [stderr] warning: 1106 | struct is_trivially_default_constructible [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs: In instantiation of 'const uintptr_t rustcpp::Flags >::value': [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:400:52: required from here [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:347:60: error: 'value' is not a member of 'std::is_trivially_default_constructible >' [INFO] [stderr] warning: 347 | (std::is_trivially_default_constructible::value << {flag_is_trivially_default_constructible}) | [INFO] [stderr] warning: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ [INFO] [stderr] warning: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:413:41: error: invalid application of 'sizeof' to incomplete type 'QPointer' [INFO] [stderr] warning: 413 | /// This struct is for advanced users of the build script. It allows providing [INFO] [stderr] warning: | ^ [INFO] [stderr] [INFO] [stderr] error: failed to run custom build command for `istamon-qml-extras v0.1.0 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/istamon-qml-extras-f89726f833334765/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] OPT_LEVEL = Some("0") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CXX_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXX_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXX = None [INFO] [stderr] CXX = None [INFO] [stderr] CXXFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXXFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXXFLAGS = None [INFO] [stderr] CXXFLAGS = None [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some("true") [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") [INFO] [stderr] CXX_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXX_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXX = None [INFO] [stderr] CXX = None [INFO] [stderr] CXXFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXXFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXXFLAGS = None [INFO] [stderr] CXXFLAGS = None [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") [INFO] [stderr] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/opt/rustwide/workdir" "-I" "/usr/include/x86_64-linux-gnu/qt5" "-Wall" "-Wextra" "-std=c++11" "-o" "/opt/rustwide/target/debug/build/istamon-qml-extras-29e7ad7abf7e55f3/out/rust_cpp/cpp_closures.o" "-c" "/opt/rustwide/target/debug/build/istamon-qml-extras-29e7ad7abf7e55f3/out/rust_cpp/cpp_closures.cpp" [INFO] [stderr] cargo:warning=In file included from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:57, [INFO] [stderr] cargo:warning= from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqml.h:43, [INFO] [stderr] cargo:warning= from src/qwindow.rs:9: [INFO] [stderr] cargo:warning=/usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h: In constructor 'QVariant::QVariant(QVariant&&)': [INFO] [stderr] cargo:warning=/usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:275:25: warning: implicitly-declared 'QVariant::Private& QVariant::Private::operator=(const QVariant::Private&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] cargo:warning= 275 | { other.d = Private(); } [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=/usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:401:16: note: because 'QVariant::Private' has user-provided 'QVariant::Private::Private(const QVariant::Private&)' [INFO] [stderr] cargo:warning= 401 | inline Private(const Private &other) Q_DECL_NOTHROW [INFO] [stderr] cargo:warning= | ^~~~~~~ [INFO] [stderr] cargo:warning=src/qwindow.rs: In function 'QWindow* __cpp_closure_213853493669471932_impl(QPointer* const&)': [INFO] [stderr] cargo:warning=src/qwindow.rs:51:24: error: invalid use of incomplete type 'class QPointer' [INFO] [stderr] cargo:warning= 51 | return self->data(); [INFO] [stderr] cargo:warning= | ^~ [INFO] [stderr] cargo:warning=In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:46, [INFO] [stderr] cargo:warning= from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:57, [INFO] [stderr] cargo:warning= from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqml.h:43, [INFO] [stderr] cargo:warning= from src/qwindow.rs:9: [INFO] [stderr] cargo:warning=/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:229:7: note: declaration of 'class QPointer' [INFO] [stderr] cargo:warning= 229 | F(QPointer) [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1375:30: note: in definition of macro 'QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER' [INFO] [stderr] cargo:warning= 1375 | template class Name; \ [INFO] [stderr] cargo:warning= | ^~~~ [INFO] [stderr] cargo:warning=/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1377:1: note: in expansion of macro 'QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER' [INFO] [stderr] cargo:warning= 1377 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER) [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs: At global scope: [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:266:90: error: return type 'class QPointer' is incomplete [INFO] [stderr] cargo:warning= 266 | static inline {ty} {name}_impl({params}) {{ [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=src/qwindow.rs: In function 'void __cpp_closure_8344333872164292660(QWindow* const&, void*)': [INFO] [stderr] cargo:warning=src/qwindow.rs:76:82: error: invalid use of incomplete type 'class QPointer' [INFO] [stderr] cargo:warning= 76 | qwindow_buffer, [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:46, [INFO] [stderr] cargo:warning= from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:57, [INFO] [stderr] cargo:warning= from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqml.h:43, [INFO] [stderr] cargo:warning= from src/qwindow.rs:9: [INFO] [stderr] cargo:warning=/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:229:7: note: declaration of 'class QPointer' [INFO] [stderr] cargo:warning= 229 | F(QPointer) [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1375:30: note: in definition of macro 'QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER' [INFO] [stderr] cargo:warning= 1375 | template class Name; \ [INFO] [stderr] cargo:warning= | ^~~~ [INFO] [stderr] cargo:warning=/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1377:1: note: in expansion of macro 'QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER' [INFO] [stderr] cargo:warning= 1377 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER) [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=src/qwindow.rs: In function 'int __cpp_closure_10154194941711373492_impl()': [INFO] [stderr] cargo:warning=src/qwindow.rs:127:31: error: 'fromType' is not a member of 'QMetaType' [INFO] [stderr] cargo:warning= 127 | return QMetaType::fromType().id(); [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=src/qwindow.rs:127:47: error: expected primary-expression before '*' token [INFO] [stderr] cargo:warning= 127 | return QMetaType::fromType().id(); [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=src/qwindow.rs:127:48: error: expected primary-expression before '>' token [INFO] [stderr] cargo:warning= 127 | return QMetaType::fromType().id(); [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=src/qwindow.rs:127:50: error: expected primary-expression before ')' token [INFO] [stderr] cargo:warning= 127 | return QMetaType::fromType().id(); [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=src/qwindow.rs: In function 'void __cpp_destructor_17133321953062396296(void*)': [INFO] [stderr] cargo:warning=/opt/rustwide/target/debug/build/istamon-qml-extras-29e7ad7abf7e55f3/out/rust_cpp/cpp_closures.cpp:76:90: error: invalid use of incomplete type 'T' {aka 'class QPointer'} [INFO] [stderr] cargo:warning= 76 | void __cpp_destructor_##HASH(void *ptr) { typedef __VA_ARGS__ T; static_cast(ptr)->~T(); } \ [INFO] [stderr] cargo:warning= | ^~ [INFO] [stderr] cargo:warning=src/qwindow.rs:46:12: note: in expansion of macro 'RUST_CPP_CLASS_HELPER' [INFO] [stderr] cargo:warning= 46 | cpp_class!(unsafe struct QWindowPointerImpl as "QPointer"); [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:46, [INFO] [stderr] cargo:warning= from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:57, [INFO] [stderr] cargo:warning= from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqml.h:43, [INFO] [stderr] cargo:warning= from src/qwindow.rs:9: [INFO] [stderr] cargo:warning=/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:229:7: note: declaration of 'T' {aka 'class QPointer'} [INFO] [stderr] cargo:warning= 229 | F(QPointer) [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1375:30: note: in definition of macro 'QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER' [INFO] [stderr] cargo:warning= 1375 | template class Name; \ [INFO] [stderr] cargo:warning= | ^~~~ [INFO] [stderr] cargo:warning=/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1377:1: note: in expansion of macro 'QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER' [INFO] [stderr] cargo:warning= 1377 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER) [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs: At global scope: [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:398:41: error: invalid application of 'sizeof' to incomplete type 'QPointer' [INFO] [stderr] cargo:warning= 398 | r#" [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs: In instantiation of 'struct rustcpp::AlignOf >::Inner': [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:336:36: required from 'const uintptr_t rustcpp::AlignOf >::value' [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:399:54: required from here [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:334:11: error: 'rustcpp::AlignOf::Inner::b' has incomplete type [INFO] [stderr] cargo:warning= 334 | T b; [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:46, [INFO] [stderr] cargo:warning= from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:57, [INFO] [stderr] cargo:warning= from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqml.h:43, [INFO] [stderr] cargo:warning= from src/qwindow.rs:9: [INFO] [stderr] cargo:warning=/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:229:7: note: declaration of 'class QPointer' [INFO] [stderr] cargo:warning= 229 | F(QPointer) [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1375:30: note: in definition of macro 'QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER' [INFO] [stderr] cargo:warning= 1375 | template class Name; \ [INFO] [stderr] cargo:warning= | ^~~~ [INFO] [stderr] cargo:warning=/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1377:1: note: in expansion of macro 'QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER' [INFO] [stderr] cargo:warning= 1377 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER) [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs: In instantiation of 'const uintptr_t rustcpp::AlignOf >::value': [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:399:54: required from here [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:336:52: error: invalid application of 'sizeof' to incomplete type 'QPointer' [INFO] [stderr] cargo:warning= 336 | static const uintptr_t value = sizeof(Inner) - sizeof(T); [INFO] [stderr] cargo:warning= | ^~~~~~~~~ [INFO] [stderr] cargo:warning=In file included from /usr/include/c++/9/bits/move.h:55, [INFO] [stderr] cargo:warning= from /usr/include/c++/9/bits/nested_exception.h:40, [INFO] [stderr] cargo:warning= from /usr/include/c++/9/exception:144, [INFO] [stderr] cargo:warning= from /usr/include/c++/9/new:40, [INFO] [stderr] cargo:warning= from /opt/rustwide/target/debug/build/istamon-qml-extras-29e7ad7abf7e55f3/out/rust_cpp/cpp_closures.cpp:5: [INFO] [stderr] cargo:warning=/usr/include/c++/9/type_traits: In instantiation of 'struct std::is_trivially_destructible >': [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:345:51: required from 'const uintptr_t rustcpp::Flags >::value' [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:400:52: required from here [INFO] [stderr] cargo:warning=/usr/include/c++/9/type_traits:1228:12: error: invalid use of incomplete type 'class QPointer' [INFO] [stderr] cargo:warning= 1228 | struct is_trivially_destructible [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:46, [INFO] [stderr] cargo:warning= from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:57, [INFO] [stderr] cargo:warning= from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqml.h:43, [INFO] [stderr] cargo:warning= from src/qwindow.rs:9: [INFO] [stderr] cargo:warning=/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:229:7: note: declaration of 'class QPointer' [INFO] [stderr] cargo:warning= 229 | F(QPointer) [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1375:30: note: in definition of macro 'QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER' [INFO] [stderr] cargo:warning= 1375 | template class Name; \ [INFO] [stderr] cargo:warning= | ^~~~ [INFO] [stderr] cargo:warning=/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1377:1: note: in expansion of macro 'QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER' [INFO] [stderr] cargo:warning= 1377 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER) [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs: In instantiation of 'const uintptr_t rustcpp::Flags >::value': [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:400:52: required from here [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:345:51: error: 'value' is not a member of 'std::is_trivially_destructible >' [INFO] [stderr] cargo:warning= 345 | (std::is_trivially_destructible::value << {flag_is_trivially_destructible}) | [INFO] [stderr] cargo:warning= | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ [INFO] [stderr] cargo:warning=In file included from /usr/include/c++/9/bits/move.h:55, [INFO] [stderr] cargo:warning= from /usr/include/c++/9/bits/nested_exception.h:40, [INFO] [stderr] cargo:warning= from /usr/include/c++/9/exception:144, [INFO] [stderr] cargo:warning= from /usr/include/c++/9/new:40, [INFO] [stderr] cargo:warning= from /opt/rustwide/target/debug/build/istamon-qml-extras-29e7ad7abf7e55f3/out/rust_cpp/cpp_closures.cpp:5: [INFO] [stderr] cargo:warning=/usr/include/c++/9/type_traits: In instantiation of 'struct std::is_trivially_copyable >': [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:346:47: required from 'const uintptr_t rustcpp::Flags >::value' [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:400:52: required from here [INFO] [stderr] cargo:warning=/usr/include/c++/9/type_traits:678:12: error: invalid use of incomplete type 'class QPointer' [INFO] [stderr] cargo:warning= 678 | struct is_trivially_copyable [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:46, [INFO] [stderr] cargo:warning= from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:57, [INFO] [stderr] cargo:warning= from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqml.h:43, [INFO] [stderr] cargo:warning= from src/qwindow.rs:9: [INFO] [stderr] cargo:warning=/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:229:7: note: declaration of 'class QPointer' [INFO] [stderr] cargo:warning= 229 | F(QPointer) [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1375:30: note: in definition of macro 'QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER' [INFO] [stderr] cargo:warning= 1375 | template class Name; \ [INFO] [stderr] cargo:warning= | ^~~~ [INFO] [stderr] cargo:warning=/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1377:1: note: in expansion of macro 'QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER' [INFO] [stderr] cargo:warning= 1377 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER) [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs: In instantiation of 'const uintptr_t rustcpp::Flags >::value': [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:400:52: required from here [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:346:47: error: 'value' is not a member of 'std::is_trivially_copyable >' [INFO] [stderr] cargo:warning= 346 | (std::is_trivially_copyable::value << {flag_is_trivially_copyable}) | [INFO] [stderr] cargo:warning= | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ [INFO] [stderr] cargo:warning=In file included from /usr/include/c++/9/bits/move.h:55, [INFO] [stderr] cargo:warning= from /usr/include/c++/9/bits/nested_exception.h:40, [INFO] [stderr] cargo:warning= from /usr/include/c++/9/exception:144, [INFO] [stderr] cargo:warning= from /usr/include/c++/9/new:40, [INFO] [stderr] cargo:warning= from /opt/rustwide/target/debug/build/istamon-qml-extras-29e7ad7abf7e55f3/out/rust_cpp/cpp_closures.cpp:5: [INFO] [stderr] cargo:warning=/usr/include/c++/9/type_traits: In instantiation of 'struct std::is_trivially_constructible >': [INFO] [stderr] cargo:warning=/usr/include/c++/9/type_traits:1106:12: required from 'struct std::is_trivially_default_constructible >' [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:347:60: required from 'const uintptr_t rustcpp::Flags >::value' [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:400:52: required from here [INFO] [stderr] cargo:warning=/usr/include/c++/9/type_traits:1100:12: error: invalid use of incomplete type 'class QPointer' [INFO] [stderr] cargo:warning= 1100 | struct is_trivially_constructible [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:46, [INFO] [stderr] cargo:warning= from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:57, [INFO] [stderr] cargo:warning= from /usr/include/x86_64-linux-gnu/qt5/QtQml/qqml.h:43, [INFO] [stderr] cargo:warning= from src/qwindow.rs:9: [INFO] [stderr] cargo:warning=/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:229:7: note: declaration of 'class QPointer' [INFO] [stderr] cargo:warning= 229 | F(QPointer) [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1375:30: note: in definition of macro 'QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER' [INFO] [stderr] cargo:warning= 1375 | template class Name; \ [INFO] [stderr] cargo:warning= | ^~~~ [INFO] [stderr] cargo:warning=/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1377:1: note: in expansion of macro 'QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER' [INFO] [stderr] cargo:warning= 1377 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(QT_FORWARD_DECLARE_SHARED_POINTER_TYPES_ITER) [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=In file included from /usr/include/c++/9/bits/move.h:55, [INFO] [stderr] cargo:warning= from /usr/include/c++/9/bits/nested_exception.h:40, [INFO] [stderr] cargo:warning= from /usr/include/c++/9/exception:144, [INFO] [stderr] cargo:warning= from /usr/include/c++/9/new:40, [INFO] [stderr] cargo:warning= from /opt/rustwide/target/debug/build/istamon-qml-extras-29e7ad7abf7e55f3/out/rust_cpp/cpp_closures.cpp:5: [INFO] [stderr] cargo:warning=/usr/include/c++/9/type_traits: In instantiation of 'struct std::is_trivially_default_constructible >': [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:347:60: required from 'const uintptr_t rustcpp::Flags >::value' [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:400:52: required from here [INFO] [stderr] cargo:warning=/usr/include/c++/9/type_traits:1106:12: error: no type named 'type' in 'struct std::is_trivially_constructible >' [INFO] [stderr] cargo:warning= 1106 | struct is_trivially_default_constructible [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs: In instantiation of 'const uintptr_t rustcpp::Flags >::value': [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:400:52: required from here [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:347:60: error: 'value' is not a member of 'std::is_trivially_default_constructible >' [INFO] [stderr] cargo:warning= 347 | (std::is_trivially_default_constructible::value << {flag_is_trivially_default_constructible}) | [INFO] [stderr] cargo:warning= | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ [INFO] [stderr] cargo:warning=/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cpp_build-0.5.6/src/lib.rs:413:41: error: invalid application of 'sizeof' to incomplete type 'QPointer' [INFO] [stderr] cargo:warning= 413 | /// This struct is for advanced users of the build script. It allows providing [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] exit status: 1 [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] cargo:warning=[("CARGO", "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/bin/cargo"), ("CARGO_CFG_PANIC", "unwind"), ("CARGO_CFG_TARGET_ARCH", "x86_64"), ("CARGO_CFG_TARGET_ENDIAN", "little"), ("CARGO_CFG_TARGET_ENV", "gnu"), ("CARGO_CFG_TARGET_FAMILY", "unix"), ("CARGO_CFG_TARGET_FEATURE", "fxsr,sse,sse2"), ("CARGO_CFG_TARGET_HAS_ATOMIC", "16,32,64,8,ptr"), ("CARGO_CFG_TARGET_OS", "linux"), ("CARGO_CFG_TARGET_POINTER_WIDTH", "64"), ("CARGO_CFG_TARGET_VENDOR", "unknown"), ("CARGO_CFG_UNIX", ""), ("CARGO_ENCODED_RUSTFLAGS", "--cap-lints=warn"), ("CARGO_HOME", "/opt/rustwide/cargo-home"), ("CARGO_INCREMENTAL", "0"), ("CARGO_MAKEFLAGS", "-j --jobserver-fds=6,7 --jobserver-auth=6,7"), ("CARGO_MANIFEST_DIR", "/opt/rustwide/workdir"), ("CARGO_PKG_AUTHORS", "Lu Fennell "), ("CARGO_PKG_DESCRIPTION", "Extra qml bindings used by istamon"), ("CARGO_PKG_HOMEPAGE", ""), ("CARGO_PKG_LICENSE", "MIT"), ("CARGO_PKG_LICENSE_FILE", ""), ("CARGO_PKG_NAME", "istamon-qml-extras"), ("CARGO_PKG_REPOSITORY", "https://gitlab.com/lu-fennell/istamon"), ("CARGO_PKG_VERSION", "0.1.0"), ("CARGO_PKG_VERSION_MAJOR", "0"), ("CARGO_PKG_VERSION_MINOR", "1"), ("CARGO_PKG_VERSION_PATCH", "0"), ("CARGO_PKG_VERSION_PRE", ""), ("CARGO_TARGET_DIR", "/opt/rustwide/target"), ("DEBUG", "true"), ("DEP_QT_COMPILE_FLAGS", ""), ("DEP_QT_FOUND", "1"), ("DEP_QT_INCLUDE_PATH", "/usr/include/x86_64-linux-gnu/qt5"), ("DEP_QT_LIBRARY_PATH", "/usr/lib/x86_64-linux-gnu"), ("DEP_QT_VERSION", "5.12.8"), ("HOME", "/root"), ("HOST", "x86_64-unknown-linux-gnu"), ("HOSTNAME", "d26a003fb31e"), ("LD_LIBRARY_PATH", "/opt/rustwide/target/debug/deps:/opt/rustwide/target/debug:/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib:/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib"), ("NUM_JOBS", "16"), ("OPT_LEVEL", "0"), ("OUT_DIR", "/opt/rustwide/target/debug/build/istamon-qml-extras-29e7ad7abf7e55f3/out"), ("PATH", "/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"), ("PROFILE", "debug"), ("RUSTC", "rustc"), ("RUSTDOC", "rustdoc"), ("RUSTUP_HOME", "/opt/rustwide/rustup-home"), ("RUSTUP_TOOLCHAIN", "1.60.0-x86_64-unknown-linux-gnu"), ("RUST_BACKTRACE", "full"), ("RUST_RECURSION_COUNT", "1"), ("SOURCE_DIR", "/opt/rustwide/workdir"), ("SSL_CERT_DIR", "/usr/lib/ssl/certs"), ("SSL_CERT_FILE", "/usr/lib/ssl/certs/ca-certificates.crt"), ("TARGET", "x86_64-unknown-linux-gnu")] [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred: ToolExecError: Command "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/opt/rustwide/workdir" "-I" "/usr/include/x86_64-linux-gnu/qt5" "-Wall" "-Wextra" "-std=c++11" "-o" "/opt/rustwide/target/debug/build/istamon-qml-extras-29e7ad7abf7e55f3/out/rust_cpp/cpp_closures.o" "-c" "/opt/rustwide/target/debug/build/istamon-qml-extras-29e7ad7abf7e55f3/out/rust_cpp/cpp_closures.cpp" with args "c++" did not execute successfully (status code exit status: 1). [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d26a003fb31ef5ed474311ffe7c78ea056bc7cab32f20d8300a2f3e98b7f5b41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d26a003fb31ef5ed474311ffe7c78ea056bc7cab32f20d8300a2f3e98b7f5b41", kill_on_drop: false }` [INFO] [stdout] d26a003fb31ef5ed474311ffe7c78ea056bc7cab32f20d8300a2f3e98b7f5b41