[INFO] fetching crate safe_network 0.58.13... [INFO] checking safe_network-0.58.13 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate safe_network 0.58.13 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate safe_network 0.58.13 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate safe_network 0.58.13 [INFO] tweaked toml for crates.io crate safe_network 0.58.13 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate safe_network 0.58.13 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate safe_network 0.58.13 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b85305f01f04002328c0dfd334316fc2a70fe93af6df672bcec728339afc641 [INFO] running `Command { std: "docker" "start" "-a" "1b85305f01f04002328c0dfd334316fc2a70fe93af6df672bcec728339afc641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b85305f01f04002328c0dfd334316fc2a70fe93af6df672bcec728339afc641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b85305f01f04002328c0dfd334316fc2a70fe93af6df672bcec728339afc641", kill_on_drop: false }` [INFO] [stdout] 1b85305f01f04002328c0dfd334316fc2a70fe93af6df672bcec728339afc641 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc795a87c90eb7261b0ec15c6641fb0bc0b4a09c79c8b5e1bbb45ed99da30227 [INFO] running `Command { std: "docker" "start" "-a" "cc795a87c90eb7261b0ec15c6641fb0bc0b4a09c79c8b5e1bbb45ed99da30227", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling rayon-core v1.9.2 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking block-padding v0.3.2 [INFO] [stderr] Compiling blst v0.3.7 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling rayon v1.5.2 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling semver v1.0.7 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking rustls-pemfile v0.2.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking alloc-no-stdlib v2.0.3 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking alloc-stdlib v0.2.1 [INFO] [stderr] Checking clap v2.33.4 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking cipher v0.4.3 [INFO] [stderr] Checking parking_lot_core v0.9.2 [INFO] [stderr] Compiling err-derive v0.3.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Checking wildmatch v1.1.0 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Checking ucd-trie v0.1.3 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Checking xmltree v0.10.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking yasna v0.4.0 [INFO] [stderr] Checking brotli-decompressor v2.3.2 [INFO] [stderr] Checking flate2 v1.0.23 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking pem v1.0.2 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking object v0.28.3 [INFO] [stderr] Compiling priority-queue v1.2.1 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking signature v1.5.0 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Checking rcgen v0.8.14 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking quickcheck v0.9.2 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking brotli v3.3.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rmp v0.8.11 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling zeroize_derive v1.1.1 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Compiling ff_derive v0.6.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.10 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking data-encoding-macro v0.1.12 [INFO] [stderr] Compiling custom_debug_derive v0.5.0 [INFO] [stderr] Checking ff v0.6.0 [INFO] [stderr] Checking group v0.6.0 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking pairing v0.16.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking semver-parser v0.10.2 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking aes v0.8.1 [INFO] [stderr] Checking webpki-roots v0.22.3 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking rustls-pemfile v0.3.0 [INFO] [stderr] Checking filetime v0.2.16 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking grep-matcher v0.1.5 [INFO] [stderr] Compiling self_update v0.28.0 [INFO] [stderr] Checking num_threads v0.1.5 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking base-x v0.2.8 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Compiling sysinfo v0.23.10 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking uluru v3.0.0 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking time v0.3.9 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking tar v0.4.38 [INFO] [stderr] Checking semver v0.11.0 [INFO] [stderr] Checking custom_debug v0.5.0 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Checking encoding_rs_io v0.1.7 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking memmap2 v0.3.1 [INFO] [stderr] Checking quick-xml v0.20.0 [INFO] [stderr] Checking bytecount v0.6.2 [INFO] [stderr] Checking strum v0.23.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking resource_proof v1.0.38 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking file-rotate v0.6.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Checking dirs-next v1.0.2 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Compiling ctor v0.1.22 [INFO] [stderr] Checking proptest v1.0.0 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking serde_json v1.0.79 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking xor_name v4.0.1 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking quinn-proto v0.8.2 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking blsttc v3.4.0 [INFO] [stderr] Checking ed25519 v1.4.1 [INFO] [stderr] Checking tracing-subscriber v0.3.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking dashmap v5.2.0 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking bls_dkg v0.9.2 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking secured_linked_list v0.5.0 [INFO] [stderr] Checking crdts v7.0.0 [INFO] [stderr] Checking rmp-serde v1.1.0 [INFO] [stderr] Checking grep-searcher v0.1.8 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking grep-printer v0.1.6 [INFO] [stderr] Checking grep-cli v0.1.6 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking tracing-appender v0.2.2 [INFO] [stderr] Checking grep-regex v0.1.9 [INFO] [stderr] Checking color-spantrace v0.2.0 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking attohttpc v0.16.3 [INFO] [stderr] Checking color-eyre v0.6.1 [INFO] [stderr] Checking grep v0.2.8 [INFO] [stderr] Checking sn_launch_tool v0.9.8 [INFO] [stderr] Checking tokio-util v0.7.1 [INFO] [stderr] Checking tokio-rustls v0.23.3 [INFO] [stderr] Checking quinn-udp v0.1.1 [INFO] [stderr] Checking backoff v0.3.0 [INFO] [stderr] Checking backoff v0.4.0 [INFO] [stderr] Checking self_encryption v0.27.4 [INFO] [stderr] Checking sn_dysfunction v0.1.1 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking quinn v0.8.2 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking hyper-rustls v0.23.0 [INFO] [stderr] Checking igd v0.12.0 [INFO] [stderr] Checking reqwest v0.11.10 [INFO] [stderr] Checking qp2p v0.28.5 [INFO] [stderr] Checking sn_interface v0.1.1 [INFO] [stderr] Checking safe_network v0.58.13 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::node::create_test_max_capacity_and_root_storage` [INFO] [stdout] --> src/node/api/tests/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | create_test_max_capacity_and_root_storage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `create_test_max_capacity_and_root_storage` in `node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sn_interface::network_knowledge::test_utils` [INFO] [stdout] --> src/node/api/tests/mod.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | use sn_interface::network_knowledge::test_utils::{prove, section_signed}; [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in `network_knowledge` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sn_interface-0.1.1/src/network_knowledge/mod.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(feature = "test-utils")] [INFO] [stdout] | ---------------------- the item is gated behind the `test-utils` feature [INFO] [stdout] 19 | pub use self::section_authority_provider::test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sn_interface::network_knowledge::test_utils` [INFO] [stdout] --> src/node/core/delivery_group.rs:173:42 [INFO] [stdout] | [INFO] [stdout] 173 | use sn_interface::network_knowledge::test_utils::section_signed; [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in `network_knowledge` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sn_interface-0.1.1/src/network_knowledge/mod.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(feature = "test-utils")] [INFO] [stdout] | ---------------------- the item is gated behind the `test-utils` feature [INFO] [stdout] 19 | pub use self::section_authority_provider::test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::node::create_test_max_capacity_and_root_storage` [INFO] [stdout] --> src/node/core/messaging/handling/anti_entropy.rs:494:34 [INFO] [stdout] | [INFO] [stdout] 494 | api::tests::create_comm, create_test_max_capacity_and_root_storage, MIN_ADULT_AGE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `create_test_max_capacity_and_root_storage` in `node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sn_interface::network_knowledge::test_utils` [INFO] [stdout] --> src/node/core/messaging/handling/anti_entropy.rs:496:42 [INFO] [stdout] | [INFO] [stdout] 496 | use sn_interface::network_knowledge::test_utils::section_signed; [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in `network_knowledge` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sn_interface-0.1.1/src/network_knowledge/mod.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(feature = "test-utils")] [INFO] [stdout] | ---------------------- the item is gated behind the `test-utils` feature [INFO] [stdout] 19 | pub use self::section_authority_provider::test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sn_interface::network_knowledge::test_utils` [INFO] [stdout] --> src/node/core/relocation.rs:168:42 [INFO] [stdout] | [INFO] [stdout] 168 | use sn_interface::network_knowledge::test_utils::section_signed; [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in `network_knowledge` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sn_interface-0.1.1/src/network_knowledge/mod.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(feature = "test-utils")] [INFO] [stdout] | ---------------------- the item is gated behind the `test-utils` feature [INFO] [stdout] 19 | pub use self::section_authority_provider::test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/cfg/config_handler.rs:419:36 [INFO] [stdout] | [INFO] [stdout] 419 | if error.kind() == std::io::ErrorKind::NotFound { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 419 - if error.kind() == std::io::ErrorKind::NotFound { [INFO] [stdout] 419 + if error.kind() == io::ErrorKind::NotFound { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/cfg/config_handler.rs:485:32 [INFO] [stdout] | [INFO] [stdout] 485 | if error.kind() == std::io::ErrorKind::NotFound { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 485 - if error.kind() == std::io::ErrorKind::NotFound { [INFO] [stdout] 485 + if error.kind() == io::ErrorKind::NotFound { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/api/dispatcher.rs:118:32 [INFO] [stdout] | [INFO] [stdout] 118 | let mut interval = tokio::time::interval(PROBE_INTERVAL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 118 - let mut interval = tokio::time::interval(PROBE_INTERVAL); [INFO] [stdout] 118 + let mut interval = time::interval(PROBE_INTERVAL); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/api/dispatcher.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | let mut interval = tokio::time::interval(LINK_CLEANUP_INTERVAL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 148 - let mut interval = tokio::time::interval(LINK_CLEANUP_INTERVAL); [INFO] [stdout] 148 + let mut interval = time::interval(LINK_CLEANUP_INTERVAL); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/api/dispatcher.rs:172:32 [INFO] [stdout] | [INFO] [stdout] 172 | let mut interval = tokio::time::interval(DYSFUNCTION_CHECK_INTERVAL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 172 - let mut interval = tokio::time::interval(DYSFUNCTION_CHECK_INTERVAL); [INFO] [stdout] 172 + let mut interval = time::interval(DYSFUNCTION_CHECK_INTERVAL); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/api/dispatcher.rs:472:28 [INFO] [stdout] | [INFO] [stdout] 472 | let mut interval = tokio::time::interval(throttle_duration); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 472 - let mut interval = tokio::time::interval(throttle_duration); [INFO] [stdout] 472 + let mut interval = time::interval(throttle_duration); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/core/data/storage/registers.rs:294:30 [INFO] [stdout] | [INFO] [stdout] 294 | let required_space = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 294 - let required_space = std::mem::size_of::(); [INFO] [stdout] 294 + let required_space = size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/core/data/storage/registers.rs:303:30 [INFO] [stdout] | [INFO] [stdout] 303 | let required_space = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 303 - let required_space = std::mem::size_of::(); [INFO] [stdout] 303 + let required_space = size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/core/data/storage/registers.rs:609:27 [INFO] [stdout] | [INFO] [stdout] 609 | let regcmd_size = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 609 - let regcmd_size = std::mem::size_of::(); [INFO] [stdout] 609 + let regcmd_size = size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/core/messaging/handling/mod.rs:820:31 [INFO] [stdout] | [INFO] [stdout] 820 | let dst = sn_interface::messaging::DstLocation::Node { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 820 - let dst = sn_interface::messaging::DstLocation::Node { [INFO] [stdout] 820 + let dst = DstLocation::Node { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/core/messaging/handling/mod.rs:887:34 [INFO] [stdout] | [INFO] [stdout] 887 | ... dst: sn_interface::messaging::DstLocation::Node { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 887 - dst: sn_interface::messaging::DstLocation::Node { [INFO] [stdout] 887 + dst: DstLocation::Node { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/core/messaging/handling/mod.rs:1108:22 [INFO] [stdout] | [INFO] [stdout] 1108 | .map_err(crate::node::Error::from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1108 - .map_err(crate::node::Error::from) [INFO] [stdout] 1108 + .map_err(Error::from) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/logging/mod.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | const LOG_INTERVAL: Duration = std::time::Duration::from_secs(60); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 20 - const LOG_INTERVAL: Duration = std::time::Duration::from_secs(60); [INFO] [stdout] 20 + const LOG_INTERVAL: Duration = Duration::from_secs(60); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test_utils` in `network_knowledge` [INFO] [stdout] --> src/node/core/proposal.rs:85:46 [INFO] [stdout] | [INFO] [stdout] 85 | sn_interface::network_knowledge::test_utils::section_signed(&new_sk, section_auth)?; [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in `network_knowledge` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sn_interface-0.1.1/src/network_knowledge/mod.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(feature = "test-utils")] [INFO] [stdout] | ---------------------- the item is gated behind the `test-utils` feature [INFO] [stdout] 19 | pub use self::section_authority_provider::test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SecretKeySet` [INFO] [stdout] --> src/node/api/tests/mod.rs:370:18 [INFO] [stdout] | [INFO] [stdout] 370 | let sk_set = SecretKeySet::random(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SecretKeySet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use bls::SecretKeySet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SecretKeySet` in this scope [INFO] [stdout] --> src/node/api/tests/mod.rs:468:14 [INFO] [stdout] | [INFO] [stdout] 468 | sk_set: &SecretKeySet, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use bls::SecretKeySet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SecretKeySet` [INFO] [stdout] --> src/node/api/tests/mod.rs:807:19 [INFO] [stdout] | [INFO] [stdout] 807 | let sk_set2 = SecretKeySet::random(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SecretKeySet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use bls::SecretKeySet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SecretKeySet` [INFO] [stdout] --> src/node/api/tests/mod.rs:1139:19 [INFO] [stdout] | [INFO] [stdout] 1139 | let sk_set0 = SecretKeySet::random(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SecretKeySet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use bls::SecretKeySet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SecretKeySet` [INFO] [stdout] --> src/node/api/tests/mod.rs:1158:19 [INFO] [stdout] | [INFO] [stdout] 1158 | let sk_set1 = SecretKeySet::random(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SecretKeySet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use bls::SecretKeySet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SecretKeySet` [INFO] [stdout] --> src/node/api/tests/mod.rs:1282:21 [INFO] [stdout] | [INFO] [stdout] 1282 | let sk_set_v0 = SecretKeySet::random(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SecretKeySet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use bls::SecretKeySet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SecretKeySet` [INFO] [stdout] --> src/node/api/tests/mod.rs:1309:24 [INFO] [stdout] | [INFO] [stdout] 1309 | let sk_set_v1_p0 = SecretKeySet::random(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SecretKeySet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use bls::SecretKeySet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SecretKeySet` [INFO] [stdout] --> src/node/api/tests/mod.rs:1310:24 [INFO] [stdout] | [INFO] [stdout] 1310 | let sk_set_v1_p1 = SecretKeySet::random(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SecretKeySet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use bls::SecretKeySet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SecretKeySet` in this scope [INFO] [stdout] --> src/node/api/tests/mod.rs:1414:71 [INFO] [stdout] | [INFO] [stdout] 1414 | fn create_section_auth() -> (SectionAuthorityProvider, Vec, SecretKeySet) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use bls::SecretKeySet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SecretKeySet` in this scope [INFO] [stdout] --> src/node/api/tests/mod.rs:1429:14 [INFO] [stdout] | [INFO] [stdout] 1429 | sk_set: &SecretKeySet, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use bls::SecretKeySet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeState` [INFO] [stdout] --> src/node/core/bootstrap/join.rs:732:49 [INFO] [stdout] | [INFO] [stdout] 732 | let node_state = section_signed(sk, NodeState::joined(peer, None))?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `NodeState` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::node::core::relocation::tests::NodeState` exists but is inaccessible [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 625 + use sn_interface::messaging::system::NodeState; [INFO] [stdout] | [INFO] [stdout] 625 + use sn_interface::network_knowledge::NodeState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MIN_ADULT_AGE` in this scope [INFO] [stdout] --> src/node/core/delivery_group.rs:217:47 [INFO] [stdout] | [INFO] [stdout] 217 | let name = ed25519::gen_name_with_age(MIN_ADULT_AGE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 172 + use crate::node::MIN_ADULT_AGE; [INFO] [stdout] | [INFO] [stdout] 172 + use sn_interface::network_knowledge::MIN_ADULT_AGE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeState` [INFO] [stdout] --> src/node/core/delivery_group.rs:220:26 [INFO] [stdout] | [INFO] [stdout] 220 | let node_state = NodeState::joined(peer, None); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `NodeState` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::node::core::relocation::tests::NodeState` exists but is inaccessible [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 172 + use sn_interface::messaging::system::NodeState; [INFO] [stdout] | [INFO] [stdout] 172 + use sn_interface::network_knowledge::NodeState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeState` [INFO] [stdout] --> src/node/core/delivery_group.rs:570:30 [INFO] [stdout] | [INFO] [stdout] 570 | let node_state = NodeState::joined(peer, None); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `NodeState` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::node::core::relocation::tests::NodeState` exists but is inaccessible [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 172 + use sn_interface::messaging::system::NodeState; [INFO] [stdout] | [INFO] [stdout] 172 + use sn_interface::network_knowledge::NodeState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SectionAuthorityProvider` in this scope [INFO] [stdout] --> src/node/core/delivery_group.rs:626:41 [INFO] [stdout] | [INFO] [stdout] 626 | fn choose_elder_name(section_auth: &SectionAuthorityProvider) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::node::dkg::session::tests::SectionAuthorityProvider` exists but is inaccessible [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 172 + use sn_interface::messaging::SectionAuthorityProvider; [INFO] [stdout] | [INFO] [stdout] 172 + use sn_interface::network_knowledge::SectionAuthorityProvider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SecretKeySet` [INFO] [stdout] --> src/node/core/relocation.rs:206:22 [INFO] [stdout] | [INFO] [stdout] 206 | let sk_set = SecretKeySet::random(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SecretKeySet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 165 + use bls::SecretKeySet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MIN_ADULT_AGE` in this scope [INFO] [stdout] --> src/node/dkg/session.rs:507:72 [INFO] [stdout] | [INFO] [stdout] 507 | ed25519::gen_keypair(&Prefix::default().range_inclusive(), MIN_ADULT_AGE), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 481 + use crate::node::MIN_ADULT_AGE; [INFO] [stdout] | [INFO] [stdout] 481 + use sn_interface::network_knowledge::MIN_ADULT_AGE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/client/client_api/file_apis.rs:639:21 [INFO] [stdout] | [INFO] [stdout] 639 | let delay = tokio::time::Duration::from_secs(network_assert_delay); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 639 - let delay = tokio::time::Duration::from_secs(network_assert_delay); [INFO] [stdout] 639 + let delay = Duration::from_secs(network_assert_delay); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/client/client_api/register_apis.rs:310:23 [INFO] [stdout] | [INFO] [stdout] 310 | let one_sec = tokio::time::Duration::from_secs(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 310 - let one_sec = tokio::time::Duration::from_secs(1); [INFO] [stdout] 310 + let one_sec = Duration::from_secs(1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/client/client_api/register_apis.rs:364:21 [INFO] [stdout] | [INFO] [stdout] 364 | let delay = tokio::time::Duration::from_secs(network_assert_delay); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 364 - let delay = tokio::time::Duration::from_secs(network_assert_delay); [INFO] [stdout] 364 + let delay = Duration::from_secs(network_assert_delay); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/client/client_api/register_apis.rs:442:21 [INFO] [stdout] | [INFO] [stdout] 442 | let delay = tokio::time::Duration::from_secs(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 442 - let delay = tokio::time::Duration::from_secs(1); [INFO] [stdout] 442 + let delay = Duration::from_secs(1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/client/client_api/register_apis.rs:487:21 [INFO] [stdout] | [INFO] [stdout] 487 | let delay = tokio::time::Duration::from_secs(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 487 - let delay = tokio::time::Duration::from_secs(1); [INFO] [stdout] 487 + let delay = Duration::from_secs(1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/client/client_api/register_apis.rs:545:21 [INFO] [stdout] | [INFO] [stdout] 545 | let delay = tokio::time::Duration::from_secs(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 545 - let delay = tokio::time::Duration::from_secs(1); [INFO] [stdout] 545 + let delay = Duration::from_secs(1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/client/client_api/register_apis.rs:633:21 [INFO] [stdout] | [INFO] [stdout] 633 | let delay = tokio::time::Duration::from_secs(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 633 - let delay = tokio::time::Duration::from_secs(1); [INFO] [stdout] 633 + let delay = Duration::from_secs(1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/client/client_api/register_apis.rs:711:21 [INFO] [stdout] | [INFO] [stdout] 711 | let delay = tokio::time::Duration::from_secs(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 711 - let delay = tokio::time::Duration::from_secs(1); [INFO] [stdout] 711 + let delay = Duration::from_secs(1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/client/client_api/register_apis.rs:727:32 [INFO] [stdout] | [INFO] [stdout] 727 | tokio::time::sleep(tokio::time::Duration::from_millis(200)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 727 - tokio::time::sleep(tokio::time::Duration::from_millis(200)).await; [INFO] [stdout] 727 + tokio::time::sleep(Duration::from_millis(200)).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/client/client_api/register_apis.rs:758:21 [INFO] [stdout] | [INFO] [stdout] 758 | let delay = tokio::time::Duration::from_secs(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 758 - let delay = tokio::time::Duration::from_secs(1); [INFO] [stdout] 758 + let delay = Duration::from_secs(1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/client/client_api/register_apis.rs:799:28 [INFO] [stdout] | [INFO] [stdout] 799 | tokio::time::sleep(tokio::time::Duration::from_secs(1)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 799 - tokio::time::sleep(tokio::time::Duration::from_secs(1)).await; [INFO] [stdout] 799 + tokio::time::sleep(Duration::from_secs(1)).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/client/client_api/mod.rs:337:28 [INFO] [stdout] | [INFO] [stdout] 337 | tokio::time::sleep(tokio::time::Duration::from_secs(40)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 337 - tokio::time::sleep(tokio::time::Duration::from_secs(40)).await; [INFO] [stdout] 337 + tokio::time::sleep(Duration::from_secs(40)).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/client/utils/test_utils/mod.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | tokio::time::sleep(tokio::time::Duration::from_secs(delay as u64)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 34 - tokio::time::sleep(tokio::time::Duration::from_secs(delay as u64)).await; [INFO] [stdout] 34 + tokio::time::sleep(Duration::from_secs(delay as u64)).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/client/utils/test_utils/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | tokio::time::Duration::from_secs(5), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 37 - tokio::time::Duration::from_secs(5), [INFO] [stdout] 37 + Duration::from_secs(5), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/client/utils/test_utils/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | tokio::time::Duration::from_secs(180), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 38 - tokio::time::Duration::from_secs(180), [INFO] [stdout] 38 + Duration::from_secs(180), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/cfg/config_handler.rs:419:36 [INFO] [stdout] | [INFO] [stdout] 419 | if error.kind() == std::io::ErrorKind::NotFound { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 419 - if error.kind() == std::io::ErrorKind::NotFound { [INFO] [stdout] 419 + if error.kind() == io::ErrorKind::NotFound { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/cfg/config_handler.rs:485:32 [INFO] [stdout] | [INFO] [stdout] 485 | if error.kind() == std::io::ErrorKind::NotFound { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 485 - if error.kind() == std::io::ErrorKind::NotFound { [INFO] [stdout] 485 + if error.kind() == io::ErrorKind::NotFound { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/cfg/config_handler.rs:525:16 [INFO] [stdout] | [INFO] [stdout] 525 | assert_eq!(std::mem::size_of::(), expected_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 525 - assert_eq!(std::mem::size_of::(), expected_size); [INFO] [stdout] 525 + assert_eq!(size_of::(), expected_size); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/api/dispatcher.rs:118:32 [INFO] [stdout] | [INFO] [stdout] 118 | let mut interval = tokio::time::interval(PROBE_INTERVAL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 118 - let mut interval = tokio::time::interval(PROBE_INTERVAL); [INFO] [stdout] 118 + let mut interval = time::interval(PROBE_INTERVAL); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/api/dispatcher.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | let mut interval = tokio::time::interval(LINK_CLEANUP_INTERVAL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 148 - let mut interval = tokio::time::interval(LINK_CLEANUP_INTERVAL); [INFO] [stdout] 148 + let mut interval = time::interval(LINK_CLEANUP_INTERVAL); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/api/dispatcher.rs:172:32 [INFO] [stdout] | [INFO] [stdout] 172 | let mut interval = tokio::time::interval(DYSFUNCTION_CHECK_INTERVAL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 172 - let mut interval = tokio::time::interval(DYSFUNCTION_CHECK_INTERVAL); [INFO] [stdout] 172 + let mut interval = time::interval(DYSFUNCTION_CHECK_INTERVAL); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/api/dispatcher.rs:472:28 [INFO] [stdout] | [INFO] [stdout] 472 | let mut interval = tokio::time::interval(throttle_duration); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 472 - let mut interval = tokio::time::interval(throttle_duration); [INFO] [stdout] 472 + let mut interval = time::interval(throttle_duration); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/core/data/storage/registers.rs:294:30 [INFO] [stdout] | [INFO] [stdout] 294 | let required_space = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 294 - let required_space = std::mem::size_of::(); [INFO] [stdout] 294 + let required_space = size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/core/data/storage/registers.rs:303:30 [INFO] [stdout] | [INFO] [stdout] 303 | let required_space = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 303 - let required_space = std::mem::size_of::(); [INFO] [stdout] 303 + let required_space = size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/core/data/storage/registers.rs:609:27 [INFO] [stdout] | [INFO] [stdout] 609 | let regcmd_size = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 609 - let regcmd_size = std::mem::size_of::(); [INFO] [stdout] 609 + let regcmd_size = size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/core/messaging/handling/anti_entropy.rs:585:24 [INFO] [stdout] | [INFO] [stdout] 585 | let other_sk = bls::SecretKey::random(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 585 - let other_sk = bls::SecretKey::random(); [INFO] [stdout] 585 + let other_sk = SecretKey::random(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/core/messaging/handling/mod.rs:820:31 [INFO] [stdout] | [INFO] [stdout] 820 | let dst = sn_interface::messaging::DstLocation::Node { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 820 - let dst = sn_interface::messaging::DstLocation::Node { [INFO] [stdout] 820 + let dst = DstLocation::Node { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/core/messaging/handling/mod.rs:887:34 [INFO] [stdout] | [INFO] [stdout] 887 | ... dst: sn_interface::messaging::DstLocation::Node { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 887 - dst: sn_interface::messaging::DstLocation::Node { [INFO] [stdout] 887 + dst: DstLocation::Node { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/core/messaging/handling/mod.rs:1108:22 [INFO] [stdout] | [INFO] [stdout] 1108 | .map_err(crate::node::Error::from) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1108 - .map_err(crate::node::Error::from) [INFO] [stdout] 1108 + .map_err(Error::from) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/node/logging/mod.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | const LOG_INTERVAL: Duration = std::time::Duration::from_secs(60); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 20 - const LOG_INTERVAL: Duration = std::time::Duration::from_secs(60); [INFO] [stdout] 20 + const LOG_INTERVAL: Duration = Duration::from_secs(60); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_section_authority_provider` in this scope [INFO] [stdout] --> src/node/api/tests/mod.rs:547:9 [INFO] [stdout] | [INFO] [stdout] 547 | gen_section_authority_provider(prefix, elder_count()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `left` found for struct `sn_interface::network_knowledge::NodeState` in the current scope [INFO] [stdout] --> src/node/api/tests/mod.rs:552:33 [INFO] [stdout] | [INFO] [stdout] 552 | let node_state = NodeState::left(peer, None); [INFO] [stdout] | ^^^^ function or associated item not found in `sn_interface::network_knowledge::NodeState` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `sn_interface::network_knowledge::NodeState`, consider using `sn_interface::network_knowledge::NodeState::joined` which returns `sn_interface::network_knowledge::NodeState` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sn_interface-0.1.1/src/network_knowledge/node_state.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn joined(peer: Peer, previous_name: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `le` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/cmp.rs:1405:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_section_authority_provider` in this scope [INFO] [stdout] --> src/node/api/tests/mod.rs:974:45 [INFO] [stdout] | [INFO] [stdout] 974 | let (section_auth, mut nodes, sk_set) = gen_section_authority_provider(prefix, elder_count()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_section_authority_provider` in this scope [INFO] [stdout] --> src/node/core/delivery_group.rs:558:13 [INFO] [stdout] | [INFO] [stdout] 558 | gen_section_authority_provider(prefix0, elder_count()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_section_authority_provider` in this scope [INFO] [stdout] --> src/node/core/delivery_group.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | gen_section_authority_provider(prefix1, elder_count()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_section_authority_provider` in this scope [INFO] [stdout] --> src/node/core/delivery_group.rs:611:13 [INFO] [stdout] | [INFO] [stdout] 611 | gen_section_authority_provider(prefix0, elder_count()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_section_authority_provider` in this scope [INFO] [stdout] --> src/node/core/messaging/handling/anti_entropy.rs:754:17 [INFO] [stdout] | [INFO] [stdout] 754 | gen_section_authority_provider(prefix0, elder_count()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_section_authority_provider` in this scope [INFO] [stdout] --> src/node/core/messaging/handling/anti_entropy.rs:797:17 [INFO] [stdout] | [INFO] [stdout] 797 | gen_section_authority_provider(prefix1, elder_count()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `arbitrary_node` in this scope [INFO] [stdout] --> src/node/dkg/session.rs:663:35 [INFO] [stdout] | [INFO] [stdout] 663 | proptest::collection::vec(arbitrary_node(), count).prop_filter("non-unique keys", |nodes| { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_section_authority_provider` in this scope [INFO] [stdout] --> src/node/api/tests/mod.rs:74:45 [INFO] [stdout] | [INFO] [stdout] 74 | let (section_auth, mut nodes, sk_set) = gen_section_authority_provider(prefix1, elder_count()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_section_authority_provider` in this scope [INFO] [stdout] --> src/node/api/tests/mod.rs:155:45 [INFO] [stdout] | [INFO] [stdout] 155 | let (section_auth, mut nodes, sk_set) = gen_section_authority_provider(prefix1, elder_count()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_addr` in this scope [INFO] [stdout] --> src/node/api/tests/mod.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | gen_addr(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_addr` in this scope [INFO] [stdout] --> src/node/api/tests/mod.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | gen_addr(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `relocated` found for struct `sn_interface::network_knowledge::NodeState` in the current scope [INFO] [stdout] --> src/node/api/tests/mod.rs:277:33 [INFO] [stdout] | [INFO] [stdout] 277 | let node_state = NodeState::relocated( [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `sn_interface::network_knowledge::NodeState` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `sn_interface::network_knowledge::NodeState`, consider using `sn_interface::network_knowledge::NodeState::joined` which returns `sn_interface::network_knowledge::NodeState` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sn_interface-0.1.1/src/network_knowledge/node_state.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn joined(peer: Peer, previous_name: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `relocate` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sn_interface-0.1.1/src/network_knowledge/node_state.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn relocate(self, relocate_details: RelocateDetails) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_section_authority_provider` in this scope [INFO] [stdout] --> src/node/api/tests/mod.rs:339:45 [INFO] [stdout] | [INFO] [stdout] 339 | let (section_auth, mut nodes, sk_set) = gen_section_authority_provider(prefix, elder_count()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_sorted_nodes` in this scope [INFO] [stdout] --> src/node/api/tests/mod.rs:374:29 [INFO] [stdout] | [INFO] [stdout] 374 | let mut nodes: Vec<_> = gen_sorted_nodes(&Prefix::default(), elder_count(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `left` found for struct `sn_interface::network_knowledge::NodeState` in the current scope [INFO] [stdout] --> src/node/api/tests/mod.rs:641:33 [INFO] [stdout] | [INFO] [stdout] 641 | let node_state = NodeState::left(existing_peer, None); [INFO] [stdout] | ^^^^ function or associated item not found in `sn_interface::network_knowledge::NodeState` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `sn_interface::network_knowledge::NodeState`, consider using `sn_interface::network_knowledge::NodeState::joined` which returns `sn_interface::network_knowledge::NodeState` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sn_interface-0.1.1/src/network_knowledge/node_state.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn joined(peer: Peer, previous_name: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `le` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/cmp.rs:1405:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyed_signed` in this scope [INFO] [stdout] --> src/node/api/tests/mod.rs:643:15 [INFO] [stdout] | [INFO] [stdout] 643 | let sig = keyed_signed(sk_set.secret_key(), &proposal.as_signable_bytes()?); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyed_signed` in this scope [INFO] [stdout] --> src/node/api/tests/mod.rs:699:15 [INFO] [stdout] | [INFO] [stdout] 699 | let sig = keyed_signed(sk_set.secret_key(), &proposal.as_signable_bytes()?); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_addr` in this scope [INFO] [stdout] --> src/node/api/tests/mod.rs:1393:21 [INFO] [stdout] | [INFO] [stdout] 1393 | Peer::new(name, gen_addr()) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_addr` in this scope [INFO] [stdout] --> src/node/api/tests/mod.rs:1398:44 [INFO] [stdout] | [INFO] [stdout] 1398 | Peer::new(prefix.substituted_in(name), gen_addr()) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_addr` in this scope [INFO] [stdout] --> src/node/api/tests/mod.rs:1404:9 [INFO] [stdout] | [INFO] [stdout] 1404 | gen_addr(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_section_authority_provider` in this scope [INFO] [stdout] --> src/node/api/tests/mod.rs:1416:9 [INFO] [stdout] | [INFO] [stdout] 1416 | gen_section_authority_provider(Prefix::default(), elder_count()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_section_authority_provider` in this scope [INFO] [stdout] --> src/node/core/bootstrap/join.rs:655:13 [INFO] [stdout] | [INFO] [stdout] 655 | gen_section_authority_provider(Prefix::default(), elder_count()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_addr` in this scope [INFO] [stdout] --> src/node/core/bootstrap/join.rs:666:13 [INFO] [stdout] | [INFO] [stdout] 666 | gen_addr(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `section_signed` in this scope [INFO] [stdout] --> src/node/core/bootstrap/join.rs:702:30 [INFO] [stdout] | [INFO] [stdout] 702 | let signed_sap = section_signed(sk, section_auth.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `section_signed` in this scope [INFO] [stdout] --> src/node/core/bootstrap/join.rs:731:32 [INFO] [stdout] | [INFO] [stdout] 731 | let section_auth = section_signed(sk, section_auth.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `section_signed` in this scope [INFO] [stdout] --> src/node/core/bootstrap/join.rs:732:30 [INFO] [stdout] | [INFO] [stdout] 732 | let node_state = section_signed(sk, NodeState::joined(peer, None))?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_section_authority_provider` in this scope [INFO] [stdout] --> src/node/core/bootstrap/join.rs:765:13 [INFO] [stdout] | [INFO] [stdout] 765 | gen_section_authority_provider(Prefix::default(), elder_count()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_addr` in this scope [INFO] [stdout] --> src/node/core/bootstrap/join.rs:771:13 [INFO] [stdout] | [INFO] [stdout] 771 | gen_addr(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_addr` in this scope [INFO] [stdout] --> src/node/core/bootstrap/join.rs:801:53 [INFO] [stdout] | [INFO] [stdout] 801 | .map(|_| (xor_name::rand::random(), gen_addr())) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_section_authority_provider` in this scope [INFO] [stdout] --> src/node/core/bootstrap/join.rs:805:17 [INFO] [stdout] | [INFO] [stdout] 805 | gen_section_authority_provider(Prefix::default(), elder_count()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_section_authority_provider` in this scope [INFO] [stdout] --> src/node/core/bootstrap/join.rs:868:13 [INFO] [stdout] | [INFO] [stdout] 868 | gen_section_authority_provider(Prefix::default(), elder_count()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_addr` in this scope [INFO] [stdout] --> src/node/core/bootstrap/join.rs:873:13 [INFO] [stdout] | [INFO] [stdout] 873 | gen_addr(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_section_authority_provider` in this scope [INFO] [stdout] --> src/node/core/bootstrap/join.rs:894:17 [INFO] [stdout] | [INFO] [stdout] 894 | gen_section_authority_provider(Prefix::default(), elder_count()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_addr` in this scope [INFO] [stdout] --> src/node/core/bootstrap/join.rs:912:53 [INFO] [stdout] | [INFO] [stdout] 912 | .map(|_| (xor_name::rand::random(), gen_addr())) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_section_authority_provider` in this scope [INFO] [stdout] --> src/node/core/bootstrap/join.rs:955:13 [INFO] [stdout] | [INFO] [stdout] 955 | gen_section_authority_provider(Prefix::default(), elder_count()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_addr` in this scope [INFO] [stdout] --> src/node/core/bootstrap/join.rs:960:13 [INFO] [stdout] | [INFO] [stdout] 960 | gen_addr(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_addr` in this scope [INFO] [stdout] --> src/node/core/bootstrap/join.rs:1013:13 [INFO] [stdout] | [INFO] [stdout] 1013 | gen_addr(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_addr` in this scope [INFO] [stdout] --> src/node/core/bootstrap/join.rs:1018:13 [INFO] [stdout] | [INFO] [stdout] 1018 | gen_addr(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_section_authority_provider` in this scope [INFO] [stdout] --> src/node/core/bootstrap/join.rs:1032:41 [INFO] [stdout] | [INFO] [stdout] 1032 | let (section_auth, _, sk_set) = gen_section_authority_provider(good_prefix, elder_count()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_addr` in this scope [INFO] [stdout] --> src/node/core/bootstrap/join.rs:1046:21 [INFO] [stdout] | [INFO] [stdout] 1046 | gen_addr(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `section_signed` in this scope [INFO] [stdout] --> src/node/core/bootstrap/join.rs:1063:30 [INFO] [stdout] | [INFO] [stdout] 1063 | let signed_sap = section_signed(sk_set.secret_key(), section_auth.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_section_authority_provider` in this scope [INFO] [stdout] --> src/node/core/bootstrap/join.rs:1069:35 [INFO] [stdout] | [INFO] [stdout] 1069 | section_auth: gen_section_authority_provider(bad_prefix, elder_count()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_addr` in this scope [INFO] [stdout] --> src/node/core/delivery_group.rs:219:40 [INFO] [stdout] | [INFO] [stdout] 219 | let peer = Peer::new(dst_name, gen_addr()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_addr` in this scope [INFO] [stdout] --> src/node/core/messaging/handling/anti_entropy.rs:820:17 [INFO] [stdout] | [INFO] [stdout] 820 | gen_addr(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_section_authority_provider` in this scope [INFO] [stdout] --> src/node/core/proposal.rs:77:36 [INFO] [stdout] | [INFO] [stdout] 77 | let (section_auth, _, _) = gen_section_authority_provider(Prefix::default(), 4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_addr` in this scope [INFO] [stdout] --> src/node/dkg/session.rs:508:13 [INFO] [stdout] | [INFO] [stdout] 508 | gen_addr(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Subdir` is never used [INFO] [stdout] --> src/dbs/mod.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) trait Subdir { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/node/api/cmds.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Clone)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_Cmd` [INFO] [stdout] 29 | pub(crate) enum Cmd { [INFO] [stdout] | --- `Cmd` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/node/api/event.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_Event` [INFO] [stdout] 56 | pub enum Event { [INFO] [stdout] | ----- `Event` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/node/core/comm/peer_session.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | #[derive(Clone, Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_MsgThroughput` [INFO] [stdout] 197 | struct MsgThroughput { [INFO] [stdout] | ------------- `MsgThroughput` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/node/core/comm/peer_session.rs:224:10 [INFO] [stdout] | [INFO] [stdout] 224 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_SendJob` [INFO] [stdout] 225 | pub(crate) struct SendJob { [INFO] [stdout] | ------- `SendJob` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/node/core/comm/peer_session.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 251 | #[derive(Clone, Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_SendStatus` [INFO] [stdout] 252 | pub(crate) enum SendStatus { [INFO] [stdout] | ---------- `SendStatus` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/node/core/comm/peer_session.rs:282:10 [INFO] [stdout] | [INFO] [stdout] 282 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_StatusReporting` [INFO] [stdout] 283 | struct StatusReporting { [INFO] [stdout] | --------------- `StatusReporting` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/bin/sn_node.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | std::io::stdout().write_all(&buf)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/bin/sn_node.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 152 - std::io::stdout().write_all(&buf)?; [INFO] [stdout] 152 + io::stdout().write_all(&buf)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/bin/sn_node.rs:349:39 [INFO] [stdout] | [INFO] [stdout] 349 | fn update() -> Result> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 349 - fn update() -> Result> { [INFO] [stdout] 349 + fn update() -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/bin/sn_node.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | std::io::stdout().write_all(&buf)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/bin/sn_node.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 152 - std::io::stdout().write_all(&buf)?; [INFO] [stdout] 152 + io::stdout().write_all(&buf)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/bin/sn_node.rs:349:39 [INFO] [stdout] | [INFO] [stdout] 349 | fn update() -> Result> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 349 - fn update() -> Result> { [INFO] [stdout] 349 + fn update() -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `sleep` [INFO] [stdout] --> examples/put_get.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::time::{sleep, Duration, Instant}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> examples/put_get.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing::{debug, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `put_get` [INFO] [stdout] --> examples/put_get.rs:188:2 [INFO] [stdout] | [INFO] [stdout] 188 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/put_get.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_network_conn_info` in this scope [INFO] [stdout] --> examples/put_get.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | read_network_conn_info().map_err(|_e| Error::NoNetworkKnowledge)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> examples/put_get.rs:20:47 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(feature = "test-utils")] [INFO] [stdout] | ---------------------- the item is gated behind the `test-utils` feature [INFO] [stdout] 20 | use safe_network::{client::utils::test_utils::read_network_conn_info, init_test_logger}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `safe_network` (example "put_get") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `RollingWriter` is never constructed [INFO] [stdout] --> src/bin/sn_node.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | struct RollingWriter<'a>(RwLockReadGuard<'a, File>); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RollingWriter` is never constructed [INFO] [stdout] --> src/bin/sn_node.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | struct RollingWriter<'a>(RwLockReadGuard<'a, File>); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `safe_network` (lib test) due to 72 previous errors; 30 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cc795a87c90eb7261b0ec15c6641fb0bc0b4a09c79c8b5e1bbb45ed99da30227", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc795a87c90eb7261b0ec15c6641fb0bc0b4a09c79c8b5e1bbb45ed99da30227", kill_on_drop: false }` [INFO] [stdout] cc795a87c90eb7261b0ec15c6641fb0bc0b4a09c79c8b5e1bbb45ed99da30227