[INFO] fetching crate safe_network 0.58.13... [INFO] testing safe_network-0.58.13 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate safe_network 0.58.13 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate safe_network 0.58.13 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded uluru v3.0.0 [INFO] [stderr] Downloaded tracing-attributes v0.1.20 [INFO] [stderr] Downloaded self_update v0.28.0 [INFO] [stderr] Downloaded secured_linked_list v0.5.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Downloaded xattr v0.2.2 [INFO] [stderr] Downloaded tokio-rustls v0.23.3 [INFO] [stderr] Downloaded tracing-subscriber v0.3.11 [INFO] [stderr] Downloaded cargo-husky v1.5.0 [INFO] [stderr] Downloaded file-rotate v0.6.0 [INFO] [stderr] Downloaded data-encoding-macro-internal v0.1.10 [INFO] [stderr] Downloaded async-stream v0.3.3 [INFO] [stderr] Downloaded prost v0.10.1 [INFO] [stderr] Downloaded tonic v0.7.1 [INFO] [stderr] Downloaded tower v0.4.12 [INFO] [stderr] Downloaded quickcheck v0.9.2 [INFO] [stderr] Downloaded ed25519 v1.4.1 [INFO] [stderr] Downloaded webpki-roots v0.22.3 [INFO] [stderr] Downloaded pin-project-internal v1.0.10 [INFO] [stderr] Downloaded rustls v0.20.4 [INFO] [stderr] Downloaded hdrhistogram v7.5.0 [INFO] [stderr] Downloaded rayon-core v1.9.2 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.34.0 [INFO] [stderr] Downloaded object v0.28.3 [INFO] [stderr] Downloaded brotli v3.3.4 [INFO] [stderr] Downloaded csv v1.1.6 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.34.0 [INFO] [stderr] Downloaded crossbeam-channel v0.5.4 [INFO] [stderr] Downloaded windows_i686_gnu v0.34.0 [INFO] [stderr] Downloaded priority-queue v1.2.1 [INFO] [stderr] Downloaded httparse v1.7.0 [INFO] [stderr] Downloaded xmltree v0.10.3 [INFO] [stderr] Downloaded igd v0.12.0 [INFO] [stderr] Downloaded quinn-udp v0.1.1 [INFO] [stderr] Downloaded pem v1.0.2 [INFO] [stderr] Downloaded backtrace v0.3.65 [INFO] [stderr] Downloaded owo-colors v3.3.0 [INFO] [stderr] Downloaded custom_debug v0.5.0 [INFO] [stderr] Downloaded data-encoding-macro v0.1.12 [INFO] [stderr] Downloaded bit-set v0.5.2 [INFO] [stderr] Downloaded windows-sys v0.34.0 [INFO] [stderr] Downloaded js-sys v0.3.57 [INFO] [stderr] Downloaded rayon v1.5.2 [INFO] [stderr] Downloaded color-spantrace v0.2.0 [INFO] [stderr] Downloaded sysinfo v0.23.10 [INFO] [stderr] Downloaded proptest v1.0.0 [INFO] [stderr] Downloaded bls_dkg v0.9.2 [INFO] [stderr] Downloaded sn_dysfunction v0.1.1 [INFO] [stderr] Downloaded xor_name v4.0.1 [INFO] [stderr] Downloaded windows_i686_msvc v0.34.0 [INFO] [stderr] Downloaded tokio-util v0.7.1 [INFO] [stderr] Downloaded pin-project v1.0.10 [INFO] [stderr] Downloaded crdts v7.0.0 [INFO] [stderr] Downloaded rustls-pemfile v0.2.1 [INFO] [stderr] Downloaded quinn-proto v0.8.2 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.80 [INFO] [stderr] Downloaded brotli-decompressor v2.3.2 [INFO] [stderr] Downloaded color-eyre v0.6.1 [INFO] [stderr] Downloaded criterion v0.3.5 [INFO] [stderr] Downloaded custom_debug_derive v0.5.0 [INFO] [stderr] Downloaded dashmap v5.2.0 [INFO] [stderr] Downloaded yasna v0.4.0 [INFO] [stderr] Downloaded rcgen v0.8.14 [INFO] [stderr] Downloaded wasm-bindgen v0.2.80 [INFO] [stderr] Downloaded pairing v0.16.0 [INFO] [stderr] Downloaded block-modes v0.8.1 [INFO] [stderr] Downloaded parking_lot_core v0.9.2 [INFO] [stderr] Downloaded backoff v0.3.0 [INFO] [stderr] Downloaded wildmatch v1.1.0 [INFO] [stderr] Downloaded attohttpc v0.16.3 [INFO] [stderr] Downloaded console-subscriber v0.1.4 [INFO] [stderr] Downloaded cast v0.2.7 [INFO] [stderr] Downloaded grep-cli v0.1.6 [INFO] [stderr] Downloaded grep-regex v0.1.9 [INFO] [stderr] Downloaded memmap2 v0.3.1 [INFO] [stderr] Downloaded grep-searcher v0.1.8 [INFO] [stderr] Downloaded termion v1.5.6 [INFO] [stderr] Downloaded reqwest v0.11.10 [INFO] [stderr] Downloaded quinn v0.8.2 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.80 [INFO] [stderr] Downloaded aes v0.8.1 [INFO] [stderr] Downloaded sn_interface v0.1.1 [INFO] [stderr] Downloaded clap v2.33.4 [INFO] [stderr] Downloaded async-trait v0.1.53 [INFO] [stderr] Downloaded anyhow v1.0.56 [INFO] [stderr] Downloaded semver v1.0.7 [INFO] [stderr] Downloaded criterion-plot v0.4.4 [INFO] [stderr] Downloaded plotters-backend v0.3.2 [INFO] [stderr] Downloaded grep-matcher v0.1.5 [INFO] [stderr] Downloaded redox_termios v0.1.2 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.80 [INFO] [stderr] Downloaded qp2p v0.28.5 [INFO] [stderr] Downloaded rmp v0.8.11 [INFO] [stderr] Downloaded rmp-serde v1.1.0 [INFO] [stderr] Downloaded group v0.6.0 [INFO] [stderr] Downloaded zeroize_derive v1.1.1 [INFO] [stderr] Downloaded self_encryption v0.27.4 [INFO] [stderr] Downloaded miniz_oxide v0.5.1 [INFO] [stderr] Downloaded strum v0.23.0 [INFO] [stderr] Downloaded multibase v0.9.1 [INFO] [stderr] Downloaded indexmap v1.8.1 [INFO] [stderr] Downloaded ff v0.6.0 [INFO] [stderr] Downloaded axum-core v0.2.2 [INFO] [stderr] Downloaded plotters v0.3.1 [INFO] [stderr] Downloaded grep-printer v0.1.6 [INFO] [stderr] Downloaded resource_proof v1.0.38 [INFO] [stderr] Downloaded alloc-no-stdlib v2.0.3 [INFO] [stderr] Downloaded quick-xml v0.20.0 [INFO] [stderr] Downloaded block-padding v0.3.2 [INFO] [stderr] Downloaded axum v0.5.3 [INFO] [stderr] Downloaded signature v1.5.0 [INFO] [stderr] Downloaded bytecount v0.6.2 [INFO] [stderr] Downloaded encoding_rs_io v0.1.7 [INFO] [stderr] Downloaded grep v0.2.8 [INFO] [stderr] Downloaded rustls-pemfile v0.3.0 [INFO] [stderr] Downloaded filetime v0.2.16 [INFO] [stderr] Downloaded flate2 v1.0.23 [INFO] [stderr] Downloaded paste v1.0.7 [INFO] [stderr] Downloaded hex_fmt v0.3.0 [INFO] [stderr] Downloaded ff_derive v0.6.0 [INFO] [stderr] Downloaded rand_xorshift v0.2.0 [INFO] [stderr] Downloaded blsttc v3.4.0 [INFO] [stderr] Downloaded cipher v0.4.3 [INFO] [stderr] Downloaded err-derive v0.3.1 [INFO] [stderr] Downloaded dirs-next v1.0.2 [INFO] [stderr] Downloaded eyre v0.6.8 [INFO] [stderr] Downloaded strum_macros v0.23.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.8 [INFO] [stderr] Downloaded libc v0.2.124 [INFO] [stderr] Downloaded console-api v0.2.0 [INFO] [stderr] Downloaded async-stream-impl v0.3.3 [INFO] [stderr] Downloaded tokio-io-timeout v1.2.0 [INFO] [stderr] Downloaded plotters-svg v0.3.1 [INFO] [stderr] Downloaded ctor v0.1.22 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.34.0 [INFO] [stderr] Downloaded hyper v0.14.18 [INFO] [stderr] Downloaded blst v0.3.7 [INFO] [stderr] Downloaded alloc-stdlib v0.2.1 [INFO] [stderr] Downloaded num_threads v0.1.5 [INFO] [stderr] Downloaded time v0.3.9 [INFO] [stderr] Downloaded tracing-core v0.1.26 [INFO] [stderr] Downloaded serde_bytes v0.11.5 [INFO] [stderr] Downloaded tracing-appender v0.2.2 [INFO] [stderr] Downloaded tracing v0.1.34 [INFO] [stderr] Downloaded sn_launch_tool v0.9.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb879eeb1216d6823d5a073019d16ee61758ea4086fbceab8ae0811cca0b43d8 [INFO] running `Command { std: "docker" "start" "-a" "cb879eeb1216d6823d5a073019d16ee61758ea4086fbceab8ae0811cca0b43d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb879eeb1216d6823d5a073019d16ee61758ea4086fbceab8ae0811cca0b43d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb879eeb1216d6823d5a073019d16ee61758ea4086fbceab8ae0811cca0b43d8", kill_on_drop: false }` [INFO] [stdout] cb879eeb1216d6823d5a073019d16ee61758ea4086fbceab8ae0811cca0b43d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3eee818eb0f45983dad1ca16a17bd539c2fce9be74382fd20eb80e843512a60 [INFO] running `Command { std: "docker" "start" "-a" "e3eee818eb0f45983dad1ca16a17bd539c2fce9be74382fd20eb80e843512a60", 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_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling rayon-core v1.9.2 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling blst v0.3.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling block-padding v0.3.2 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling rayon v1.5.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling cipher v0.4.3 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling err-derive v0.3.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling wildmatch v1.1.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling yasna v0.4.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling xmltree v0.10.3 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling pem v1.0.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling priority-queue v1.2.1 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling signature v1.5.0 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling block-modes v0.8.1 [INFO] [stderr] Compiling rcgen v0.8.14 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling rmp v0.8.11 [INFO] [stderr] Compiling clap v2.33.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling webpki-roots v0.22.3 [INFO] [stderr] Compiling quickcheck v0.9.2 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling aes v0.8.1 [INFO] [stderr] Compiling filetime v0.2.16 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling rustls-pemfile v0.3.0 [INFO] [stderr] Compiling object v0.28.3 [INFO] [stderr] Compiling self_update v0.28.0 [INFO] [stderr] Compiling sysinfo v0.23.10 [INFO] [stderr] Compiling owo-colors v3.3.0 [INFO] [stderr] Compiling base-x v0.2.8 [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling uluru v3.0.0 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling tar v0.4.38 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling quick-xml v0.20.0 [INFO] [stderr] Compiling strum v0.23.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling file-rotate v0.6.0 [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] Compiling ff_derive v0.6.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.10 [INFO] [stderr] Compiling custom_debug_derive v0.5.0 [INFO] [stderr] Compiling data-encoding-macro v0.1.12 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling custom_debug v0.5.0 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling resource_proof v1.0.38 [INFO] [stderr] Compiling ff v0.6.0 [INFO] [stderr] Compiling group v0.6.0 [INFO] [stderr] Compiling pairing v0.16.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling xor_name v4.0.1 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling blsttc v3.4.0 [INFO] [stderr] Compiling dashmap v5.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rmp-serde v1.1.0 [INFO] [stderr] Compiling ed25519 v1.4.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling quinn-proto v0.8.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.11 [INFO] [stderr] Compiling bls_dkg v0.9.2 [INFO] [stderr] Compiling secured_linked_list v0.5.0 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling crdts v7.0.0 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling tracing-appender v0.2.2 [INFO] [stderr] Compiling color-spantrace v0.2.0 [INFO] [stderr] Compiling color-eyre v0.6.1 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling attohttpc v0.16.3 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling quinn-udp v0.1.1 [INFO] [stderr] Compiling tokio-rustls v0.23.3 [INFO] [stderr] Compiling backoff v0.3.0 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling self_encryption v0.27.4 [INFO] [stderr] Compiling sn_dysfunction v0.1.1 [INFO] [stderr] Compiling quinn v0.8.2 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling igd v0.12.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling qp2p v0.28.5 [INFO] [stderr] Compiling sn_interface v0.1.1 [INFO] [stderr] Compiling safe_network v0.58.13 (/opt/rustwide/workdir) [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] 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.20.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "e3eee818eb0f45983dad1ca16a17bd539c2fce9be74382fd20eb80e843512a60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3eee818eb0f45983dad1ca16a17bd539c2fce9be74382fd20eb80e843512a60", kill_on_drop: false }` [INFO] [stdout] e3eee818eb0f45983dad1ca16a17bd539c2fce9be74382fd20eb80e843512a60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 729e5bbe9e84f0fb7f114123f93356310ecbc4627a7f3edeab521782e5376c66 [INFO] running `Command { std: "docker" "start" "-a" "729e5bbe9e84f0fb7f114123f93356310ecbc4627a7f3edeab521782e5376c66", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling semver v1.0.7 [INFO] [stderr] Compiling grep-matcher v0.1.5 [INFO] [stderr] Compiling encoding_rs_io v0.1.7 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling dirs-next v1.0.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling sn_launch_tool v0.9.8 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling ctor v0.1.22 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling grep-searcher v0.1.8 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling grep-regex v0.1.9 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling grep-cli v0.1.6 [INFO] [stderr] Compiling group v0.6.0 [INFO] [stderr] Compiling quickcheck v0.9.2 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling rmp v0.8.11 [INFO] [stderr] Compiling pairing v0.16.0 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling grep-printer v0.1.6 [INFO] [stderr] Compiling proptest v1.0.0 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling rmp-serde v1.1.0 [INFO] [stderr] Compiling blsttc v3.4.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling grep v0.2.8 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling secured_linked_list v0.5.0 [INFO] [stderr] Compiling bls_dkg v0.9.2 [INFO] [stderr] Compiling yasna v0.4.0 [INFO] [stderr] Compiling file-rotate v0.6.0 [INFO] [stderr] Compiling rcgen v0.8.14 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling qp2p v0.28.5 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling crdts v7.0.0 [INFO] [stderr] Compiling sn_interface v0.1.1 [INFO] [stderr] Compiling safe_network v0.58.13 (/opt/rustwide/workdir) [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[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] 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] 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)]` (part of `#[warn(unused)]`) 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] 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/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/cmp.rs:1416: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/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/cmp.rs:1416: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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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` (lib test) due to 72 previous errors; 30 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `safe_network` (example "put_get") due to 2 previous errors; 2 warnings emitted [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "729e5bbe9e84f0fb7f114123f93356310ecbc4627a7f3edeab521782e5376c66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "729e5bbe9e84f0fb7f114123f93356310ecbc4627a7f3edeab521782e5376c66", kill_on_drop: false }` [INFO] [stdout] 729e5bbe9e84f0fb7f114123f93356310ecbc4627a7f3edeab521782e5376c66