[INFO] fetching crate tari_common 1.0.0-rc.5... [INFO] checking tari_common-1.0.0-rc.5 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate tari_common 1.0.0-rc.5 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate tari_common 1.0.0-rc.5 [INFO] finished tweaking crates.io crate tari_common 1.0.0-rc.5 [INFO] tweaked toml for crates.io crate tari_common 1.0.0-rc.5 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tari_common 1.0.0-rc.5 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 212 packages to latest compatible versions [INFO] [stderr] Adding config v0.13.4 (available: v0.15.11) [INFO] [stderr] Adding dirs-next v1.0.2 (available: v2.0.0) [INFO] [stderr] Adding git2 v0.18.3 (available: v0.20.2) [INFO] [stderr] Adding multiaddr v0.14.0 (available: v0.18.2) [INFO] [stderr] Adding path-clean v0.1.0 (available: v1.0.1) [INFO] [stderr] Adding proc-macro-crate v1.1.3 (available: v1.3.1) [INFO] [stderr] Adding prost-build v0.11.9 (available: v0.14.1) [INFO] [stderr] Adding tari_crypto v0.20.3 (available: v0.22.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.23) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `config` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `git2` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `log4rs` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `serde` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `structopt` dependency) [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tari_features v1.0.0-rc.5 [INFO] [stderr] Downloaded dirs-next v1.0.2 [INFO] [stderr] Downloaded tari_utilities v0.7.0 [INFO] [stderr] Downloaded tari-log4rs v1.2.0 [INFO] [stderr] Downloaded tari_crypto v0.20.3 [INFO] [stderr] Downloaded tari_bulletproofs_plus v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ac9ee1b442206b2e3804be4ec0fd2c4e82c23e7d800645292fed1ca0c587991 [INFO] running `Command { std: "docker" "start" "-a" "2ac9ee1b442206b2e3804be4ec0fd2c4e82c23e7d800645292fed1ca0c587991", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ac9ee1b442206b2e3804be4ec0fd2c4e82c23e7d800645292fed1ca0c587991", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ac9ee1b442206b2e3804be4ec0fd2c4e82c23e7d800645292fed1ca0c587991", kill_on_drop: false }` [INFO] [stdout] 2ac9ee1b442206b2e3804be4ec0fd2c4e82c23e7d800645292fed1ca0c587991 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43020f86111c5ffb90cb9ff24de7b629a8ff828f701a8f8abc1b32e0efc311cc [INFO] running `Command { std: "docker" "start" "-a" "43020f86111c5ffb90cb9ff24de7b629a8ff828f701a8f8abc1b32e0efc311cc", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `config` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `git2` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `log4rs` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `serde` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `structopt` dependency) [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling tari_features v1.0.0-rc.5 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling tari_common v1.0.0-rc.5 (/opt/rustwide/workdir) [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking dirs-next v1.0.2 [INFO] [stderr] Checking path-clean v0.1.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Compiling thiserror-impl-no-std v2.0.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling borsh-derive v1.5.7 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking thiserror-no-std v2.0.2 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking snafu v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tari_utilities v0.7.0 [INFO] [stderr] Compiling multihash-derive v0.8.1 [INFO] [stderr] Checking multihash v0.16.3 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking multiaddr v0.14.0 [INFO] [stderr] Checking tari-log4rs v1.2.0 [INFO] [stderr] Checking config v0.13.4 [INFO] [stderr] Checking tari_bulletproofs_plus v0.4.0 [INFO] [stderr] Checking tari_crypto v0.20.3 [INFO] [stdout] warning: unexpected `cfg` condition name: `tari_network_mainnet` [INFO] [stdout] --> src/configuration/network.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | #[cfg(tari_network_mainnet)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tari_network_mainnet)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tari_network_mainnet)");` 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: `tari_network_nextnet` [INFO] [stdout] --> src/configuration/network.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(tari_network_nextnet)] [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(tari_network_nextnet)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tari_network_nextnet)");` 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: `tari_network_mainnet` [INFO] [stdout] --> src/configuration/network.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(all(not(tari_network_mainnet), not(tari_network_nextnet)))] [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(tari_network_mainnet)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tari_network_mainnet)");` 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: `tari_network_nextnet` [INFO] [stdout] --> src/configuration/network.rs:93:46 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(all(not(tari_network_mainnet), not(tari_network_nextnet)))] [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(tari_network_nextnet)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tari_network_nextnet)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tari_test_utils` [INFO] [stdout] --> src/dir_utils.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | use tari_test_utils::random::string; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tari_test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tari_test_utils`, use `cargo add tari_test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tari_network_mainnet` [INFO] [stdout] --> src/configuration/network.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | #[cfg(tari_network_mainnet)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tari_network_mainnet)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tari_network_mainnet)");` 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: `tari_network_nextnet` [INFO] [stdout] --> src/configuration/network.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(tari_network_nextnet)] [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(tari_network_nextnet)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tari_network_nextnet)");` 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: `tari_network_mainnet` [INFO] [stdout] --> src/configuration/network.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(all(not(tari_network_mainnet), not(tari_network_nextnet)))] [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(tari_network_mainnet)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tari_network_mainnet)");` 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: `tari_network_nextnet` [INFO] [stdout] --> src/configuration/network.rs:93:46 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(all(not(tari_network_mainnet), not(tari_network_nextnet)))] [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(tari_network_nextnet)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tari_network_nextnet)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tari_common` (lib test) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "43020f86111c5ffb90cb9ff24de7b629a8ff828f701a8f8abc1b32e0efc311cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43020f86111c5ffb90cb9ff24de7b629a8ff828f701a8f8abc1b32e0efc311cc", kill_on_drop: false }` [INFO] [stdout] 43020f86111c5ffb90cb9ff24de7b629a8ff828f701a8f8abc1b32e0efc311cc