[INFO] fetching crate qmetaobject 0.2.10... [INFO] testing qmetaobject-0.2.10 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate qmetaobject 0.2.10 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate qmetaobject 0.2.10 [INFO] finished tweaking crates.io crate qmetaobject 0.2.10 [INFO] tweaked toml for crates.io crate qmetaobject 0.2.10 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate qmetaobject 0.2.10 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 86 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded qttypes v0.2.12 [INFO] [stderr] Downloaded if_rust_version v1.0.0 [INFO] [stderr] Downloaded cstr v0.2.12 [INFO] [stderr] Downloaded cpp_common v0.5.11 [INFO] [stderr] Downloaded cpp_build v0.5.11 [INFO] [stderr] Downloaded qmetaobject_impl v0.2.10 [INFO] [stderr] Downloaded cpp v0.5.11 [INFO] [stderr] Downloaded cpp_macros v0.5.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34a1c546b77a43e1028331490470cdbf86fd7cbe2b2f32a90183f48ee8b5c829 [INFO] running `Command { std: "docker" "start" "-a" "34a1c546b77a43e1028331490470cdbf86fd7cbe2b2f32a90183f48ee8b5c829", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34a1c546b77a43e1028331490470cdbf86fd7cbe2b2f32a90183f48ee8b5c829", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34a1c546b77a43e1028331490470cdbf86fd7cbe2b2f32a90183f48ee8b5c829", kill_on_drop: false }` [INFO] [stdout] 34a1c546b77a43e1028331490470cdbf86fd7cbe2b2f32a90183f48ee8b5c829 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0892a5b7ab837334e9f32a15da4b2abca8b235575920218442487fcd2ef9c0c [INFO] running `Command { std: "docker" "start" "-a" "f0892a5b7ab837334e9f32a15da4b2abca8b235575920218442487fcd2ef9c0c", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling semver v1.0.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling cpp_common v0.5.11 [INFO] [stderr] Compiling cpp_macros v0.5.11 [INFO] [stderr] Compiling qmetaobject_impl v0.2.10 [INFO] [stderr] Compiling cpp v0.5.11 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling cpp_build v0.5.11 [INFO] [stderr] Compiling qttypes v0.2.12 [INFO] [stderr] Compiling qmetaobject v0.2.10 (/opt/rustwide/workdir) [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs: In function 'int __cpp_closure_4116020068678292423_impl(const char* const&, const uint&, const ushort&, void (* const&)(void*), void (* const&)(const QtPrivate::QMetaTypeInterface*, void*, const void*), void (* const&)(const QtPrivate::QMetaTypeInterface*, void*), void (* const&)(const QtPrivate::QMetaTypeInterface*, void*), const QMetaObject* const&)': [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs:203:98: warning: 'QMetaType::MovableType' is deprecated: Use RelocatableType instead. [-Wdeprecated-declarations] [INFO] [stderr] warning: qmetaobject@0.2.10: 203 | auto flags = QMetaType::NeedsConstruction | QMetaType::NeedsDestruction | QMetaType::MovableType | extraFlag; [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: In file included from /usr/include/x86_64-linux-gnu/qt6/QtCore/qobject.h:18, [INFO] [stderr] warning: qmetaobject@0.2.10: from /usr/include/x86_64-linux-gnu/qt6/QtCore/QObject:1, [INFO] [stderr] warning: qmetaobject@0.2.10: from /opt/rustwide/workdir/qmetaobject_rust.hpp:20, [INFO] [stderr] warning: qmetaobject@0.2.10: from src/lib.rs:230: [INFO] [stderr] warning: qmetaobject@0.2.10: /usr/include/x86_64-linux-gnu/qt6/QtCore/qmetatype.h:356:9: note: declared here [INFO] [stderr] warning: qmetaobject@0.2.10: 356 | MovableType Q_DECL_ENUMERATOR_DEPRECATED_X("Use RelocatableType instead.") = RelocatableType, [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs:203:98: warning: 'QMetaType::MovableType' is deprecated: Use RelocatableType instead. [-Wdeprecated-declarations] [INFO] [stderr] warning: qmetaobject@0.2.10: 203 | auto flags = QMetaType::NeedsConstruction | QMetaType::NeedsDestruction | QMetaType::MovableType | extraFlag; [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: /usr/include/x86_64-linux-gnu/qt6/QtCore/qmetatype.h:356:9: note: declared here [INFO] [stderr] warning: qmetaobject@0.2.10: 356 | MovableType Q_DECL_ENUMERATOR_DEPRECATED_X("Use RelocatableType instead.") = RelocatableType, [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs: In function 'int __cpp_closure_2258020688151168791_impl(const char* const&, const int&)': [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs:288:44: warning: 'static int QMetaType::type(const char*)' is deprecated [-Wdeprecated-declarations] [INFO] [stderr] warning: qmetaobject@0.2.10: 288 | if (int exist = QMetaType::type(name)) { [INFO] [stderr] warning: qmetaobject@0.2.10: | ~~~~~~~~~~~~~~~^~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: /usr/include/x86_64-linux-gnu/qt6/QtCore/qmetatype.h:376:16: note: declared here [INFO] [stderr] warning: qmetaobject@0.2.10: 376 | static int type(const char *typeName) [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs:291:50: warning: 'static const char* QMetaType::typeName(int)' is deprecated [-Wdeprecated-declarations] [INFO] [stderr] warning: qmetaobject@0.2.10: 291 | name, QMetaType::typeName(id), QMetaType::typeName(exist)); [INFO] [stderr] warning: qmetaobject@0.2.10: | ~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: /usr/include/x86_64-linux-gnu/qt6/QtCore/qmetatype.h:382:24: note: declared here [INFO] [stderr] warning: qmetaobject@0.2.10: 382 | static const char *typeName(int type) [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs:291:75: warning: 'static const char* QMetaType::typeName(int)' is deprecated [-Wdeprecated-declarations] [INFO] [stderr] warning: qmetaobject@0.2.10: 291 | name, QMetaType::typeName(id), QMetaType::typeName(exist)); [INFO] [stderr] warning: qmetaobject@0.2.10: | ~~~~~~~~~~~~~~~~~~~^~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: /usr/include/x86_64-linux-gnu/qt6/QtCore/qmetatype.h:382:24: note: declared here [INFO] [stderr] warning: qmetaobject@0.2.10: 382 | static const char *typeName(int type) [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs: In function 'const void* __cpp_closure_4277059675507172747_impl(QVariant* const&, const int&)': [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs:393:39: warning: 'bool QVariant::canConvert(int) const' is deprecated [-Wdeprecated-declarations] [INFO] [stderr] warning: qmetaobject@0.2.10: 393 | return var_ptr->canConvert(id) && var_ptr->convert(id) [INFO] [stderr] warning: qmetaobject@0.2.10: | ~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: In file included from /usr/include/x86_64-linux-gnu/qt6/QtCore/qabstractitemmodel.h:11, [INFO] [stderr] warning: qmetaobject@0.2.10: from /usr/include/x86_64-linux-gnu/qt6/QtCore/QAbstractItemModel:1, [INFO] [stderr] warning: qmetaobject@0.2.10: from src/itemmodel.rs:190: [INFO] [stderr] warning: qmetaobject@0.2.10: /usr/include/x86_64-linux-gnu/qt6/QtCore/qvariant.h:226:10: note: declared here [INFO] [stderr] warning: qmetaobject@0.2.10: 226 | bool canConvert(int targetTypeId) const [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs:393:63: warning: 'bool QVariant::convert(int)' is deprecated [-Wdeprecated-declarations] [INFO] [stderr] warning: qmetaobject@0.2.10: 393 | return var_ptr->canConvert(id) && var_ptr->convert(id) [INFO] [stderr] warning: qmetaobject@0.2.10: | ~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: /usr/include/x86_64-linux-gnu/qt6/QtCore/qvariant.h:229:10: note: declared here [INFO] [stderr] warning: qmetaobject@0.2.10: 229 | bool convert(int targetTypeId) [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: src/qtdeclarative.rs: In function 'void __cpp_closure_16065137262676305783(char* const&, char* const&, const int&, const int&, const QMetaObject* const&, void (* const&)(void*, void*), const size_t&, const int&)': [INFO] [stderr] warning: qmetaobject@0.2.10: src/qtdeclarative.rs:553:9: warning: missing initializer for member 'QQmlPrivate::RegisterType::finalizerCast' [-Wmissing-field-initializers] [INFO] [stderr] warning: qmetaobject@0.2.10: 553 | }; [INFO] [stderr] warning: qmetaobject@0.2.10: | ^ [INFO] [stderr] warning: qmetaobject@0.2.10: src/qtdeclarative.rs: In function 'QPointF __cpp_closure_11082437266784215316_impl(QMouseEvent* const&)': [INFO] [stderr] warning: qmetaobject@0.2.10: src/qtdeclarative.rs:968:34: warning: 'QPointF QMouseEvent::localPos() const' is deprecated: Use position() [-Wdeprecated-declarations] [INFO] [stderr] warning: qmetaobject@0.2.10: 968 | return self->localPos(); [INFO] [stderr] warning: qmetaobject@0.2.10: | ~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: qmetaobject@0.2.10: In file included from /usr/include/x86_64-linux-gnu/qt6/QtGui/qtextlayout.h:7, [INFO] [stderr] warning: qmetaobject@0.2.10: from /usr/include/x86_64-linux-gnu/qt6/QtGui/qabstracttextdocumentlayout.h:9, [INFO] [stderr] warning: qmetaobject@0.2.10: from /usr/include/x86_64-linux-gnu/qt6/QtGui/QtGui:6, [INFO] [stderr] warning: qmetaobject@0.2.10: from /usr/include/x86_64-linux-gnu/qt6/QtQuick/QtQuickDepends:4, [INFO] [stderr] warning: qmetaobject@0.2.10: from /usr/include/x86_64-linux-gnu/qt6/QtQuick/QtQuick:3, [INFO] [stderr] warning: qmetaobject@0.2.10: from src/qtdeclarative.rs:29: [INFO] [stderr] warning: qmetaobject@0.2.10: /usr/include/x86_64-linux-gnu/qt6/QtGui/qevent.h:227:13: note: declared here [INFO] [stderr] warning: qmetaobject@0.2.10: 227 | QPointF localPos() const { return position(); } [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~~ [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::needless_pass_by_value))] // Too many of that for qt types. (FIXME) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `chrono_qdatetime`, `default`, `log`, and `webengine` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::cognitive_complexity))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `chrono_qdatetime`, `default`, `log`, and `webengine` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/lib.rs:161:11 [INFO] [stdout] | [INFO] [stdout] 161 | #[cfg(not(qt_6_0))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/lib.rs:164:7 [INFO] [stdout] | [INFO] [stdout] 164 | #[cfg(qt_6_0)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_7` [INFO] [stdout] --> src/lib.rs:192:7 [INFO] [stdout] | [INFO] [stdout] 192 | #[cfg(qt_5_7)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_7)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_7)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_7` [INFO] [stdout] --> src/lib.rs:206:7 [INFO] [stdout] | [INFO] [stdout] 206 | #[cfg(qt_5_7)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_7)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_7)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/scenegraph.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::len_without_is_empty))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `chrono_qdatetime`, `default`, `log`, and `webengine` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:514:16 [INFO] [stdout] | [INFO] [stdout] 514 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::should_implement_trait))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `chrono_qdatetime`, `default`, `log`, and `webengine` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:410:7 [INFO] [stdout] | [INFO] [stdout] 410 | #[cfg(qt_6_0)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | #[cfg(not(qt_6_0))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | #[cfg(not(qt_6_0))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:140:15 [INFO] [stdout] | [INFO] [stdout] 140 | #[cfg(qt_6_0)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | #[cfg(not(qt_6_0))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | #[cfg(not(qt_6_0))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | #[cfg(not(qt_6_0))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | #[cfg(not(qt_6_0))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:176:15 [INFO] [stdout] | [INFO] [stdout] 176 | #[cfg(qt_6_0)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:180:15 [INFO] [stdout] | [INFO] [stdout] 180 | #[cfg(qt_6_0)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 183 | #[cfg(qt_6_0)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:187:15 [INFO] [stdout] | [INFO] [stdout] 187 | #[cfg(qt_6_0)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:154:46 [INFO] [stdout] | [INFO] [stdout] 154 | extern "C" fn destructor_fn(#[cfg(qt_6_0)] _ : *const c_void, ptr: *mut T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:159:48 [INFO] [stdout] | [INFO] [stdout] 159 | let destructor_fn: extern "C" fn(#[cfg(qt_6_0)] _ : *const c_void, ptr: *mut T) = destructor_fn; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:263:65 [INFO] [stdout] | [INFO] [stdout] 263 | extern "C" fn converter_fn(#[cfg(not(qt_6_0))] _ : *const c_void, src: &T, dst : *mut QString) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:267:55 [INFO] [stdout] | [INFO] [stdout] 267 | let converter_fn: extern "C" fn(#[cfg(not(qt_6_0))] *const c_void, &T, *mut QString) -> bool = converter_fn; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:274:65 [INFO] [stdout] | [INFO] [stdout] 274 | extern "C" fn converter_fn(#[cfg(not(qt_6_0))] _ : *const c_void, src : &QString, dst : *mut T) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:278:55 [INFO] [stdout] | [INFO] [stdout] 278 | let converter_fn: extern "C" fn(#[cfg(not(qt_6_0))] *const c_void, &QString, *mut T) -> bool = converter_fn; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:495:48 [INFO] [stdout] | [INFO] [stdout] 495 | qdeclare_builtin_metatype! {QPixmap => if cfg!(qt_6_0) { 0x1001 } else { 65 }} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:496:47 [INFO] [stdout] | [INFO] [stdout] 496 | qdeclare_builtin_metatype! {QColor => if cfg!(qt_6_0) { 0x1003 } else { 67 }} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:497:47 [INFO] [stdout] | [INFO] [stdout] 497 | qdeclare_builtin_metatype! {QImage => if cfg!(qt_6_0) { 0x1006 } else { 70 }} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_9` [INFO] [stdout] --> src/qtdeclarative.rs:561:7 [INFO] [stdout] | [INFO] [stdout] 561 | #[cfg(qt_5_9)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_9)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_9)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_14` [INFO] [stdout] --> src/qtdeclarative.rs:712:7 [INFO] [stdout] | [INFO] [stdout] 712 | #[cfg(qt_5_14)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_14)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_14)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_8` [INFO] [stdout] --> src/qtdeclarative.rs:751:7 [INFO] [stdout] | [INFO] [stdout] 751 | #[cfg(qt_5_8)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_8)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_8)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qtdeclarative.rs:474:15 [INFO] [stdout] | [INFO] [stdout] 474 | #[cfg(qt_6_0)] _: *mut c_void, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qtdeclarative.rs:483:57 [INFO] [stdout] | [INFO] [stdout] 483 | let creator_fn: extern "C" fn(c: *mut c_void, #[cfg(qt_6_0)] _: *mut c_void) = creator_fn::; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_8` [INFO] [stdout] --> src/scenegraph.rs:354:7 [INFO] [stdout] | [INFO] [stdout] 354 | #[cfg(qt_5_8)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_8)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_8)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_8` [INFO] [stdout] --> src/scenegraph.rs:365:7 [INFO] [stdout] | [INFO] [stdout] 365 | #[cfg(qt_5_8)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_8)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_8)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_8` [INFO] [stdout] --> src/lib.rs:217:11 [INFO] [stdout] | [INFO] [stdout] 217 | #[cfg(qt_5_8)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_8)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_8)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_9` [INFO] [stdout] --> src/lib.rs:219:11 [INFO] [stdout] | [INFO] [stdout] 219 | #[cfg(qt_5_9)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_9)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_9)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/lib.rs:665:15 [INFO] [stdout] | [INFO] [stdout] 665 | #[cfg(all(qt_6_0, target_os = "windows"))] // QT_NO_DATA_RELOCATION [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::cell::RefCell`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:287:27 [INFO] [stdout] | [INFO] [stdout] 287 | pub get_rust_refcell: unsafe extern "C" fn(*mut c_void) -> *const RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:429:22 [INFO] [stdout] | [INFO] [stdout] 429 | pub fn as_pinned(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 429 | pub fn as_pinned(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:518:23 [INFO] [stdout] | [INFO] [stdout] 518 | pub fn borrow_mut(&self) -> QObjectRefMut { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 518 | pub fn borrow_mut(&self) -> QObjectRefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:572:19 [INFO] [stdout] | [INFO] [stdout] 572 | pub fn pinned(&self) -> QObjectPinned { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 572 | pub fn pinned(&self) -> QObjectPinned<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/lib.rs:586:5 [INFO] [stdout] | [INFO] [stdout] 586 | Box::into_raw(b); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 586 | let _ = Box::into_raw(b); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::cell::RefCell`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:615:51 [INFO] [stdout] | [INFO] [stdout] 615 | pub unsafe extern "C" fn RustObject_metaObject(p: *mut RefCell) -> *const QMetaObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::cell::RefCell`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:621:49 [INFO] [stdout] | [INFO] [stdout] 621 | pub unsafe extern "C" fn RustObject_destruct(p: *mut RefCell) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.44s [INFO] running `Command { std: "docker" "inspect" "f0892a5b7ab837334e9f32a15da4b2abca8b235575920218442487fcd2ef9c0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0892a5b7ab837334e9f32a15da4b2abca8b235575920218442487fcd2ef9c0c", kill_on_drop: false }` [INFO] [stdout] f0892a5b7ab837334e9f32a15da4b2abca8b235575920218442487fcd2ef9c0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 094e644724220073a4e3f3169ad2ccd7637f1cddd2ac906736ffbc1959530094 [INFO] running `Command { std: "docker" "start" "-a" "094e644724220073a4e3f3169ad2ccd7637f1cddd2ac906736ffbc1959530094", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling if_rust_version v1.0.0 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling cstr v0.2.12 [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs: In function 'int __cpp_closure_4116020068678292423_impl(const char* const&, const uint&, const ushort&, void (* const&)(void*), void (* const&)(const QtPrivate::QMetaTypeInterface*, void*, const void*), void (* const&)(const QtPrivate::QMetaTypeInterface*, void*), void (* const&)(const QtPrivate::QMetaTypeInterface*, void*), const QMetaObject* const&)': [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs:203:98: warning: 'QMetaType::MovableType' is deprecated: Use RelocatableType instead. [-Wdeprecated-declarations] [INFO] [stderr] warning: qmetaobject@0.2.10: 203 | auto flags = QMetaType::NeedsConstruction | QMetaType::NeedsDestruction | QMetaType::MovableType | extraFlag; [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: In file included from /usr/include/x86_64-linux-gnu/qt6/QtCore/qobject.h:18, [INFO] [stderr] warning: qmetaobject@0.2.10: from /usr/include/x86_64-linux-gnu/qt6/QtCore/QObject:1, [INFO] [stderr] warning: qmetaobject@0.2.10: from /opt/rustwide/workdir/qmetaobject_rust.hpp:20, [INFO] [stderr] warning: qmetaobject@0.2.10: from src/lib.rs:230: [INFO] [stderr] warning: qmetaobject@0.2.10: /usr/include/x86_64-linux-gnu/qt6/QtCore/qmetatype.h:356:9: note: declared here [INFO] [stderr] warning: qmetaobject@0.2.10: 356 | MovableType Q_DECL_ENUMERATOR_DEPRECATED_X("Use RelocatableType instead.") = RelocatableType, [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs:203:98: warning: 'QMetaType::MovableType' is deprecated: Use RelocatableType instead. [-Wdeprecated-declarations] [INFO] [stderr] warning: qmetaobject@0.2.10: 203 | auto flags = QMetaType::NeedsConstruction | QMetaType::NeedsDestruction | QMetaType::MovableType | extraFlag; [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: /usr/include/x86_64-linux-gnu/qt6/QtCore/qmetatype.h:356:9: note: declared here [INFO] [stderr] warning: qmetaobject@0.2.10: 356 | MovableType Q_DECL_ENUMERATOR_DEPRECATED_X("Use RelocatableType instead.") = RelocatableType, [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs: In function 'int __cpp_closure_2258020688151168791_impl(const char* const&, const int&)': [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs:288:44: warning: 'static int QMetaType::type(const char*)' is deprecated [-Wdeprecated-declarations] [INFO] [stderr] warning: qmetaobject@0.2.10: 288 | if (int exist = QMetaType::type(name)) { [INFO] [stderr] warning: qmetaobject@0.2.10: | ~~~~~~~~~~~~~~~^~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: /usr/include/x86_64-linux-gnu/qt6/QtCore/qmetatype.h:376:16: note: declared here [INFO] [stderr] warning: qmetaobject@0.2.10: 376 | static int type(const char *typeName) [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs:291:50: warning: 'static const char* QMetaType::typeName(int)' is deprecated [-Wdeprecated-declarations] [INFO] [stderr] warning: qmetaobject@0.2.10: 291 | name, QMetaType::typeName(id), QMetaType::typeName(exist)); [INFO] [stderr] warning: qmetaobject@0.2.10: | ~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: /usr/include/x86_64-linux-gnu/qt6/QtCore/qmetatype.h:382:24: note: declared here [INFO] [stderr] warning: qmetaobject@0.2.10: 382 | static const char *typeName(int type) [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs:291:75: warning: 'static const char* QMetaType::typeName(int)' is deprecated [-Wdeprecated-declarations] [INFO] [stderr] warning: qmetaobject@0.2.10: 291 | name, QMetaType::typeName(id), QMetaType::typeName(exist)); [INFO] [stderr] warning: qmetaobject@0.2.10: | ~~~~~~~~~~~~~~~~~~~^~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: /usr/include/x86_64-linux-gnu/qt6/QtCore/qmetatype.h:382:24: note: declared here [INFO] [stderr] warning: qmetaobject@0.2.10: 382 | static const char *typeName(int type) [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs: In function 'const void* __cpp_closure_4277059675507172747_impl(QVariant* const&, const int&)': [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs:393:39: warning: 'bool QVariant::canConvert(int) const' is deprecated [-Wdeprecated-declarations] [INFO] [stderr] warning: qmetaobject@0.2.10: 393 | return var_ptr->canConvert(id) && var_ptr->convert(id) [INFO] [stderr] warning: qmetaobject@0.2.10: | ~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: In file included from /usr/include/x86_64-linux-gnu/qt6/QtCore/qabstractitemmodel.h:11, [INFO] [stderr] warning: qmetaobject@0.2.10: from /usr/include/x86_64-linux-gnu/qt6/QtCore/QAbstractItemModel:1, [INFO] [stderr] warning: qmetaobject@0.2.10: from src/itemmodel.rs:190: [INFO] [stderr] warning: qmetaobject@0.2.10: /usr/include/x86_64-linux-gnu/qt6/QtCore/qvariant.h:226:10: note: declared here [INFO] [stderr] warning: qmetaobject@0.2.10: 226 | bool canConvert(int targetTypeId) const [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs:393:63: warning: 'bool QVariant::convert(int)' is deprecated [-Wdeprecated-declarations] [INFO] [stderr] warning: qmetaobject@0.2.10: 393 | return var_ptr->canConvert(id) && var_ptr->convert(id) [INFO] [stderr] warning: qmetaobject@0.2.10: | ~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: /usr/include/x86_64-linux-gnu/qt6/QtCore/qvariant.h:229:10: note: declared here [INFO] [stderr] warning: qmetaobject@0.2.10: 229 | bool convert(int targetTypeId) [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: src/qtdeclarative.rs: In function 'void __cpp_closure_16065137262676305783(char* const&, char* const&, const int&, const int&, const QMetaObject* const&, void (* const&)(void*, void*), const size_t&, const int&)': [INFO] [stderr] warning: qmetaobject@0.2.10: src/qtdeclarative.rs:553:9: warning: missing initializer for member 'QQmlPrivate::RegisterType::finalizerCast' [-Wmissing-field-initializers] [INFO] [stderr] warning: qmetaobject@0.2.10: 553 | }; [INFO] [stderr] warning: qmetaobject@0.2.10: | ^ [INFO] [stderr] warning: qmetaobject@0.2.10: src/qtdeclarative.rs: In function 'QPointF __cpp_closure_11082437266784215316_impl(QMouseEvent* const&)': [INFO] [stderr] warning: qmetaobject@0.2.10: src/qtdeclarative.rs:968:34: warning: 'QPointF QMouseEvent::localPos() const' is deprecated: Use position() [-Wdeprecated-declarations] [INFO] [stderr] warning: qmetaobject@0.2.10: 968 | return self->localPos(); [INFO] [stderr] warning: qmetaobject@0.2.10: | ~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: qmetaobject@0.2.10: In file included from /usr/include/x86_64-linux-gnu/qt6/QtGui/qtextlayout.h:7, [INFO] [stderr] warning: qmetaobject@0.2.10: from /usr/include/x86_64-linux-gnu/qt6/QtGui/qabstracttextdocumentlayout.h:9, [INFO] [stderr] warning: qmetaobject@0.2.10: from /usr/include/x86_64-linux-gnu/qt6/QtGui/QtGui:6, [INFO] [stderr] warning: qmetaobject@0.2.10: from /usr/include/x86_64-linux-gnu/qt6/QtQuick/QtQuickDepends:4, [INFO] [stderr] warning: qmetaobject@0.2.10: from /usr/include/x86_64-linux-gnu/qt6/QtQuick/QtQuick:3, [INFO] [stderr] warning: qmetaobject@0.2.10: from src/qtdeclarative.rs:29: [INFO] [stderr] warning: qmetaobject@0.2.10: /usr/include/x86_64-linux-gnu/qt6/QtGui/qevent.h:227:13: note: declared here [INFO] [stderr] warning: qmetaobject@0.2.10: 227 | QPointF localPos() const { return position(); } [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~~ [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::needless_pass_by_value))] // Too many of that for qt types. (FIXME) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `chrono_qdatetime`, `default`, `log`, and `webengine` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::cognitive_complexity))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `chrono_qdatetime`, `default`, `log`, and `webengine` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/lib.rs:161:11 [INFO] [stdout] | [INFO] [stdout] 161 | #[cfg(not(qt_6_0))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/lib.rs:164:7 [INFO] [stdout] | [INFO] [stdout] 164 | #[cfg(qt_6_0)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_7` [INFO] [stdout] --> src/lib.rs:192:7 [INFO] [stdout] | [INFO] [stdout] 192 | #[cfg(qt_5_7)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_7)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_7)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_7` [INFO] [stdout] --> src/lib.rs:206:7 [INFO] [stdout] | [INFO] [stdout] 206 | #[cfg(qt_5_7)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_7)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_7)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/scenegraph.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::len_without_is_empty))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `chrono_qdatetime`, `default`, `log`, and `webengine` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:514:16 [INFO] [stdout] | [INFO] [stdout] 514 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::should_implement_trait))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `chrono_qdatetime`, `default`, `log`, and `webengine` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:410:7 [INFO] [stdout] | [INFO] [stdout] 410 | #[cfg(qt_6_0)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | #[cfg(not(qt_6_0))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | #[cfg(not(qt_6_0))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:140:15 [INFO] [stdout] | [INFO] [stdout] 140 | #[cfg(qt_6_0)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | #[cfg(not(qt_6_0))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | #[cfg(not(qt_6_0))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | #[cfg(not(qt_6_0))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | #[cfg(not(qt_6_0))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:176:15 [INFO] [stdout] | [INFO] [stdout] 176 | #[cfg(qt_6_0)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:180:15 [INFO] [stdout] | [INFO] [stdout] 180 | #[cfg(qt_6_0)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 183 | #[cfg(qt_6_0)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:187:15 [INFO] [stdout] | [INFO] [stdout] 187 | #[cfg(qt_6_0)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:154:46 [INFO] [stdout] | [INFO] [stdout] 154 | extern "C" fn destructor_fn(#[cfg(qt_6_0)] _ : *const c_void, ptr: *mut T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:159:48 [INFO] [stdout] | [INFO] [stdout] 159 | let destructor_fn: extern "C" fn(#[cfg(qt_6_0)] _ : *const c_void, ptr: *mut T) = destructor_fn; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:263:65 [INFO] [stdout] | [INFO] [stdout] 263 | extern "C" fn converter_fn(#[cfg(not(qt_6_0))] _ : *const c_void, src: &T, dst : *mut QString) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:267:55 [INFO] [stdout] | [INFO] [stdout] 267 | let converter_fn: extern "C" fn(#[cfg(not(qt_6_0))] *const c_void, &T, *mut QString) -> bool = converter_fn; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:274:65 [INFO] [stdout] | [INFO] [stdout] 274 | extern "C" fn converter_fn(#[cfg(not(qt_6_0))] _ : *const c_void, src : &QString, dst : *mut T) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:278:55 [INFO] [stdout] | [INFO] [stdout] 278 | let converter_fn: extern "C" fn(#[cfg(not(qt_6_0))] *const c_void, &QString, *mut T) -> bool = converter_fn; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:495:48 [INFO] [stdout] | [INFO] [stdout] 495 | qdeclare_builtin_metatype! {QPixmap => if cfg!(qt_6_0) { 0x1001 } else { 65 }} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:496:47 [INFO] [stdout] | [INFO] [stdout] 496 | qdeclare_builtin_metatype! {QColor => if cfg!(qt_6_0) { 0x1003 } else { 67 }} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:497:47 [INFO] [stdout] | [INFO] [stdout] 497 | qdeclare_builtin_metatype! {QImage => if cfg!(qt_6_0) { 0x1006 } else { 70 }} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_9` [INFO] [stdout] --> src/qtdeclarative.rs:561:7 [INFO] [stdout] | [INFO] [stdout] 561 | #[cfg(qt_5_9)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_9)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_9)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_14` [INFO] [stdout] --> src/qtdeclarative.rs:712:7 [INFO] [stdout] | [INFO] [stdout] 712 | #[cfg(qt_5_14)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_14)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_14)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_8` [INFO] [stdout] --> src/qtdeclarative.rs:751:7 [INFO] [stdout] | [INFO] [stdout] 751 | #[cfg(qt_5_8)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_8)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_8)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qtdeclarative.rs:474:15 [INFO] [stdout] | [INFO] [stdout] 474 | #[cfg(qt_6_0)] _: *mut c_void, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qtdeclarative.rs:483:57 [INFO] [stdout] | [INFO] [stdout] 483 | let creator_fn: extern "C" fn(c: *mut c_void, #[cfg(qt_6_0)] _: *mut c_void) = creator_fn::; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_8` [INFO] [stdout] --> src/scenegraph.rs:354:7 [INFO] [stdout] | [INFO] [stdout] 354 | #[cfg(qt_5_8)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_8)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_8)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_8` [INFO] [stdout] --> src/scenegraph.rs:365:7 [INFO] [stdout] | [INFO] [stdout] 365 | #[cfg(qt_5_8)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_8)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_8)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_8` [INFO] [stdout] --> src/lib.rs:217:11 [INFO] [stdout] | [INFO] [stdout] 217 | #[cfg(qt_5_8)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_8)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_8)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_9` [INFO] [stdout] --> src/lib.rs:219:11 [INFO] [stdout] | [INFO] [stdout] 219 | #[cfg(qt_5_9)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_9)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_9)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/lib.rs:665:15 [INFO] [stdout] | [INFO] [stdout] 665 | #[cfg(all(qt_6_0, target_os = "windows"))] // QT_NO_DATA_RELOCATION [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::cell::RefCell`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:287:27 [INFO] [stdout] | [INFO] [stdout] 287 | pub get_rust_refcell: unsafe extern "C" fn(*mut c_void) -> *const RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:429:22 [INFO] [stdout] | [INFO] [stdout] 429 | pub fn as_pinned(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 429 | pub fn as_pinned(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:518:23 [INFO] [stdout] | [INFO] [stdout] 518 | pub fn borrow_mut(&self) -> QObjectRefMut { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 518 | pub fn borrow_mut(&self) -> QObjectRefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:572:19 [INFO] [stdout] | [INFO] [stdout] 572 | pub fn pinned(&self) -> QObjectPinned { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 572 | pub fn pinned(&self) -> QObjectPinned<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/lib.rs:586:5 [INFO] [stdout] | [INFO] [stdout] 586 | Box::into_raw(b); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 586 | let _ = Box::into_raw(b); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::cell::RefCell`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:615:51 [INFO] [stdout] | [INFO] [stdout] 615 | pub unsafe extern "C" fn RustObject_metaObject(p: *mut RefCell) -> *const QMetaObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::cell::RefCell`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:621:49 [INFO] [stdout] | [INFO] [stdout] 621 | pub unsafe extern "C" fn RustObject_destruct(p: *mut RefCell) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling qmetaobject v0.2.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_9` [INFO] [stdout] --> tests/tests.rs:216:7 [INFO] [stdout] | [INFO] [stdout] 216 | #[cfg(qt_5_9)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_9)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_9)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_14` [INFO] [stdout] --> tests/tests.rs:247:7 [INFO] [stdout] | [INFO] [stdout] 247 | #[cfg(qt_5_14)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_14)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_14)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::needless_pass_by_value))] // Too many of that for qt types. (FIXME) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `chrono_qdatetime`, `default`, `log`, and `webengine` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::cognitive_complexity))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `chrono_qdatetime`, `default`, `log`, and `webengine` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/lib.rs:161:11 [INFO] [stdout] | [INFO] [stdout] 161 | #[cfg(not(qt_6_0))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/lib.rs:164:7 [INFO] [stdout] | [INFO] [stdout] 164 | #[cfg(qt_6_0)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_7` [INFO] [stdout] --> src/lib.rs:192:7 [INFO] [stdout] | [INFO] [stdout] 192 | #[cfg(qt_5_7)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_7)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_7)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_7` [INFO] [stdout] --> src/lib.rs:206:7 [INFO] [stdout] | [INFO] [stdout] 206 | #[cfg(qt_5_7)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_7)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_7)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/scenegraph.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::len_without_is_empty))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `chrono_qdatetime`, `default`, `log`, and `webengine` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:514:16 [INFO] [stdout] | [INFO] [stdout] 514 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::should_implement_trait))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `chrono_qdatetime`, `default`, `log`, and `webengine` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:410:7 [INFO] [stdout] | [INFO] [stdout] 410 | #[cfg(qt_6_0)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | #[cfg(not(qt_6_0))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | #[cfg(not(qt_6_0))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:140:15 [INFO] [stdout] | [INFO] [stdout] 140 | #[cfg(qt_6_0)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | #[cfg(not(qt_6_0))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | #[cfg(not(qt_6_0))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | #[cfg(not(qt_6_0))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | #[cfg(not(qt_6_0))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:176:15 [INFO] [stdout] | [INFO] [stdout] 176 | #[cfg(qt_6_0)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:180:15 [INFO] [stdout] | [INFO] [stdout] 180 | #[cfg(qt_6_0)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 183 | #[cfg(qt_6_0)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:187:15 [INFO] [stdout] | [INFO] [stdout] 187 | #[cfg(qt_6_0)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:154:46 [INFO] [stdout] | [INFO] [stdout] 154 | extern "C" fn destructor_fn(#[cfg(qt_6_0)] _ : *const c_void, ptr: *mut T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:159:48 [INFO] [stdout] | [INFO] [stdout] 159 | let destructor_fn: extern "C" fn(#[cfg(qt_6_0)] _ : *const c_void, ptr: *mut T) = destructor_fn; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:263:65 [INFO] [stdout] | [INFO] [stdout] 263 | extern "C" fn converter_fn(#[cfg(not(qt_6_0))] _ : *const c_void, src: &T, dst : *mut QString) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:267:55 [INFO] [stdout] | [INFO] [stdout] 267 | let converter_fn: extern "C" fn(#[cfg(not(qt_6_0))] *const c_void, &T, *mut QString) -> bool = converter_fn; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:274:65 [INFO] [stdout] | [INFO] [stdout] 274 | extern "C" fn converter_fn(#[cfg(not(qt_6_0))] _ : *const c_void, src : &QString, dst : *mut T) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:278:55 [INFO] [stdout] | [INFO] [stdout] 278 | let converter_fn: extern "C" fn(#[cfg(not(qt_6_0))] *const c_void, &QString, *mut T) -> bool = converter_fn; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:495:48 [INFO] [stdout] | [INFO] [stdout] 495 | qdeclare_builtin_metatype! {QPixmap => if cfg!(qt_6_0) { 0x1001 } else { 65 }} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:496:47 [INFO] [stdout] | [INFO] [stdout] 496 | qdeclare_builtin_metatype! {QColor => if cfg!(qt_6_0) { 0x1003 } else { 67 }} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qmetatype.rs:497:47 [INFO] [stdout] | [INFO] [stdout] 497 | qdeclare_builtin_metatype! {QImage => if cfg!(qt_6_0) { 0x1006 } else { 70 }} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_9` [INFO] [stdout] --> src/qtdeclarative.rs:561:7 [INFO] [stdout] | [INFO] [stdout] 561 | #[cfg(qt_5_9)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_9)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_9)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_14` [INFO] [stdout] --> src/qtdeclarative.rs:712:7 [INFO] [stdout] | [INFO] [stdout] 712 | #[cfg(qt_5_14)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_14)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_14)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_8` [INFO] [stdout] --> src/qtdeclarative.rs:751:7 [INFO] [stdout] | [INFO] [stdout] 751 | #[cfg(qt_5_8)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_8)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_8)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qtdeclarative.rs:474:15 [INFO] [stdout] | [INFO] [stdout] 474 | #[cfg(qt_6_0)] _: *mut c_void, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/qtdeclarative.rs:483:57 [INFO] [stdout] | [INFO] [stdout] 483 | let creator_fn: extern "C" fn(c: *mut c_void, #[cfg(qt_6_0)] _: *mut c_void) = creator_fn::; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_8` [INFO] [stdout] --> src/scenegraph.rs:354:7 [INFO] [stdout] | [INFO] [stdout] 354 | #[cfg(qt_5_8)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_8)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_8)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_8` [INFO] [stdout] --> src/scenegraph.rs:365:7 [INFO] [stdout] | [INFO] [stdout] 365 | #[cfg(qt_5_8)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_8)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_8)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_8` [INFO] [stdout] --> src/lib.rs:217:11 [INFO] [stdout] | [INFO] [stdout] 217 | #[cfg(qt_5_8)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_8)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_8)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_5_9` [INFO] [stdout] --> src/lib.rs:219:11 [INFO] [stdout] | [INFO] [stdout] 219 | #[cfg(qt_5_9)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_9)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_9)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stdout] --> src/lib.rs:665:15 [INFO] [stdout] | [INFO] [stdout] 665 | #[cfg(all(qt_6_0, target_os = "windows"))] // QT_NO_DATA_RELOCATION [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WithLT` is never constructed [INFO] [stdout] --> tests/tests.rs:642:12 [INFO] [stdout] | [INFO] [stdout] 642 | struct WithLT<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WithWhereClose` is never constructed [INFO] [stdout] --> tests/tests.rs:653:12 [INFO] [stdout] | [INFO] [stdout] 653 | struct WithWhereClose [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyEnumObject` is never constructed [INFO] [stdout] --> tests/tests.rs:770:8 [INFO] [stdout] | [INFO] [stdout] 770 | struct MyEnumObject { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::cell::RefCell`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:287:27 [INFO] [stdout] | [INFO] [stdout] 287 | pub get_rust_refcell: unsafe extern "C" fn(*mut c_void) -> *const RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:429:22 [INFO] [stdout] | [INFO] [stdout] 429 | pub fn as_pinned(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 429 | pub fn as_pinned(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:518:23 [INFO] [stdout] | [INFO] [stdout] 518 | pub fn borrow_mut(&self) -> QObjectRefMut { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 518 | pub fn borrow_mut(&self) -> QObjectRefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:572:19 [INFO] [stdout] | [INFO] [stdout] 572 | pub fn pinned(&self) -> QObjectPinned { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 572 | pub fn pinned(&self) -> QObjectPinned<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/lib.rs:586:5 [INFO] [stdout] | [INFO] [stdout] 586 | Box::into_raw(b); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 586 | let _ = Box::into_raw(b); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::cell::RefCell`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:615:51 [INFO] [stdout] | [INFO] [stdout] 615 | pub unsafe extern "C" fn RustObject_metaObject(p: *mut RefCell) -> *const QMetaObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::cell::RefCell`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:621:49 [INFO] [stdout] | [INFO] [stdout] 621 | pub unsafe extern "C" fn RustObject_destruct(p: *mut RefCell) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.57s [INFO] running `Command { std: "docker" "inspect" "094e644724220073a4e3f3169ad2ccd7637f1cddd2ac906736ffbc1959530094", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "094e644724220073a4e3f3169ad2ccd7637f1cddd2ac906736ffbc1959530094", kill_on_drop: false }` [INFO] [stdout] 094e644724220073a4e3f3169ad2ccd7637f1cddd2ac906736ffbc1959530094 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2141e07836be2d35aeadd6a66aaca38a98798a3e4e5e9862e3951d2af6cef12a [INFO] running `Command { std: "docker" "start" "-a" "2141e07836be2d35aeadd6a66aaca38a98798a3e4e5e9862e3951d2af6cef12a", kill_on_drop: false }` [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs: In function 'int __cpp_closure_4116020068678292423_impl(const char* const&, const uint&, const ushort&, void (* const&)(void*), void (* const&)(const QtPrivate::QMetaTypeInterface*, void*, const void*), void (* const&)(const QtPrivate::QMetaTypeInterface*, void*), void (* const&)(const QtPrivate::QMetaTypeInterface*, void*), const QMetaObject* const&)': [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs:203:98: warning: 'QMetaType::MovableType' is deprecated: Use RelocatableType instead. [-Wdeprecated-declarations] [INFO] [stderr] warning: qmetaobject@0.2.10: 203 | auto flags = QMetaType::NeedsConstruction | QMetaType::NeedsDestruction | QMetaType::MovableType | extraFlag; [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: In file included from /usr/include/x86_64-linux-gnu/qt6/QtCore/qobject.h:18, [INFO] [stderr] warning: qmetaobject@0.2.10: from /usr/include/x86_64-linux-gnu/qt6/QtCore/QObject:1, [INFO] [stderr] warning: qmetaobject@0.2.10: from /opt/rustwide/workdir/qmetaobject_rust.hpp:20, [INFO] [stderr] warning: qmetaobject@0.2.10: from src/lib.rs:230: [INFO] [stderr] warning: qmetaobject@0.2.10: /usr/include/x86_64-linux-gnu/qt6/QtCore/qmetatype.h:356:9: note: declared here [INFO] [stderr] warning: qmetaobject@0.2.10: 356 | MovableType Q_DECL_ENUMERATOR_DEPRECATED_X("Use RelocatableType instead.") = RelocatableType, [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs:203:98: warning: 'QMetaType::MovableType' is deprecated: Use RelocatableType instead. [-Wdeprecated-declarations] [INFO] [stderr] warning: qmetaobject@0.2.10: 203 | auto flags = QMetaType::NeedsConstruction | QMetaType::NeedsDestruction | QMetaType::MovableType | extraFlag; [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: /usr/include/x86_64-linux-gnu/qt6/QtCore/qmetatype.h:356:9: note: declared here [INFO] [stderr] warning: qmetaobject@0.2.10: 356 | MovableType Q_DECL_ENUMERATOR_DEPRECATED_X("Use RelocatableType instead.") = RelocatableType, [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs: In function 'int __cpp_closure_2258020688151168791_impl(const char* const&, const int&)': [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs:288:44: warning: 'static int QMetaType::type(const char*)' is deprecated [-Wdeprecated-declarations] [INFO] [stderr] warning: qmetaobject@0.2.10: 288 | if (int exist = QMetaType::type(name)) { [INFO] [stderr] warning: qmetaobject@0.2.10: | ~~~~~~~~~~~~~~~^~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: /usr/include/x86_64-linux-gnu/qt6/QtCore/qmetatype.h:376:16: note: declared here [INFO] [stderr] warning: qmetaobject@0.2.10: 376 | static int type(const char *typeName) [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs:291:50: warning: 'static const char* QMetaType::typeName(int)' is deprecated [-Wdeprecated-declarations] [INFO] [stderr] warning: qmetaobject@0.2.10: 291 | name, QMetaType::typeName(id), QMetaType::typeName(exist)); [INFO] [stderr] warning: qmetaobject@0.2.10: | ~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: /usr/include/x86_64-linux-gnu/qt6/QtCore/qmetatype.h:382:24: note: declared here [INFO] [stderr] warning: qmetaobject@0.2.10: 382 | static const char *typeName(int type) [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs:291:75: warning: 'static const char* QMetaType::typeName(int)' is deprecated [-Wdeprecated-declarations] [INFO] [stderr] warning: qmetaobject@0.2.10: 291 | name, QMetaType::typeName(id), QMetaType::typeName(exist)); [INFO] [stderr] warning: qmetaobject@0.2.10: | ~~~~~~~~~~~~~~~~~~~^~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: /usr/include/x86_64-linux-gnu/qt6/QtCore/qmetatype.h:382:24: note: declared here [INFO] [stderr] warning: qmetaobject@0.2.10: 382 | static const char *typeName(int type) [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs: In function 'const void* __cpp_closure_4277059675507172747_impl(QVariant* const&, const int&)': [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs:393:39: warning: 'bool QVariant::canConvert(int) const' is deprecated [-Wdeprecated-declarations] [INFO] [stderr] warning: qmetaobject@0.2.10: 393 | return var_ptr->canConvert(id) && var_ptr->convert(id) [INFO] [stderr] warning: qmetaobject@0.2.10: | ~~~~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: In file included from /usr/include/x86_64-linux-gnu/qt6/QtCore/qabstractitemmodel.h:11, [INFO] [stderr] warning: qmetaobject@0.2.10: from /usr/include/x86_64-linux-gnu/qt6/QtCore/QAbstractItemModel:1, [INFO] [stderr] warning: qmetaobject@0.2.10: from src/itemmodel.rs:190: [INFO] [stderr] warning: qmetaobject@0.2.10: /usr/include/x86_64-linux-gnu/qt6/QtCore/qvariant.h:226:10: note: declared here [INFO] [stderr] warning: qmetaobject@0.2.10: 226 | bool canConvert(int targetTypeId) const [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: src/qmetatype.rs:393:63: warning: 'bool QVariant::convert(int)' is deprecated [-Wdeprecated-declarations] [INFO] [stderr] warning: qmetaobject@0.2.10: 393 | return var_ptr->canConvert(id) && var_ptr->convert(id) [INFO] [stderr] warning: qmetaobject@0.2.10: | ~~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: /usr/include/x86_64-linux-gnu/qt6/QtCore/qvariant.h:229:10: note: declared here [INFO] [stderr] warning: qmetaobject@0.2.10: 229 | bool convert(int targetTypeId) [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~ [INFO] [stderr] warning: qmetaobject@0.2.10: src/qtdeclarative.rs: In function 'void __cpp_closure_16065137262676305783(char* const&, char* const&, const int&, const int&, const QMetaObject* const&, void (* const&)(void*, void*), const size_t&, const int&)': [INFO] [stderr] warning: qmetaobject@0.2.10: src/qtdeclarative.rs:553:9: warning: missing initializer for member 'QQmlPrivate::RegisterType::finalizerCast' [-Wmissing-field-initializers] [INFO] [stderr] warning: qmetaobject@0.2.10: 553 | }; [INFO] [stderr] warning: qmetaobject@0.2.10: | ^ [INFO] [stderr] warning: qmetaobject@0.2.10: src/qtdeclarative.rs: In function 'QPointF __cpp_closure_11082437266784215316_impl(QMouseEvent* const&)': [INFO] [stderr] warning: qmetaobject@0.2.10: src/qtdeclarative.rs:968:34: warning: 'QPointF QMouseEvent::localPos() const' is deprecated: Use position() [-Wdeprecated-declarations] [INFO] [stderr] warning: qmetaobject@0.2.10: 968 | return self->localPos(); [INFO] [stderr] warning: qmetaobject@0.2.10: | ~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: qmetaobject@0.2.10: In file included from /usr/include/x86_64-linux-gnu/qt6/QtGui/qtextlayout.h:7, [INFO] [stderr] warning: qmetaobject@0.2.10: from /usr/include/x86_64-linux-gnu/qt6/QtGui/qabstracttextdocumentlayout.h:9, [INFO] [stderr] warning: qmetaobject@0.2.10: from /usr/include/x86_64-linux-gnu/qt6/QtGui/QtGui:6, [INFO] [stderr] warning: qmetaobject@0.2.10: from /usr/include/x86_64-linux-gnu/qt6/QtQuick/QtQuickDepends:4, [INFO] [stderr] warning: qmetaobject@0.2.10: from /usr/include/x86_64-linux-gnu/qt6/QtQuick/QtQuick:3, [INFO] [stderr] warning: qmetaobject@0.2.10: from src/qtdeclarative.rs:29: [INFO] [stderr] warning: qmetaobject@0.2.10: /usr/include/x86_64-linux-gnu/qt6/QtGui/qevent.h:227:13: note: declared here [INFO] [stderr] warning: qmetaobject@0.2.10: 227 | QPointF localPos() const { return position(); } [INFO] [stderr] warning: qmetaobject@0.2.10: | ^~~~~~~~ [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:154:13 [INFO] [stderr] | [INFO] [stderr] 154 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::needless_pass_by_value))] // Too many of that for qt types. (FIXME) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `chrono_qdatetime`, `default`, `log`, and `webengine` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:155:13 [INFO] [stderr] | [INFO] [stderr] 155 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::cognitive_complexity))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `chrono_qdatetime`, `default`, `log`, and `webengine` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stderr] --> src/lib.rs:161:11 [INFO] [stderr] | [INFO] [stderr] 161 | #[cfg(not(qt_6_0))] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stderr] --> src/lib.rs:164:7 [INFO] [stderr] | [INFO] [stderr] 164 | #[cfg(qt_6_0)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_5_7` [INFO] [stderr] --> src/lib.rs:192:7 [INFO] [stderr] | [INFO] [stderr] 192 | #[cfg(qt_5_7)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_7)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_7)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_5_7` [INFO] [stderr] --> src/lib.rs:206:7 [INFO] [stderr] | [INFO] [stderr] 206 | #[cfg(qt_5_7)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_7)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_7)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/scenegraph.rs:77:12 [INFO] [stderr] | [INFO] [stderr] 77 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::len_without_is_empty))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `chrono_qdatetime`, `default`, `log`, and `webengine` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:514:16 [INFO] [stderr] | [INFO] [stderr] 514 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::should_implement_trait))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `chrono_qdatetime`, `default`, `log`, and `webengine` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stderr] --> src/qmetatype.rs:410:7 [INFO] [stderr] | [INFO] [stderr] 410 | #[cfg(qt_6_0)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stderr] --> src/qmetatype.rs:133:19 [INFO] [stderr] | [INFO] [stderr] 133 | #[cfg(not(qt_6_0))] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stderr] --> src/qmetatype.rs:137:19 [INFO] [stderr] | [INFO] [stderr] 137 | #[cfg(not(qt_6_0))] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stderr] --> src/qmetatype.rs:140:15 [INFO] [stderr] | [INFO] [stderr] 140 | #[cfg(qt_6_0)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stderr] --> src/qmetatype.rs:143:19 [INFO] [stderr] | [INFO] [stderr] 143 | #[cfg(not(qt_6_0))] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stderr] --> src/qmetatype.rs:151:19 [INFO] [stderr] | [INFO] [stderr] 151 | #[cfg(not(qt_6_0))] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stderr] --> src/qmetatype.rs:161:19 [INFO] [stderr] | [INFO] [stderr] 161 | #[cfg(not(qt_6_0))] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stderr] --> src/qmetatype.rs:173:19 [INFO] [stderr] | [INFO] [stderr] 173 | #[cfg(not(qt_6_0))] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stderr] --> src/qmetatype.rs:176:15 [INFO] [stderr] | [INFO] [stderr] 176 | #[cfg(qt_6_0)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stderr] --> src/qmetatype.rs:180:15 [INFO] [stderr] | [INFO] [stderr] 180 | #[cfg(qt_6_0)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stderr] --> src/qmetatype.rs:183:15 [INFO] [stderr] | [INFO] [stderr] 183 | #[cfg(qt_6_0)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stderr] --> src/qmetatype.rs:187:15 [INFO] [stderr] | [INFO] [stderr] 187 | #[cfg(qt_6_0)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stderr] --> src/qmetatype.rs:154:46 [INFO] [stderr] | [INFO] [stderr] 154 | extern "C" fn destructor_fn(#[cfg(qt_6_0)] _ : *const c_void, ptr: *mut T) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stderr] --> src/qmetatype.rs:159:48 [INFO] [stderr] | [INFO] [stderr] 159 | let destructor_fn: extern "C" fn(#[cfg(qt_6_0)] _ : *const c_void, ptr: *mut T) = destructor_fn; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stderr] --> src/qmetatype.rs:263:65 [INFO] [stderr] | [INFO] [stderr] 263 | extern "C" fn converter_fn(#[cfg(not(qt_6_0))] _ : *const c_void, src: &T, dst : *mut QString) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stderr] --> src/qmetatype.rs:267:55 [INFO] [stderr] | [INFO] [stderr] 267 | let converter_fn: extern "C" fn(#[cfg(not(qt_6_0))] *const c_void, &T, *mut QString) -> bool = converter_fn; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stderr] --> src/qmetatype.rs:274:65 [INFO] [stderr] | [INFO] [stderr] 274 | extern "C" fn converter_fn(#[cfg(not(qt_6_0))] _ : *const c_void, src : &QString, dst : *mut T) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stderr] --> src/qmetatype.rs:278:55 [INFO] [stderr] | [INFO] [stderr] 278 | let converter_fn: extern "C" fn(#[cfg(not(qt_6_0))] *const c_void, &QString, *mut T) -> bool = converter_fn; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stderr] --> src/qmetatype.rs:495:48 [INFO] [stderr] | [INFO] [stderr] 495 | qdeclare_builtin_metatype! {QPixmap => if cfg!(qt_6_0) { 0x1001 } else { 65 }} [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stderr] --> src/qmetatype.rs:496:47 [INFO] [stderr] | [INFO] [stderr] 496 | qdeclare_builtin_metatype! {QColor => if cfg!(qt_6_0) { 0x1003 } else { 67 }} [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stderr] --> src/qmetatype.rs:497:47 [INFO] [stderr] | [INFO] [stderr] 497 | qdeclare_builtin_metatype! {QImage => if cfg!(qt_6_0) { 0x1006 } else { 70 }} [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_5_9` [INFO] [stderr] --> src/qtdeclarative.rs:561:7 [INFO] [stderr] | [INFO] [stderr] 561 | #[cfg(qt_5_9)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_9)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_9)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_5_14` [INFO] [stderr] --> src/qtdeclarative.rs:712:7 [INFO] [stderr] | [INFO] [stderr] 712 | #[cfg(qt_5_14)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_14)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_14)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_5_8` [INFO] [stderr] --> src/qtdeclarative.rs:751:7 [INFO] [stderr] | [INFO] [stderr] 751 | #[cfg(qt_5_8)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_8)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_8)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stderr] --> src/qtdeclarative.rs:474:15 [INFO] [stderr] | [INFO] [stderr] 474 | #[cfg(qt_6_0)] _: *mut c_void, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stderr] --> src/qtdeclarative.rs:483:57 [INFO] [stderr] | [INFO] [stderr] 483 | let creator_fn: extern "C" fn(c: *mut c_void, #[cfg(qt_6_0)] _: *mut c_void) = creator_fn::; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_5_8` [INFO] [stderr] --> src/scenegraph.rs:354:7 [INFO] [stderr] | [INFO] [stderr] 354 | #[cfg(qt_5_8)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_8)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_8)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_5_8` [INFO] [stderr] --> src/scenegraph.rs:365:7 [INFO] [stderr] | [INFO] [stderr] 365 | #[cfg(qt_5_8)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_8)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_8)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_5_8` [INFO] [stderr] --> src/lib.rs:217:11 [INFO] [stderr] | [INFO] [stderr] 217 | #[cfg(qt_5_8)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_8)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_8)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_5_9` [INFO] [stderr] --> src/lib.rs:219:11 [INFO] [stderr] | [INFO] [stderr] 219 | #[cfg(qt_5_9)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_9)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_9)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_6_0` [INFO] [stderr] --> src/lib.rs:665:15 [INFO] [stderr] | [INFO] [stderr] 665 | #[cfg(all(qt_6_0, target_os = "windows"))] // QT_NO_DATA_RELOCATION [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_6_0)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_6_0)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `std::cell::RefCell`, which is not FFI-safe [INFO] [stderr] --> src/lib.rs:287:27 [INFO] [stderr] | [INFO] [stderr] 287 | pub get_rust_refcell: unsafe extern "C" fn(*mut c_void) -> *const RefCell, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:429:22 [INFO] [stderr] | [INFO] [stderr] 429 | pub fn as_pinned(&self) -> Option> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 429 | pub fn as_pinned(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:518:23 [INFO] [stderr] | [INFO] [stderr] 518 | pub fn borrow_mut(&self) -> QObjectRefMut { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 518 | pub fn borrow_mut(&self) -> QObjectRefMut<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:572:19 [INFO] [stderr] | [INFO] [stderr] 572 | pub fn pinned(&self) -> QObjectPinned { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 572 | pub fn pinned(&self) -> QObjectPinned<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stderr] --> src/lib.rs:586:5 [INFO] [stderr] | [INFO] [stderr] 586 | Box::into_raw(b); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: losing the pointer will leak memory [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 586 | let _ = Box::into_raw(b); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `std::cell::RefCell`, which is not FFI-safe [INFO] [stderr] --> src/lib.rs:615:51 [INFO] [stderr] | [INFO] [stderr] 615 | pub unsafe extern "C" fn RustObject_metaObject(p: *mut RefCell) -> *const QMetaObject { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `std::cell::RefCell`, which is not FFI-safe [INFO] [stderr] --> src/lib.rs:621:49 [INFO] [stderr] | [INFO] [stderr] 621 | pub unsafe extern "C" fn RustObject_destruct(p: *mut RefCell) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `qmetaobject` (lib) generated 46 warnings (run `cargo fix --lib -p qmetaobject` to apply 3 suggestions) [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_5_9` [INFO] [stderr] --> tests/tests.rs:216:7 [INFO] [stderr] | [INFO] [stderr] 216 | #[cfg(qt_5_9)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_9)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_9)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `qt_5_14` [INFO] [stderr] --> tests/tests.rs:247:7 [INFO] [stderr] | [INFO] [stderr] 247 | #[cfg(qt_5_14)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_5_14)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qt_5_14)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: struct `WithLT` is never constructed [INFO] [stderr] --> tests/tests.rs:642:12 [INFO] [stderr] | [INFO] [stderr] 642 | struct WithLT<'a> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `WithWhereClose` is never constructed [INFO] [stderr] --> tests/tests.rs:653:12 [INFO] [stderr] | [INFO] [stderr] 653 | struct WithWhereClose [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MyEnumObject` is never constructed [INFO] [stderr] --> tests/tests.rs:770:8 [INFO] [stderr] | [INFO] [stderr] 770 | struct MyEnumObject { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `qmetaobject` (lib test) generated 46 warnings (46 duplicates) [INFO] [stderr] warning: `qmetaobject` (test "tests") generated 5 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/qmetaobject-a97523924d134c65) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test log::tests::test_convert ... ok [INFO] [stdout] test qmetatype::tests::test_qvariant_qpoint_qrect ... ok [INFO] [stdout] test qtdeclarative::qjsvalue_tests::test_qvariantlist_from_iter ... ok [INFO] [stdout] test qtdeclarative::qjsvalue_tests::test_is_string ... ok [INFO] [stdout] test qmetatype::tests::test_qvariant_qstringlist ... ok [INFO] [stdout] test qtdeclarative::qjsvalue_tests::test_is_number ... ok [INFO] [stdout] test qtdeclarative::qjsvalue_tests::test_is_bool ... ok [INFO] [stdout] test qmetatype::tests::test_qvariant_datetime ... ok [INFO] [stdout] test log::tests::test_double_init ... ok [INFO] [stdout] test qtdeclarative::qjsvalue_tests::test_qjsvalue ... ok [INFO] [stdout] test qmetatype::tests::test_qmetatype_register_wrong_type2 - should panic ... ok [INFO] [stdout] test qmetatype::tests::test_qmetatype ... ok [INFO] [stdout] test qmetatype::tests::test_qmetatype_register_wrong_type1 - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running tests/models.rs (/opt/rustwide/target/debug/deps/models-5e5e7ef44baa54c6) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test simple_model_iter ... ok [INFO] [stderr] error: test failed, to rerun pass `--test models` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/models-5e5e7ef44baa54c6` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "2141e07836be2d35aeadd6a66aaca38a98798a3e4e5e9862e3951d2af6cef12a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2141e07836be2d35aeadd6a66aaca38a98798a3e4e5e9862e3951d2af6cef12a", kill_on_drop: false }` [INFO] [stdout] 2141e07836be2d35aeadd6a66aaca38a98798a3e4e5e9862e3951d2af6cef12a