[INFO] fetching crate kconfig 0.1.0... [INFO] testing kconfig-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate kconfig 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate kconfig 0.1.0 [INFO] finished tweaking crates.io crate kconfig 0.1.0 [INFO] tweaked toml for crates.io crate kconfig 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kconfig 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 44 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.4) [INFO] [stderr] Adding env_logger v0.9.3 (available: v0.11.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70c74c9b613d05deaf7e6ddd902628bd51f7670671ba3ed22d4ea82418900931 [INFO] running `Command { std: "docker" "start" "-a" "70c74c9b613d05deaf7e6ddd902628bd51f7670671ba3ed22d4ea82418900931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70c74c9b613d05deaf7e6ddd902628bd51f7670671ba3ed22d4ea82418900931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70c74c9b613d05deaf7e6ddd902628bd51f7670671ba3ed22d4ea82418900931", kill_on_drop: false }` [INFO] [stdout] 70c74c9b613d05deaf7e6ddd902628bd51f7670671ba3ed22d4ea82418900931 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 256a694100e08934bd11193c3db15c11928c7c27f3033956d45713aa5d095670 [INFO] running `Command { std: "docker" "start" "-a" "256a694100e08934bd11193c3db15c11928c7c27f3033956d45713aa5d095670", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling kde_frameworks v0.2.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling cpp_common v0.5.10 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling cpp_build v0.5.10 [INFO] [stderr] Compiling cpp_macros v0.5.10 [INFO] [stderr] Compiling qttypes v0.2.12 [INFO] [stderr] Compiling kconfig v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling cpp v0.5.10 [INFO] [stderr] warning: kconfig@0.1.0: src/kconfig.rs: In function 'QString __cpp_closure_2785011782761807581_impl()': [INFO] [stderr] warning: kconfig@0.1.0: src/kconfig.rs:97:1: warning: no return statement in function returning non-void [-Wreturn-type] [INFO] [stderr] warning: kconfig@0.1.0: 97 | } [INFO] [stderr] warning: kconfig@0.1.0: | ^ [INFO] [stdout] warning: unexpected `cfg` condition name: `kf_5_93` [INFO] [stdout] --> src/kconfig.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg(kf_5_93)] [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(kf_5_93)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kf_5_93)");` 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: `kf_5_93` [INFO] [stdout] --> src/ksharedconfig.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | #[cfg(kf_5_93)] [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(kf_5_93)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kf_5_93)");` 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: `kf_5_93` [INFO] [stdout] --> src/ksharedconfig.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(not(kf_5_93))] [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(kf_5_93)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kf_5_93)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `KConfig::main_config_name::__cpp_closure_2785011782761807581` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/kconfig.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | / cpp!([] -> QString as "QString" { [INFO] [stdout] 93 | | #if KCONFIG_VERSION >= QT_VERSION_CHECK(5, 93, 0) [INFO] [stdout] 94 | | return KConfig::mainConfigName(); [INFO] [stdout] 95 | | #endif [INFO] [stdout] 96 | | }) [INFO] [stdout] | |__________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `__cpp_closure_impl` which comes from the expansion of the macro `cpp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `MaybeUninit::::assume_init` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/kconfig.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | / cpp!([] -> QString as "QString" { [INFO] [stdout] 93 | | #if KCONFIG_VERSION >= QT_VERSION_CHECK(5, 93, 0) [INFO] [stdout] 94 | | return KConfig::mainConfigName(); [INFO] [stdout] 95 | | #endif [INFO] [stdout] 96 | | }) [INFO] [stdout] | |__________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `__cpp_closure_impl` which comes from the expansion of the macro `cpp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ksharedconfig.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut file: QString = file.into(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] warning: kconfig@0.1.0: src/kconfig.rs: In function 'QString __cpp_closure_2785011782761807581_impl()': [INFO] [stderr] warning: kconfig@0.1.0: src/kconfig.rs:97:1: warning: no return statement in function returning non-void [-Wreturn-type] [INFO] [stderr] warning: kconfig@0.1.0: 97 | } [INFO] [stderr] warning: kconfig@0.1.0: | ^ [INFO] [stderr] error: could not compile `kconfig` (lib) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "256a694100e08934bd11193c3db15c11928c7c27f3033956d45713aa5d095670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "256a694100e08934bd11193c3db15c11928c7c27f3033956d45713aa5d095670", kill_on_drop: false }` [INFO] [stdout] 256a694100e08934bd11193c3db15c11928c7c27f3033956d45713aa5d095670