[INFO] fetching crate bitcoin-version 0.1.16-alpha.0... [INFO] testing bitcoin-version-0.1.16-alpha.0 against try#024495a232636f1f9407d7695b2be51edc2c51bd for pr-130285 [INFO] extracting crate bitcoin-version 0.1.16-alpha.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate bitcoin-version 0.1.16-alpha.0 on toolchain 024495a232636f1f9407d7695b2be51edc2c51bd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024495a232636f1f9407d7695b2be51edc2c51bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitcoin-version 0.1.16-alpha.0 [INFO] finished tweaking crates.io crate bitcoin-version 0.1.16-alpha.0 [INFO] tweaked toml for crates.io crate bitcoin-version 0.1.16-alpha.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024495a232636f1f9407d7695b2be51edc2c51bd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 215 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (latest: v0.8.11) [INFO] [stderr] Adding atomic v0.5.3 (latest: v0.6.0) [INFO] [stderr] Adding atomic_float v0.1.0 (latest: v1.1.0) [INFO] [stderr] Adding bindgen v0.60.1 (latest: v0.70.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding cfg_aliases v0.1.1 (latest: v0.2.1) [INFO] [stderr] Adding clap v3.2.25 (latest: v4.5.17) [INFO] [stderr] Adding clap_lex v0.2.4 (latest: v0.7.2) [INFO] [stderr] Adding delegate v0.7.0 (latest: v0.13.0) [INFO] [stderr] Adding env_logger v0.7.1 (latest: v0.11.5) [INFO] [stderr] Adding env_logger v0.9.3 (latest: v0.11.5) [INFO] [stderr] Adding errno v0.2.8 (latest: v0.3.9) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding humantime v1.3.0 (latest: v2.1.0) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding indoc v1.0.9 (latest: v2.0.5) [INFO] [stderr] Adding integer-encoding v3.0.4 (latest: v4.0.2) [INFO] [stderr] Adding itertools v0.8.2 (latest: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding memoffset v0.6.5 (latest: v0.9.1) [INFO] [stderr] Adding multimap v0.8.3 (latest: v0.10.0) [INFO] [stderr] Adding nix v0.24.3 (latest: v0.29.0) [INFO] [stderr] Adding os_str_bytes v6.6.1 (latest: v7.0.0) [INFO] [stderr] Adding pathdiff v0.1.0 (latest: v0.2.1) [INFO] [stderr] Adding peeking_take_while v0.1.2 (latest: v1.0.0) [INFO] [stderr] Adding phf v0.10.1 (latest: v0.11.2) [INFO] [stderr] Adding phf_generator v0.10.0 (latest: v0.11.2) [INFO] [stderr] Adding phf_macros v0.10.0 (latest: v0.11.2) [INFO] [stderr] Adding phf_shared v0.10.0 (latest: v0.11.2) [INFO] [stderr] Adding pnet_sys v0.31.0 (latest: v0.35.0) [INFO] [stderr] Adding priority-queue v1.4.0 (latest: v2.1.0) [INFO] [stderr] Adding quanta v0.9.3 (latest: v0.12.3) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding raw-cpuid v10.7.0 (latest: v11.1.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding serde-big-array v0.4.1 (latest: v0.5.1) [INFO] [stderr] Adding shell-words v0.1.0 (latest: v1.1.0) [INFO] [stderr] Adding siphasher v0.3.11 (latest: v1.0.1) [INFO] [stderr] Adding socket2 v0.4.10 (latest: v0.5.7) [INFO] [stderr] Adding sqlite v0.25.3 (latest: v0.36.1) [INFO] [stderr] Adding sqlite3-src v0.2.12 (latest: v0.6.1) [INFO] [stderr] Adding sqlite3-sys v0.12.0 (latest: v0.17.0) [INFO] [stderr] Adding strsim v0.10.0 (latest: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (latest: v0.13.1) [INFO] [stderr] Adding term v0.4.6 (latest: v1.0.0) [INFO] [stderr] Adding term-painter v0.2.4 (latest: v0.4.0) [INFO] [stderr] Adding toml v0.4.10 (latest: v0.8.19) [INFO] [stderr] Adding wasi v0.10.2+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding which v4.4.2 (latest: v6.0.3) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024495a232636f1f9407d7695b2be51edc2c51bd" "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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+024495a232636f1f9407d7695b2be51edc2c51bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a847460b0530dd2d67293a7596229d4852c03aafe7173c6cadd6487fc03c8d34 [INFO] running `Command { std: "docker" "start" "-a" "a847460b0530dd2d67293a7596229d4852c03aafe7173c6cadd6487fc03c8d34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a847460b0530dd2d67293a7596229d4852c03aafe7173c6cadd6487fc03c8d34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a847460b0530dd2d67293a7596229d4852c03aafe7173c6cadd6487fc03c8d34", kill_on_drop: false }` [INFO] [stdout] a847460b0530dd2d67293a7596229d4852c03aafe7173c6cadd6487fc03c8d34 [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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+024495a232636f1f9407d7695b2be51edc2c51bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51aafb99f3aa7effdd46e1da74239688b98154501dac01f09aad6553cf8d38a1 [INFO] running `Command { std: "docker" "start" "-a" "51aafb99f3aa7effdd46e1da74239688b98154501dac01f09aad6553cf8d38a1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling gimli v0.31.0 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling object v0.36.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling addr2line v0.24.1 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling cpp_common v0.5.9 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling cpp_build v0.5.9 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling qttypes v0.2.11 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cpp_macros v0.5.9 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling qt_macros v0.1.1 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling qmetaobject v0.2.10 [INFO] [stderr] Compiling cpp v0.5.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling cpp_core v0.6.0 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling priority-queue v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling qmetaobject_impl v0.2.10 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling poison v0.1.0 [INFO] [stderr] Compiling shared-mutex v0.3.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling sqlite3 v0.24.0 [INFO] [stderr] Compiling sqlite v0.25.3 [INFO] [stderr] Compiling try-catch v0.2.2 [INFO] [stderr] Compiling delegate v0.7.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling pnet_sys v0.31.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling ritual_common v0.4.0 [INFO] [stderr] Compiling serde-big-array v0.4.1 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling multiset v0.0.5 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling atomic-take v1.1.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling time-point v0.1.1 [INFO] [stderr] Compiling bitset v0.1.2 [INFO] [stderr] Compiling comparator v0.3.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling atomic_float v0.1.0 [INFO] [stderr] Compiling libevent-sys v0.2.6 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling qt_ritual_common v0.4.0 [INFO] [stderr] Compiling ritual_build v0.4.0 [INFO] [stderr] Compiling qt_ritual_build v0.5.0 [INFO] [stderr] Compiling qt_core v0.5.0 [INFO] [stderr] Compiling qt_gui v0.5.0 [INFO] [stderr] Compiling libevent v0.1.0 [INFO] [stderr] Compiling bitcoin-imports v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-cfg v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-version v0.1.16-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `WINDRES_PREPROC` [INFO] [stdout] --> src/clientversion.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(not(WINDRES_PREPROC))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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(WINDRES_PREPROC)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WINDRES_PREPROC)");` 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: `WINDRES_PREPROC` [INFO] [stdout] --> src/clientversion.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg(not(WINDRES_PREPROC))] [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(WINDRES_PREPROC)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WINDRES_PREPROC)");` 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: unused doc comment [INFO] [stdout] --> src/clientversion.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / /** [INFO] [stdout] 52 | | | The , which is generated by the [INFO] [stdout] 53 | | | build environment (share/genbuild.sh), could [INFO] [stdout] 54 | | | contain only one line of the following: [INFO] [stdout] ... | [INFO] [stdout] 63 | | | proper git information is not available [INFO] [stdout] 64 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `BUILD_GIT_TAG` [INFO] [stdout] --> src/clientversion.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(BUILD_GIT_TAG)] [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(BUILD_GIT_TAG)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `BUILD_GIT_TAG` [INFO] [stdout] --> src/clientversion.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 83 | #[cfg(BUILD_GIT_TAG)] [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(BUILD_GIT_TAG)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `BUILD_GIT_TAG` [INFO] [stdout] --> src/clientversion.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg(not(BUILD_GIT_TAG))] [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(BUILD_GIT_TAG)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `BUILD_GIT_TAG` [INFO] [stdout] --> src/clientversion.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(not(BUILD_GIT_TAG))] [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(BUILD_GIT_TAG)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `CLIENT_VERSION_IS_RELEASE` [INFO] [stdout] --> src/clientversion.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | #[cfg(all(CLIENT_VERSION_IS_RELEASE,not(BUILD_GIT_COMMIT),not(GIT_COMMIT_ID)))] [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(CLIENT_VERSION_IS_RELEASE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(CLIENT_VERSION_IS_RELEASE)");` 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: `BUILD_GIT_COMMIT` [INFO] [stdout] --> src/clientversion.rs:95:41 [INFO] [stdout] | [INFO] [stdout] 95 | #[cfg(all(CLIENT_VERSION_IS_RELEASE,not(BUILD_GIT_COMMIT),not(GIT_COMMIT_ID)))] [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(BUILD_GIT_COMMIT)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_COMMIT)");` 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: `GIT_COMMIT_ID` [INFO] [stdout] --> src/clientversion.rs:95:63 [INFO] [stdout] | [INFO] [stdout] 95 | #[cfg(all(CLIENT_VERSION_IS_RELEASE,not(BUILD_GIT_COMMIT),not(GIT_COMMIT_ID)))] [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(GIT_COMMIT_ID)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(GIT_COMMIT_ID)");` 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: `BUILD_GIT_TAG` [INFO] [stdout] --> src/clientversion.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(not(BUILD_GIT_TAG))] [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(BUILD_GIT_TAG)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `BUILD_GIT_COMMIT` [INFO] [stdout] --> src/clientversion.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(all(BUILD_GIT_COMMIT,not(CLIENT_VERSION_IS_RELEASE),not(GIT_COMMIT_ID)))] [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(BUILD_GIT_COMMIT)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_COMMIT)");` 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: `CLIENT_VERSION_IS_RELEASE` [INFO] [stdout] --> src/clientversion.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(all(BUILD_GIT_COMMIT,not(CLIENT_VERSION_IS_RELEASE),not(GIT_COMMIT_ID)))] [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(CLIENT_VERSION_IS_RELEASE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(CLIENT_VERSION_IS_RELEASE)");` 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: `GIT_COMMIT_ID` [INFO] [stdout] --> src/clientversion.rs:99:63 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(all(BUILD_GIT_COMMIT,not(CLIENT_VERSION_IS_RELEASE),not(GIT_COMMIT_ID)))] [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(GIT_COMMIT_ID)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(GIT_COMMIT_ID)");` 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: `BUILD_GIT_TAG` [INFO] [stdout] --> src/clientversion.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | #[cfg(not(BUILD_GIT_TAG))] [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(BUILD_GIT_TAG)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `GIT_COMMIT_ID` [INFO] [stdout] --> src/clientversion.rs:105:11 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(GIT_COMMIT_ID,not(CLIENT_VERSION_IS_RELEASE),not(BUILD_GIT_COMMIT)))] [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(GIT_COMMIT_ID)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(GIT_COMMIT_ID)");` 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: `CLIENT_VERSION_IS_RELEASE` [INFO] [stdout] --> src/clientversion.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(GIT_COMMIT_ID,not(CLIENT_VERSION_IS_RELEASE),not(BUILD_GIT_COMMIT)))] [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(CLIENT_VERSION_IS_RELEASE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(CLIENT_VERSION_IS_RELEASE)");` 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: `BUILD_GIT_COMMIT` [INFO] [stdout] --> src/clientversion.rs:105:60 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(GIT_COMMIT_ID,not(CLIENT_VERSION_IS_RELEASE),not(BUILD_GIT_COMMIT)))] [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(BUILD_GIT_COMMIT)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_COMMIT)");` 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: `BUILD_GIT_TAG` [INFO] [stdout] --> src/clientversion.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(not(BUILD_GIT_TAG))] [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(BUILD_GIT_TAG)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `CLIENT_VERSION_IS_RELEASE` [INFO] [stdout] --> src/clientversion.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(not(any(CLIENT_VERSION_IS_RELEASE,BUILD_GIT_COMMIT,GIT_COMMIT_ID)))] [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(CLIENT_VERSION_IS_RELEASE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(CLIENT_VERSION_IS_RELEASE)");` 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: `BUILD_GIT_COMMIT` [INFO] [stdout] --> src/clientversion.rs:111:41 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(not(any(CLIENT_VERSION_IS_RELEASE,BUILD_GIT_COMMIT,GIT_COMMIT_ID)))] [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(BUILD_GIT_COMMIT)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_COMMIT)");` 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: `GIT_COMMIT_ID` [INFO] [stdout] --> src/clientversion.rs:111:58 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(not(any(CLIENT_VERSION_IS_RELEASE,BUILD_GIT_COMMIT,GIT_COMMIT_ID)))] [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(GIT_COMMIT_ID)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(GIT_COMMIT_ID)");` 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: `WINDRES_PREPROC` [INFO] [stdout] --> src/clientversion.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 126 | #[cfg(not(WINDRES_PREPROC))] [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(WINDRES_PREPROC)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WINDRES_PREPROC)");` 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: `WINDRES_PREPROC` [INFO] [stdout] --> src/clientversion.rs:141:11 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(not(WINDRES_PREPROC))] [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(WINDRES_PREPROC)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WINDRES_PREPROC)");` 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: unused macro definition: `copyright_str` [INFO] [stdout] --> src/clientversion.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | macro_rules! copyright_str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/clientversion.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | name: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_client_version` [INFO] [stdout] --> src/clientversion.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | n_client_version: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_client_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comments` [INFO] [stdout] --> src/clientversion.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | comments: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 31s [INFO] running `Command { std: "docker" "inspect" "51aafb99f3aa7effdd46e1da74239688b98154501dac01f09aad6553cf8d38a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51aafb99f3aa7effdd46e1da74239688b98154501dac01f09aad6553cf8d38a1", kill_on_drop: false }` [INFO] [stdout] 51aafb99f3aa7effdd46e1da74239688b98154501dac01f09aad6553cf8d38a1 [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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+024495a232636f1f9407d7695b2be51edc2c51bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3edcccb6a66351544674aeb281c752c7f7c5a6b93af39ad674dd6f5b41e2aa4 [INFO] running `Command { std: "docker" "start" "-a" "d3edcccb6a66351544674aeb281c752c7f7c5a6b93af39ad674dd6f5b41e2aa4", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition name: `WINDRES_PREPROC` [INFO] [stdout] --> src/clientversion.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(not(WINDRES_PREPROC))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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(WINDRES_PREPROC)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WINDRES_PREPROC)");` 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: `WINDRES_PREPROC` [INFO] [stdout] --> src/clientversion.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg(not(WINDRES_PREPROC))] [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(WINDRES_PREPROC)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WINDRES_PREPROC)");` 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: unused doc comment [INFO] [stdout] --> src/clientversion.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / /** [INFO] [stdout] 52 | | | The , which is generated by the [INFO] [stdout] 53 | | | build environment (share/genbuild.sh), could [INFO] [stdout] 54 | | | contain only one line of the following: [INFO] [stdout] ... | [INFO] [stdout] 63 | | | proper git information is not available [INFO] [stdout] 64 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `BUILD_GIT_TAG` [INFO] [stdout] --> src/clientversion.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(BUILD_GIT_TAG)] [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(BUILD_GIT_TAG)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `BUILD_GIT_TAG` [INFO] [stdout] --> src/clientversion.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 83 | #[cfg(BUILD_GIT_TAG)] [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(BUILD_GIT_TAG)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `BUILD_GIT_TAG` [INFO] [stdout] --> src/clientversion.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg(not(BUILD_GIT_TAG))] [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(BUILD_GIT_TAG)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `BUILD_GIT_TAG` [INFO] [stdout] --> src/clientversion.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(not(BUILD_GIT_TAG))] [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(BUILD_GIT_TAG)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `CLIENT_VERSION_IS_RELEASE` [INFO] [stdout] --> src/clientversion.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | #[cfg(all(CLIENT_VERSION_IS_RELEASE,not(BUILD_GIT_COMMIT),not(GIT_COMMIT_ID)))] [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(CLIENT_VERSION_IS_RELEASE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(CLIENT_VERSION_IS_RELEASE)");` 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: `BUILD_GIT_COMMIT` [INFO] [stdout] --> src/clientversion.rs:95:41 [INFO] [stdout] | [INFO] [stdout] 95 | #[cfg(all(CLIENT_VERSION_IS_RELEASE,not(BUILD_GIT_COMMIT),not(GIT_COMMIT_ID)))] [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(BUILD_GIT_COMMIT)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_COMMIT)");` 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: `GIT_COMMIT_ID` [INFO] [stdout] --> src/clientversion.rs:95:63 [INFO] [stdout] | [INFO] [stdout] 95 | #[cfg(all(CLIENT_VERSION_IS_RELEASE,not(BUILD_GIT_COMMIT),not(GIT_COMMIT_ID)))] [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(GIT_COMMIT_ID)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(GIT_COMMIT_ID)");` 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: `BUILD_GIT_TAG` [INFO] [stdout] --> src/clientversion.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(not(BUILD_GIT_TAG))] [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(BUILD_GIT_TAG)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `BUILD_GIT_COMMIT` [INFO] [stdout] --> src/clientversion.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(all(BUILD_GIT_COMMIT,not(CLIENT_VERSION_IS_RELEASE),not(GIT_COMMIT_ID)))] [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(BUILD_GIT_COMMIT)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_COMMIT)");` 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: `CLIENT_VERSION_IS_RELEASE` [INFO] [stdout] --> src/clientversion.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(all(BUILD_GIT_COMMIT,not(CLIENT_VERSION_IS_RELEASE),not(GIT_COMMIT_ID)))] [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(CLIENT_VERSION_IS_RELEASE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(CLIENT_VERSION_IS_RELEASE)");` 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: `GIT_COMMIT_ID` [INFO] [stdout] --> src/clientversion.rs:99:63 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(all(BUILD_GIT_COMMIT,not(CLIENT_VERSION_IS_RELEASE),not(GIT_COMMIT_ID)))] [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(GIT_COMMIT_ID)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(GIT_COMMIT_ID)");` 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: `BUILD_GIT_TAG` [INFO] [stdout] --> src/clientversion.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | #[cfg(not(BUILD_GIT_TAG))] [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(BUILD_GIT_TAG)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `GIT_COMMIT_ID` [INFO] [stdout] --> src/clientversion.rs:105:11 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(GIT_COMMIT_ID,not(CLIENT_VERSION_IS_RELEASE),not(BUILD_GIT_COMMIT)))] [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(GIT_COMMIT_ID)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(GIT_COMMIT_ID)");` 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: `CLIENT_VERSION_IS_RELEASE` [INFO] [stdout] --> src/clientversion.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(GIT_COMMIT_ID,not(CLIENT_VERSION_IS_RELEASE),not(BUILD_GIT_COMMIT)))] [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(CLIENT_VERSION_IS_RELEASE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(CLIENT_VERSION_IS_RELEASE)");` 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: `BUILD_GIT_COMMIT` [INFO] [stdout] --> src/clientversion.rs:105:60 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(GIT_COMMIT_ID,not(CLIENT_VERSION_IS_RELEASE),not(BUILD_GIT_COMMIT)))] [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(BUILD_GIT_COMMIT)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_COMMIT)");` 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: `BUILD_GIT_TAG` [INFO] [stdout] --> src/clientversion.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(not(BUILD_GIT_TAG))] [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(BUILD_GIT_TAG)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `CLIENT_VERSION_IS_RELEASE` [INFO] [stdout] --> src/clientversion.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(not(any(CLIENT_VERSION_IS_RELEASE,BUILD_GIT_COMMIT,GIT_COMMIT_ID)))] [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(CLIENT_VERSION_IS_RELEASE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(CLIENT_VERSION_IS_RELEASE)");` 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: `BUILD_GIT_COMMIT` [INFO] [stdout] --> src/clientversion.rs:111:41 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(not(any(CLIENT_VERSION_IS_RELEASE,BUILD_GIT_COMMIT,GIT_COMMIT_ID)))] [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(BUILD_GIT_COMMIT)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_COMMIT)");` 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: `GIT_COMMIT_ID` [INFO] [stdout] --> src/clientversion.rs:111:58 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(not(any(CLIENT_VERSION_IS_RELEASE,BUILD_GIT_COMMIT,GIT_COMMIT_ID)))] [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(GIT_COMMIT_ID)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(GIT_COMMIT_ID)");` 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: `WINDRES_PREPROC` [INFO] [stdout] --> src/clientversion.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 126 | #[cfg(not(WINDRES_PREPROC))] [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(WINDRES_PREPROC)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WINDRES_PREPROC)");` 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: `WINDRES_PREPROC` [INFO] [stdout] --> src/clientversion.rs:141:11 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(not(WINDRES_PREPROC))] [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(WINDRES_PREPROC)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WINDRES_PREPROC)");` 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: unused macro definition: `copyright_str` [INFO] [stdout] --> src/clientversion.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | macro_rules! copyright_str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/clientversion.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | name: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_client_version` [INFO] [stdout] --> src/clientversion.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | n_client_version: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_client_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comments` [INFO] [stdout] --> src/clientversion.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | comments: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bitcoin-version v0.1.16-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `WINDRES_PREPROC` [INFO] [stdout] --> src/clientversion.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(not(WINDRES_PREPROC))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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(WINDRES_PREPROC)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WINDRES_PREPROC)");` 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: `WINDRES_PREPROC` [INFO] [stdout] --> src/clientversion.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg(not(WINDRES_PREPROC))] [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(WINDRES_PREPROC)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WINDRES_PREPROC)");` 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: unused doc comment [INFO] [stdout] --> src/clientversion.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / /** [INFO] [stdout] 52 | | | The , which is generated by the [INFO] [stdout] 53 | | | build environment (share/genbuild.sh), could [INFO] [stdout] 54 | | | contain only one line of the following: [INFO] [stdout] ... | [INFO] [stdout] 63 | | | proper git information is not available [INFO] [stdout] 64 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `BUILD_GIT_TAG` [INFO] [stdout] --> src/clientversion.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(BUILD_GIT_TAG)] [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(BUILD_GIT_TAG)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `BUILD_GIT_TAG` [INFO] [stdout] --> src/clientversion.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 83 | #[cfg(BUILD_GIT_TAG)] [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(BUILD_GIT_TAG)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `BUILD_GIT_TAG` [INFO] [stdout] --> src/clientversion.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg(not(BUILD_GIT_TAG))] [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(BUILD_GIT_TAG)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `BUILD_GIT_TAG` [INFO] [stdout] --> src/clientversion.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(not(BUILD_GIT_TAG))] [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(BUILD_GIT_TAG)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `CLIENT_VERSION_IS_RELEASE` [INFO] [stdout] --> src/clientversion.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | #[cfg(all(CLIENT_VERSION_IS_RELEASE,not(BUILD_GIT_COMMIT),not(GIT_COMMIT_ID)))] [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(CLIENT_VERSION_IS_RELEASE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(CLIENT_VERSION_IS_RELEASE)");` 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: `BUILD_GIT_COMMIT` [INFO] [stdout] --> src/clientversion.rs:95:41 [INFO] [stdout] | [INFO] [stdout] 95 | #[cfg(all(CLIENT_VERSION_IS_RELEASE,not(BUILD_GIT_COMMIT),not(GIT_COMMIT_ID)))] [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(BUILD_GIT_COMMIT)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_COMMIT)");` 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: `GIT_COMMIT_ID` [INFO] [stdout] --> src/clientversion.rs:95:63 [INFO] [stdout] | [INFO] [stdout] 95 | #[cfg(all(CLIENT_VERSION_IS_RELEASE,not(BUILD_GIT_COMMIT),not(GIT_COMMIT_ID)))] [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(GIT_COMMIT_ID)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(GIT_COMMIT_ID)");` 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: `BUILD_GIT_TAG` [INFO] [stdout] --> src/clientversion.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(not(BUILD_GIT_TAG))] [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(BUILD_GIT_TAG)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `BUILD_GIT_COMMIT` [INFO] [stdout] --> src/clientversion.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(all(BUILD_GIT_COMMIT,not(CLIENT_VERSION_IS_RELEASE),not(GIT_COMMIT_ID)))] [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(BUILD_GIT_COMMIT)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_COMMIT)");` 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: `CLIENT_VERSION_IS_RELEASE` [INFO] [stdout] --> src/clientversion.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(all(BUILD_GIT_COMMIT,not(CLIENT_VERSION_IS_RELEASE),not(GIT_COMMIT_ID)))] [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(CLIENT_VERSION_IS_RELEASE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(CLIENT_VERSION_IS_RELEASE)");` 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: `GIT_COMMIT_ID` [INFO] [stdout] --> src/clientversion.rs:99:63 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(all(BUILD_GIT_COMMIT,not(CLIENT_VERSION_IS_RELEASE),not(GIT_COMMIT_ID)))] [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(GIT_COMMIT_ID)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(GIT_COMMIT_ID)");` 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: `BUILD_GIT_TAG` [INFO] [stdout] --> src/clientversion.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | #[cfg(not(BUILD_GIT_TAG))] [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(BUILD_GIT_TAG)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `GIT_COMMIT_ID` [INFO] [stdout] --> src/clientversion.rs:105:11 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(GIT_COMMIT_ID,not(CLIENT_VERSION_IS_RELEASE),not(BUILD_GIT_COMMIT)))] [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(GIT_COMMIT_ID)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(GIT_COMMIT_ID)");` 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: `CLIENT_VERSION_IS_RELEASE` [INFO] [stdout] --> src/clientversion.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(GIT_COMMIT_ID,not(CLIENT_VERSION_IS_RELEASE),not(BUILD_GIT_COMMIT)))] [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(CLIENT_VERSION_IS_RELEASE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(CLIENT_VERSION_IS_RELEASE)");` 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: `BUILD_GIT_COMMIT` [INFO] [stdout] --> src/clientversion.rs:105:60 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(all(GIT_COMMIT_ID,not(CLIENT_VERSION_IS_RELEASE),not(BUILD_GIT_COMMIT)))] [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(BUILD_GIT_COMMIT)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_COMMIT)");` 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: `BUILD_GIT_TAG` [INFO] [stdout] --> src/clientversion.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(not(BUILD_GIT_TAG))] [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(BUILD_GIT_TAG)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `CLIENT_VERSION_IS_RELEASE` [INFO] [stdout] --> src/clientversion.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(not(any(CLIENT_VERSION_IS_RELEASE,BUILD_GIT_COMMIT,GIT_COMMIT_ID)))] [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(CLIENT_VERSION_IS_RELEASE)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(CLIENT_VERSION_IS_RELEASE)");` 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: `BUILD_GIT_COMMIT` [INFO] [stdout] --> src/clientversion.rs:111:41 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(not(any(CLIENT_VERSION_IS_RELEASE,BUILD_GIT_COMMIT,GIT_COMMIT_ID)))] [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(BUILD_GIT_COMMIT)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_COMMIT)");` 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: `GIT_COMMIT_ID` [INFO] [stdout] --> src/clientversion.rs:111:58 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(not(any(CLIENT_VERSION_IS_RELEASE,BUILD_GIT_COMMIT,GIT_COMMIT_ID)))] [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(GIT_COMMIT_ID)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(GIT_COMMIT_ID)");` 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: `WINDRES_PREPROC` [INFO] [stdout] --> src/clientversion.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 126 | #[cfg(not(WINDRES_PREPROC))] [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(WINDRES_PREPROC)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WINDRES_PREPROC)");` 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: `WINDRES_PREPROC` [INFO] [stdout] --> src/clientversion.rs:141:11 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(not(WINDRES_PREPROC))] [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(WINDRES_PREPROC)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WINDRES_PREPROC)");` 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: unused macro definition: `copyright_str` [INFO] [stdout] --> src/clientversion.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | macro_rules! copyright_str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/clientversion.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | name: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_client_version` [INFO] [stdout] --> src/clientversion.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | n_client_version: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_client_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comments` [INFO] [stdout] --> src/clientversion.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | comments: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.64s [INFO] running `Command { std: "docker" "inspect" "d3edcccb6a66351544674aeb281c752c7f7c5a6b93af39ad674dd6f5b41e2aa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3edcccb6a66351544674aeb281c752c7f7c5a6b93af39ad674dd6f5b41e2aa4", kill_on_drop: false }` [INFO] [stdout] d3edcccb6a66351544674aeb281c752c7f7c5a6b93af39ad674dd6f5b41e2aa4 [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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+024495a232636f1f9407d7695b2be51edc2c51bd" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1b30e06b68140e396502c8309856f44dbf3d3eecc40032d0cac98c84e342cfb8 [INFO] running `Command { std: "docker" "start" "-a" "1b30e06b68140e396502c8309856f44dbf3d3eecc40032d0cac98c84e342cfb8", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `WINDRES_PREPROC` [INFO] [stderr] --> src/clientversion.rs:32:11 [INFO] [stderr] | [INFO] [stderr] 32 | #[cfg(not(WINDRES_PREPROC))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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(WINDRES_PREPROC)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WINDRES_PREPROC)");` 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: `WINDRES_PREPROC` [INFO] [stderr] --> src/clientversion.rs:46:11 [INFO] [stderr] | [INFO] [stderr] 46 | #[cfg(not(WINDRES_PREPROC))] [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(WINDRES_PREPROC)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WINDRES_PREPROC)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/clientversion.rs:51:1 [INFO] [stderr] | [INFO] [stderr] 51 | / /** [INFO] [stderr] 52 | | | The , which is generated by the [INFO] [stderr] 53 | | | build environment (share/genbuild.sh), could [INFO] [stderr] 54 | | | contain only one line of the following: [INFO] [stderr] ... | [INFO] [stderr] 63 | | | proper git information is not available [INFO] [stderr] 64 | | */ [INFO] [stderr] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `BUILD_GIT_TAG` [INFO] [stderr] --> src/clientversion.rs:80:7 [INFO] [stderr] | [INFO] [stderr] 80 | #[cfg(BUILD_GIT_TAG)] [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(BUILD_GIT_TAG)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `BUILD_GIT_TAG` [INFO] [stderr] --> src/clientversion.rs:83:7 [INFO] [stderr] | [INFO] [stderr] 83 | #[cfg(BUILD_GIT_TAG)] [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(BUILD_GIT_TAG)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `BUILD_GIT_TAG` [INFO] [stderr] --> src/clientversion.rs:89:11 [INFO] [stderr] | [INFO] [stderr] 89 | #[cfg(not(BUILD_GIT_TAG))] [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(BUILD_GIT_TAG)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `BUILD_GIT_TAG` [INFO] [stderr] --> src/clientversion.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[cfg(not(BUILD_GIT_TAG))] [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(BUILD_GIT_TAG)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `CLIENT_VERSION_IS_RELEASE` [INFO] [stderr] --> src/clientversion.rs:95:11 [INFO] [stderr] | [INFO] [stderr] 95 | #[cfg(all(CLIENT_VERSION_IS_RELEASE,not(BUILD_GIT_COMMIT),not(GIT_COMMIT_ID)))] [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(CLIENT_VERSION_IS_RELEASE)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(CLIENT_VERSION_IS_RELEASE)");` 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: `BUILD_GIT_COMMIT` [INFO] [stderr] --> src/clientversion.rs:95:41 [INFO] [stderr] | [INFO] [stderr] 95 | #[cfg(all(CLIENT_VERSION_IS_RELEASE,not(BUILD_GIT_COMMIT),not(GIT_COMMIT_ID)))] [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(BUILD_GIT_COMMIT)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_COMMIT)");` 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: `GIT_COMMIT_ID` [INFO] [stderr] --> src/clientversion.rs:95:63 [INFO] [stderr] | [INFO] [stderr] 95 | #[cfg(all(CLIENT_VERSION_IS_RELEASE,not(BUILD_GIT_COMMIT),not(GIT_COMMIT_ID)))] [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(GIT_COMMIT_ID)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(GIT_COMMIT_ID)");` 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: `BUILD_GIT_TAG` [INFO] [stderr] --> src/clientversion.rs:98:11 [INFO] [stderr] | [INFO] [stderr] 98 | #[cfg(not(BUILD_GIT_TAG))] [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(BUILD_GIT_TAG)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `BUILD_GIT_COMMIT` [INFO] [stderr] --> src/clientversion.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[cfg(all(BUILD_GIT_COMMIT,not(CLIENT_VERSION_IS_RELEASE),not(GIT_COMMIT_ID)))] [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(BUILD_GIT_COMMIT)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_COMMIT)");` 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: `CLIENT_VERSION_IS_RELEASE` [INFO] [stderr] --> src/clientversion.rs:99:32 [INFO] [stderr] | [INFO] [stderr] 99 | #[cfg(all(BUILD_GIT_COMMIT,not(CLIENT_VERSION_IS_RELEASE),not(GIT_COMMIT_ID)))] [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(CLIENT_VERSION_IS_RELEASE)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(CLIENT_VERSION_IS_RELEASE)");` 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: `GIT_COMMIT_ID` [INFO] [stderr] --> src/clientversion.rs:99:63 [INFO] [stderr] | [INFO] [stderr] 99 | #[cfg(all(BUILD_GIT_COMMIT,not(CLIENT_VERSION_IS_RELEASE),not(GIT_COMMIT_ID)))] [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(GIT_COMMIT_ID)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(GIT_COMMIT_ID)");` 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: `BUILD_GIT_TAG` [INFO] [stderr] --> src/clientversion.rs:104:11 [INFO] [stderr] | [INFO] [stderr] 104 | #[cfg(not(BUILD_GIT_TAG))] [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(BUILD_GIT_TAG)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `GIT_COMMIT_ID` [INFO] [stderr] --> src/clientversion.rs:105:11 [INFO] [stderr] | [INFO] [stderr] 105 | #[cfg(all(GIT_COMMIT_ID,not(CLIENT_VERSION_IS_RELEASE),not(BUILD_GIT_COMMIT)))] [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(GIT_COMMIT_ID)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(GIT_COMMIT_ID)");` 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: `CLIENT_VERSION_IS_RELEASE` [INFO] [stderr] --> src/clientversion.rs:105:29 [INFO] [stderr] | [INFO] [stderr] 105 | #[cfg(all(GIT_COMMIT_ID,not(CLIENT_VERSION_IS_RELEASE),not(BUILD_GIT_COMMIT)))] [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(CLIENT_VERSION_IS_RELEASE)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(CLIENT_VERSION_IS_RELEASE)");` 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: `BUILD_GIT_COMMIT` [INFO] [stderr] --> src/clientversion.rs:105:60 [INFO] [stderr] | [INFO] [stderr] 105 | #[cfg(all(GIT_COMMIT_ID,not(CLIENT_VERSION_IS_RELEASE),not(BUILD_GIT_COMMIT)))] [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(BUILD_GIT_COMMIT)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_COMMIT)");` 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: `BUILD_GIT_TAG` [INFO] [stderr] --> src/clientversion.rs:110:11 [INFO] [stderr] | [INFO] [stderr] 110 | #[cfg(not(BUILD_GIT_TAG))] [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(BUILD_GIT_TAG)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_TAG)");` 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: `CLIENT_VERSION_IS_RELEASE` [INFO] [stderr] --> src/clientversion.rs:111:15 [INFO] [stderr] | [INFO] [stderr] 111 | #[cfg(not(any(CLIENT_VERSION_IS_RELEASE,BUILD_GIT_COMMIT,GIT_COMMIT_ID)))] [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(CLIENT_VERSION_IS_RELEASE)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(CLIENT_VERSION_IS_RELEASE)");` 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: `BUILD_GIT_COMMIT` [INFO] [stderr] --> src/clientversion.rs:111:41 [INFO] [stderr] | [INFO] [stderr] 111 | #[cfg(not(any(CLIENT_VERSION_IS_RELEASE,BUILD_GIT_COMMIT,GIT_COMMIT_ID)))] [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(BUILD_GIT_COMMIT)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(BUILD_GIT_COMMIT)");` 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: `GIT_COMMIT_ID` [INFO] [stderr] --> src/clientversion.rs:111:58 [INFO] [stderr] | [INFO] [stderr] 111 | #[cfg(not(any(CLIENT_VERSION_IS_RELEASE,BUILD_GIT_COMMIT,GIT_COMMIT_ID)))] [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(GIT_COMMIT_ID)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(GIT_COMMIT_ID)");` 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: `WINDRES_PREPROC` [INFO] [stderr] --> src/clientversion.rs:126:11 [INFO] [stderr] | [INFO] [stderr] 126 | #[cfg(not(WINDRES_PREPROC))] [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(WINDRES_PREPROC)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WINDRES_PREPROC)");` 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: `WINDRES_PREPROC` [INFO] [stderr] --> src/clientversion.rs:141:11 [INFO] [stderr] | [INFO] [stderr] 141 | #[cfg(not(WINDRES_PREPROC))] [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(WINDRES_PREPROC)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(WINDRES_PREPROC)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `copyright_str` [INFO] [stderr] --> src/clientversion.rs:10:14 [INFO] [stderr] | [INFO] [stderr] 10 | macro_rules! copyright_str { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/clientversion.rs:143:9 [INFO] [stderr] | [INFO] [stderr] 143 | name: &String, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n_client_version` [INFO] [stderr] --> src/clientversion.rs:144:9 [INFO] [stderr] | [INFO] [stderr] 144 | n_client_version: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_client_version` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `comments` [INFO] [stderr] --> src/clientversion.rs:145:9 [INFO] [stderr] | [INFO] [stderr] 145 | comments: &Vec) -> String { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comments` [INFO] [stderr] [INFO] [stderr] warning: `bitcoin-version` (lib) generated 28 warnings [INFO] [stderr] warning: `bitcoin-version` (lib test) generated 28 warnings (28 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bitcoin_version-7e9e13e15509ee63) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests bitcoin_version [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1b30e06b68140e396502c8309856f44dbf3d3eecc40032d0cac98c84e342cfb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b30e06b68140e396502c8309856f44dbf3d3eecc40032d0cac98c84e342cfb8", kill_on_drop: false }` [INFO] [stdout] 1b30e06b68140e396502c8309856f44dbf3d3eecc40032d0cac98c84e342cfb8