[INFO] fetching crate gooty-proxy 0.2.0... [INFO] testing gooty-proxy-0.2.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate gooty-proxy 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate gooty-proxy 0.2.0 [INFO] finished tweaking crates.io crate gooty-proxy 0.2.0 [INFO] tweaked toml for crates.io crate gooty-proxy 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gooty-proxy 0.2.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gooty-proxy 0.2.0 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1349d97e6bb03a61b4bf9764646c3338a6815d2421b026bb8272a30fa936a76d [INFO] running `Command { std: "docker" "start" "-a" "1349d97e6bb03a61b4bf9764646c3338a6815d2421b026bb8272a30fa936a76d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1349d97e6bb03a61b4bf9764646c3338a6815d2421b026bb8272a30fa936a76d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1349d97e6bb03a61b4bf9764646c3338a6815d2421b026bb8272a30fa936a76d", kill_on_drop: false }` [INFO] [stdout] 1349d97e6bb03a61b4bf9764646c3338a6815d2421b026bb8272a30fa936a76d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a36af33a98c541dd62203cd20ac8affa06588170c79054c80c5a8ff5274aba19 [INFO] running `Command { std: "docker" "start" "-a" "a36af33a98c541dd62203cd20ac8affa06588170c79054c80c5a8ff5274aba19", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling cc v1.2.18 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling libmimalloc-sys v0.1.42 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling winnow v0.7.6 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling clap_builder v4.5.35 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling zerocopy-derive v0.8.24 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling erased-serde v0.4.6 [INFO] [stderr] Compiling serde_fmt v1.0.3 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling value-bag-serde1 v1.11.1 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling tokio-socks v0.5.2 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling clap v4.5.35 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling fancy-regex v0.14.0 [INFO] [stderr] Compiling mimalloc v0.1.46 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling gooty-proxy v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 6m 04s [INFO] running `Command { std: "docker" "inspect" "a36af33a98c541dd62203cd20ac8affa06588170c79054c80c5a8ff5274aba19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a36af33a98c541dd62203cd20ac8affa06588170c79054c80c5a8ff5274aba19", kill_on_drop: false }` [INFO] [stdout] a36af33a98c541dd62203cd20ac8affa06588170c79054c80c5a8ff5274aba19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f63c404585b8848e5374be308954c1eaf00689a9b2f4e79c9112538bdfa2efc9 [INFO] running `Command { std: "docker" "start" "-a" "f63c404585b8848e5374be308954c1eaf00689a9b2f4e79c9112538bdfa2efc9", kill_on_drop: false }` [INFO] [stderr] Compiling gooty-proxy v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 50.79s [INFO] running `Command { std: "docker" "inspect" "f63c404585b8848e5374be308954c1eaf00689a9b2f4e79c9112538bdfa2efc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f63c404585b8848e5374be308954c1eaf00689a9b2f4e79c9112538bdfa2efc9", kill_on_drop: false }` [INFO] [stdout] f63c404585b8848e5374be308954c1eaf00689a9b2f4e79c9112538bdfa2efc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3fce010f42f16e7851be2759ef93f615cb07219a295539fbb2967514726391f0 [INFO] running `Command { std: "docker" "start" "-a" "3fce010f42f16e7851be2759ef93f615cb07219a295539fbb2967514726391f0", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.39s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gooty_proxy-a9394fc1d9a0569a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/gatherer.rs (/opt/rustwide/target/debug/deps/gatherer-6a0a057e89c5652b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests gooty_proxy [INFO] [stdout] [INFO] [stdout] running 74 tests [INFO] [stdout] test src/definitions/defaults.rs - definitions::defaults (line 17) ... FAILED [INFO] [stdout] test src/definitions/defaults.rs - definitions::defaults::DEFAULT_PARALLEL_VALIDATIONS (line 145) ... FAILED [INFO] [stdout] test src/definitions/defaults.rs - definitions::defaults::DEFAULT_REQUEST_DELAY_MS (line 130) ... FAILED [INFO] [stdout] test src/definitions/defaults.rs - definitions::defaults::DEFAULT_USER_AGENTS (line 52) ... FAILED [INFO] [stdout] test src/definitions/defaults.rs - definitions::defaults::DEFAULT_REQUEST_RETRIES (line 116) ... FAILED [INFO] [stdout] test src/definitions/defaults.rs - definitions::defaults::DEFAULT_VALIDATION_TIMEOUT_SECS (line 173) ... FAILED [INFO] [stdout] test src/definitions/defaults.rs - definitions::defaults::DEFAULT_REQUEST_TIMEOUT_SECS (line 101) ... FAILED [INFO] [stdout] test src/definitions/defaults.rs - definitions::defaults::PROXY_JUDGE_URLS (line 35) ... FAILED [INFO] [stdout] test src/definitions/defaults.rs - definitions::defaults::DEFAULT_MAX_ACCEPTABLE_LATENCY_MS (line 158) ... FAILED [INFO] [stdout] test src/config/loader.rs - config::loader (line 16) ... FAILED [INFO] [stdout] test src/config/mod.rs - config (line 21) ... FAILED [INFO] [stdout] test src/definitions/enums.rs - definitions::enums::JudgementMode (line 375) ... FAILED [INFO] [stdout] test src/definitions/enums.rs - definitions::enums::AnonymityLevel (line 136) ... FAILED [INFO] [stdout] test src/definitions/enums.rs - definitions::enums::ProxyType (line 37) ... FAILED [INFO] [stdout] test src/definitions/enums.rs - definitions::enums::LogLevel (line 302) ... FAILED [INFO] [stdout] test src/definitions/proxy.rs - definitions::proxy::Proxy::new (line 162) ... FAILED [INFO] [stdout] test src/config/schema.rs - config::schema (line 15) ... FAILED [INFO] [stdout] test src/definitions/enums.rs - definitions::enums::ProxyType::default_port (line 72) ... FAILED [INFO] [stdout] test src/definitions/proxy.rs - definitions::proxy::Proxy::with_auth (line 223) ... FAILED [INFO] [stdout] test src/definitions/source.rs - definitions::source::Source (line 67) ... FAILED [INFO] [stdout] test src/definitions/errors.rs - definitions::errors::CidrError (line 49) ... FAILED [INFO] [stdout] test src/definitions/errors.rs - definitions::errors (line 26) ... FAILED [INFO] [stdout] test src/inspection/cidr.rs - inspection::cidr (line 19) ... FAILED [INFO] [stdout] test src/definitions/proxy.rs - definitions::proxy (line 20) ... FAILED [INFO] [stdout] test src/definitions/mod.rs - definitions (line 34) ... FAILED [INFO] [stdout] test src/definitions/proxy.rs - definitions::proxy::Proxy (line 59) ... FAILED [INFO] [stdout] test src/definitions/source.rs - definitions::source::Source::add_parameter (line 180) ... FAILED [INFO] [stdout] test src/definitions/source.rs - definitions::source (line 21) ... FAILED [INFO] [stdout] test src/definitions/source.rs - definitions::source::Source::get_full_url (line 334) ... FAILED [INFO] [stdout] test src/definitions/source.rs - definitions::source::Source::remove_parameter (line 210) ... FAILED [INFO] [stdout] test src/inspection/cidr.rs - inspection::cidr::Cidr (line 44) ... FAILED [INFO] [stdout] test src/inspection/cidr.rs - inspection::cidr::Cidr::to_cidr (line 85) ... FAILED [INFO] [stdout] test src/inspection/judgement.rs - inspection::judgement (line 12) ... FAILED [INFO] [stdout] test src/inspection/cidr.rs - inspection::cidr::helpers::extract_network_from_cidr (line 257) ... FAILED [INFO] [stdout] test src/inspection/cidr.rs - inspection::cidr::Cidr::contains (line 145) ... FAILED [INFO] [stdout] test src/inspection/judgement.rs - inspection::judgement::Judge (line 50) - compile ... FAILED [INFO] [stdout] test src/inspection/location.rs - inspection::location (line 23) ... FAILED [INFO] [stdout] test src/inspection/cidr.rs - inspection::cidr::helpers::is_ip_in_cidr (line 314) ... FAILED [INFO] [stdout] test src/inspection/ownership.rs - inspection::ownership (line 22) ... FAILED [INFO] [stdout] test src/inspection/mod.rs - inspection (line 24) ... FAILED [INFO] [stdout] test src/inspection/ipinfo.rs - inspection::ipinfo::IpMetadata (line 45) ... FAILED [INFO] [stdout] test src/inspection/ipinfo.rs - inspection::ipinfo (line 13) ... FAILED [INFO] [stdout] test src/inspection/cidr.rs - inspection::cidr::helpers::extract_prefix_from_cidr (line 285) ... FAILED [INFO] [stdout] test src/inspection/ownership.rs - inspection::ownership::OwnershipLookup (line 214) - compile ... ok [INFO] [stdout] test src/io/filesystem.rs - io::filesystem::AppConfig (line 88) ... FAILED [INFO] [stdout] test src/io/filesystem.rs - io::filesystem::Filestore (line 163) ... FAILED [INFO] [stdout] test src/io/filesystem.rs - io::filesystem::FilestoreConfig (line 38) ... FAILED [INFO] [stdout] test src/io/http.rs - io::http::Requestor (line 39) ... FAILED [INFO] [stdout] test src/inspection/location.rs - inspection::location::Location (line 47) ... FAILED [INFO] [stdout] test src/inspection/ipinfo.rs - inspection::ipinfo::Sleuth (line 100) ... FAILED [INFO] [stdout] test src/lib.rs - (line 20) ... FAILED [INFO] [stdout] test src/orchestration/manager.rs - orchestration::manager::ProxyManager (line 88) ... FAILED [INFO] [stdout] test src/orchestration/manager.rs - orchestration::manager (line 14) ... FAILED [INFO] [stdout] test src/orchestration/manager.rs - orchestration::manager::ProxyManager::filter_proxies (line 336) ... FAILED [INFO] [stdout] test src/orchestration/mod.rs - orchestration (line 14) ... FAILED [INFO] [stdout] test src/orchestration/manager.rs - orchestration::manager::ProxyManager::get_best_proxies (line 901) ... FAILED [INFO] [stdout] test src/inspection/ownership.rs - inspection::ownership::Organization (line 58) ... FAILED [INFO] [stdout] test src/inspection/ownership.rs - inspection::ownership::NetworkInfo (line 88) ... FAILED [INFO] [stdout] test src/inspection/ownership.rs - inspection::ownership::AutonomousSystem (line 177) ... FAILED [INFO] [stdout] test src/orchestration/processes.rs - orchestration::processes (line 29) ... FAILED [INFO] [stdout] test src/orchestration/processes.rs - orchestration::processes (line 14) ... FAILED [INFO] [stdout] test src/orchestration/processes.rs - orchestration::processes::ManagerResult (line 29) ... FAILED [INFO] [stdout] test src/orchestration/processes.rs - orchestration::processes::Proxy (line 29) ... FAILED [INFO] [stdout] test src/orchestration/threading.rs - orchestration::threading (line 14) ... FAILED [INFO] [stdout] test src/orchestration/processes.rs - orchestration::processes::enrich_proxies (line 183) ... FAILED [INFO] [stdout] test src/orchestration/processes.rs - orchestration::processes::verify_proxies (line 87) ... FAILED [INFO] [stdout] test src/orchestration/threading.rs - orchestration::threading (line 31) ... FAILED [INFO] [stdout] test src/orchestration/threading.rs - orchestration::threading::StreamExt (line 31) ... FAILED [INFO] [stdout] test src/orchestration/threading.rs - orchestration::threading::stream (line 31) ... FAILED [INFO] [stdout] test src/orchestration/threading.rs - orchestration::threading::run_concurrent_batch (line 177) ... FAILED [INFO] [stdout] test src/utils.rs - utils::SerializableRegex (line 43) ... FAILED [INFO] [stdout] test src/io/filesystem.rs - io::filesystem (line 13) ... FAILED [INFO] [stdout] test src/io/http.rs - io::http (line 12) ... FAILED [INFO] [stdout] test src/utils.rs - utils (line 14) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/definitions/defaults.rs - definitions::defaults (line 17) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spiderling_proxy` [INFO] [stdout] --> src/definitions/defaults.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 3 | use spiderling_proxy::definitions::defaults; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `spiderling_proxy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spiderling_proxy`, use `cargo add spiderling_proxy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/definitions/defaults.rs - definitions::defaults::DEFAULT_PARALLEL_VALIDATIONS (line 145) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spiderling_proxy` [INFO] [stdout] --> src/definitions/defaults.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 3 | use spiderling_proxy::definitions::defaults; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `spiderling_proxy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spiderling_proxy`, use `cargo add spiderling_proxy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/definitions/defaults.rs - definitions::defaults::DEFAULT_REQUEST_DELAY_MS (line 130) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spiderling_proxy` [INFO] [stdout] --> src/definitions/defaults.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 3 | use spiderling_proxy::definitions::defaults; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `spiderling_proxy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spiderling_proxy`, use `cargo add spiderling_proxy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/definitions/defaults.rs - definitions::defaults::DEFAULT_USER_AGENTS (line 52) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spiderling_proxy` [INFO] [stdout] --> src/definitions/defaults.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 3 | use spiderling_proxy::definitions::defaults; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `spiderling_proxy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spiderling_proxy`, use `cargo add spiderling_proxy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng` [INFO] [stdout] --> src/definitions/defaults.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 7 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/definitions/defaults.rs - definitions::defaults::DEFAULT_REQUEST_RETRIES (line 116) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spiderling_proxy` [INFO] [stdout] --> src/definitions/defaults.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 3 | use spiderling_proxy::definitions::defaults; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `spiderling_proxy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spiderling_proxy`, use `cargo add spiderling_proxy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/definitions/defaults.rs - definitions::defaults::DEFAULT_VALIDATION_TIMEOUT_SECS (line 173) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spiderling_proxy` [INFO] [stdout] --> src/definitions/defaults.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 3 | use spiderling_proxy::definitions::defaults; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `spiderling_proxy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spiderling_proxy`, use `cargo add spiderling_proxy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/definitions/defaults.rs - definitions::defaults::DEFAULT_REQUEST_TIMEOUT_SECS (line 101) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spiderling_proxy` [INFO] [stdout] --> src/definitions/defaults.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 3 | use spiderling_proxy::definitions::defaults; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `spiderling_proxy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spiderling_proxy`, use `cargo add spiderling_proxy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/definitions/defaults.rs - definitions::defaults::PROXY_JUDGE_URLS (line 35) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spiderling_proxy` [INFO] [stdout] --> src/definitions/defaults.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 3 | use spiderling_proxy::definitions::defaults; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `spiderling_proxy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spiderling_proxy`, use `cargo add spiderling_proxy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/definitions/defaults.rs - definitions::defaults::DEFAULT_MAX_ACCEPTABLE_LATENCY_MS (line 158) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spiderling_proxy` [INFO] [stdout] --> src/definitions/defaults.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 3 | use spiderling_proxy::definitions::defaults; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `spiderling_proxy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spiderling_proxy`, use `cargo add spiderling_proxy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `measured_latency` in this scope [INFO] [stdout] --> src/definitions/defaults.rs:162:28 [INFO] [stdout] | [INFO] [stdout] 6 | let is_proxy_fast_enough = measured_latency <= max_acceptable_latency; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config/loader.rs - config::loader (line 16) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config/mod.rs - config (line 21) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/definitions/enums.rs - definitions::enums::JudgementMode (line 375) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/definitions/enums.rs - definitions::enums::AnonymityLevel (line 136) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/definitions/enums.rs - definitions::enums::ProxyType (line 37) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/definitions/enums.rs - definitions::enums::LogLevel (line 302) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/definitions/proxy.rs - definitions::proxy::Proxy::new (line 162) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spiderling_proxy` [INFO] [stdout] --> src/definitions/proxy.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 3 | use spiderling_proxy::definitions::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `spiderling_proxy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spiderling_proxy`, use `cargo add spiderling_proxy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config/schema.rs - config::schema (line 15) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/definitions/enums.rs - definitions::enums::ProxyType::default_port (line 72) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/definitions/proxy.rs - definitions::proxy::Proxy::with_auth (line 223) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spiderling_proxy` [INFO] [stdout] --> src/definitions/proxy.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 3 | use spiderling_proxy::definitions::{enums::{AnonymityLevel, ProxyType}, proxy::Proxy}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `spiderling_proxy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spiderling_proxy`, use `cargo add spiderling_proxy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/definitions/source.rs - definitions::source::Source (line 67) stdout ---- [INFO] [stdout] error[E0277]: can't compare `usize` with `{float}` [INFO] [stdout] --> src/definitions/source.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(source.success_rate(), 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `usize == {float}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<{float}>` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] `usize` implements `PartialEq` [INFO] [stdout] `usize` implements `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/definitions/source.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(source.success_rate(), 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/definitions/errors.rs - definitions::errors::CidrError (line 49) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/definitions/errors.rs - definitions::errors (line 26) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/inspection/cidr.rs - inspection::cidr (line 19) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `Cidr` in the current scope [INFO] [stdout] --> src/inspection/cidr.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 9 | let cidr = Cidr::from_str("192.168.1.0/24").unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Cidr` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Cidr`, consider using `Cidr::to_cidr` which returns `Result` [INFO] [stdout] --> /opt/rustwide/workdir/src/inspection/cidr.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn to_cidr(cidr_str: &str) -> CidrResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 9 - let cidr = Cidr::from_str("192.168.1.0/24").unwrap(); [INFO] [stdout] 9 + let cidr = Cidr::from("192.168.1.0/24").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/definitions/proxy.rs - definitions::proxy (line 20) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/definitions/mod.rs - definitions (line 34) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/definitions/proxy.rs - definitions::proxy::Proxy (line 59) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/definitions/source.rs - definitions::source::Source::add_parameter (line 180) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/definitions/source.rs - definitions::source (line 21) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/definitions/source.rs - definitions::source::Source::get_full_url (line 334) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/definitions/source.rs - definitions::source::Source::remove_parameter (line 210) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/inspection/cidr.rs - inspection::cidr::Cidr (line 44) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/inspection/cidr.rs - inspection::cidr::Cidr::to_cidr (line 85) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/inspection/judgement.rs - inspection::judgement (line 12) stdout ---- [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/inspection/judgement.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 11 | let judge = Judge::new().await?; [INFO] [stdout] | ------------ ^^^^^ `Result` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 11 - let judge = Judge::new().await?; [INFO] [stdout] 11 + let judge = Judge::new()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/inspection/cidr.rs - inspection::cidr::helpers::extract_network_from_cidr (line 257) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/inspection/cidr.rs - inspection::cidr::Cidr::contains (line 145) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/inspection/judgement.rs - inspection::judgement::Judge (line 50) stdout ---- [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/inspection/judgement.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 12 | let judge = Judge::new().await?; [INFO] [stdout] | ------------ ^^^^^ `Result` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 12 - let judge = Judge::new().await?; [INFO] [stdout] 12 + let judge = Judge::new()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/inspection/location.rs - inspection::location (line 23) stdout ---- [INFO] [stdout] error[E0061]: this function takes 4 arguments but 0 arguments were supplied [INFO] [stdout] --> src/inspection/location.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 8 | let location = Location::new() [INFO] [stdout] | ^^^^^^^^^^^^^-- multiple arguments are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/inspection/location.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 8 | let location = Location::new(/* Option */, /* Option */, /* Option */, /* Option */) [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_country` found for struct `gooty_proxy::Location` in the current scope [INFO] [stdout] --> src/inspection/location.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 8 | let location = Location::new() [INFO] [stdout] | ________________- [INFO] [stdout] | |________________| [INFO] [stdout] 9 | || .with_country("United States".to_string()) [INFO] [stdout] | ||_____-^^^^^^^^^^^^____________________________- help: use associated function syntax instead: `gooty_proxy::Location::with_country("United States".to_string())` [INFO] [stdout] | | || [INFO] [stdout] | |______|this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] = note: the candidate is defined in an impl for the type `gooty_proxy::Location` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/inspection/cidr.rs - inspection::cidr::helpers::is_ip_in_cidr (line 314) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/inspection/ownership.rs - inspection::ownership (line 22) stdout ---- [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `OwnershipLookup` in the current scope [INFO] [stdout] --> src/inspection/ownership.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 14 | let network_info = lookup.lookup(ip).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `lookup_asn` with a similar name [INFO] [stdout] | [INFO] [stdout] 14 | let network_info = lookup.lookup_asn(ip).await?; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/inspection/mod.rs - inspection (line 24) stdout ---- [INFO] [stdout] error[E0599]: no method named `lookup` found for struct `Sleuth` in the current scope [INFO] [stdout] --> src/inspection/mod.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 14 | let metadata = sleuth.lookup(ip).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `lookup_asn` with a similar name [INFO] [stdout] | [INFO] [stdout] 14 | let metadata = sleuth.lookup_asn(ip).await?; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/inspection/ipinfo.rs - inspection::ipinfo::IpMetadata (line 45) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/inspection/ipinfo.rs - inspection::ipinfo (line 13) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/inspection/cidr.rs - inspection::cidr::helpers::extract_prefix_from_cidr (line 285) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/io/filesystem.rs - io::filesystem::AppConfig (line 88) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gooty_proxy::io::filestore` [INFO] [stdout] --> src/io/filesystem.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 5 | use gooty_proxy::io::filestore::AppConfig; [INFO] [stdout] | ^^^^^^^^^ could not find `filestore` in `io` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/io/filesystem.rs - io::filesystem::Filestore (line 163) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gooty_proxy::io::filestore` [INFO] [stdout] --> src/io/filesystem.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 5 | use gooty_proxy::io::filestore::{Filestore, FilestoreConfig}; [INFO] [stdout] | ^^^^^^^^^ could not find `filestore` in `io` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/io/filesystem.rs - io::filesystem::FilestoreConfig (line 38) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gooty_proxy::io::filestore` [INFO] [stdout] --> src/io/filesystem.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 5 | use gooty_proxy::io::filestore::FilestoreConfig; [INFO] [stdout] | ^^^^^^^^^ could not find `filestore` in `io` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/io/http.rs - io::http::Requestor (line 39) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gooty_proxy::io::requestor` [INFO] [stdout] --> src/io/http.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 4 | use gooty_proxy::io::requestor::Requestor; [INFO] [stdout] | ^^^^^^^^^ could not find `requestor` in `io` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/inspection/location.rs - inspection::location::Location (line 47) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/inspection/ipinfo.rs - inspection::ipinfo::Sleuth (line 100) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 20) stdout ---- [INFO] [stdout] error[E0277]: `Result<(), ManagerError>` is not a future [INFO] [stdout] --> src/lib.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 12 | manager.init_judge().await?; [INFO] [stdout] | ^^^^^ `Result<(), ManagerError>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result<(), ManagerError>` [INFO] [stdout] = note: Result<(), ManagerError> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result<(), ManagerError>` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 12 - manager.init_judge().await?; [INFO] [stdout] 12 + manager.init_judge()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_proxy_from_url` found for struct `ProxyManager` in the current scope [INFO] [stdout] --> src/lib.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 17 | manager.add_proxy_from_url(proxy_url)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `add_proxy` with a similar name [INFO] [stdout] | [INFO] [stdout] 17 - manager.add_proxy_from_url(proxy_url)?; [INFO] [stdout] 17 + manager.add_proxy(proxy_url)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/orchestration/manager.rs - orchestration::manager::ProxyManager (line 88) stdout ---- [INFO] [stdout] error[E0277]: `Result<(), ManagerError>` is not a future [INFO] [stdout] --> src/orchestration/manager.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 12 | manager.init_judge().await?; [INFO] [stdout] | ^^^^^ `Result<(), ManagerError>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result<(), ManagerError>` [INFO] [stdout] = note: Result<(), ManagerError> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result<(), ManagerError>` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 12 - manager.init_judge().await?; [INFO] [stdout] 12 + manager.init_judge()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/orchestration/manager.rs - orchestration::manager (line 14) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gooty_proxy::orchestration::manager::Manager` [INFO] [stdout] --> src/orchestration/manager.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gooty_proxy::orchestration::manager::Manager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Manager` in `orchestration::manager` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/orchestration/manager.rs - orchestration::manager::ProxyManager::filter_proxies (line 336) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `manager` in this scope [INFO] [stdout] --> src/orchestration/manager.rs:338:21 [INFO] [stdout] | [INFO] [stdout] 4 | let elite_proxies = manager.filter_proxies(|p| p.anonymity == AnonymityLevel::Elite); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnonymityLevel` [INFO] [stdout] --> src/orchestration/manager.rs:338:63 [INFO] [stdout] | [INFO] [stdout] 4 | let elite_proxies = manager.filter_proxies(|p| p.anonymity == AnonymityLevel::Elite); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AnonymityLevel` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use gooty_proxy::AnonymityLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `manager` in this scope [INFO] [stdout] --> src/orchestration/manager.rs:341:20 [INFO] [stdout] | [INFO] [stdout] 7 | let fast_proxies = manager.filter_proxies(|p| p.latency_ms.unwrap_or(u32::MAX) < 500); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/orchestration/mod.rs - orchestration (line 14) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `Manager` in `orchestration` [INFO] [stdout] --> src/orchestration/mod.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 8 | let manager = orchestration::Manager::new(); [INFO] [stdout] | ^^^^^^^ could not find `Manager` in `orchestration` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/orchestration/manager.rs - orchestration::manager::ProxyManager::get_best_proxies (line 901) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `manager` in this scope [INFO] [stdout] --> src/orchestration/manager.rs:903:20 [INFO] [stdout] | [INFO] [stdout] 4 | let best_proxies = manager.get_best_proxies(5); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/inspection/ownership.rs - inspection::ownership::Organization (line 58) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/inspection/ownership.rs - inspection::ownership::NetworkInfo (line 88) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/inspection/ownership.rs - inspection::ownership::AutonomousSystem (line 177) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/orchestration/processes.rs - orchestration::processes (line 29) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `start_process` in module `processes` [INFO] [stdout] --> src/orchestration/processes.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 7 | processes::start_process("example_process"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `processes` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/orchestration/processes.rs - orchestration::processes (line 14) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `run_command` in module `processes` [INFO] [stdout] --> src/orchestration/processes.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 8 | let output = processes::run_command("ls", &["-la"]); [INFO] [stdout] | ^^^^^^^^^^^ not found in `processes` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/orchestration/processes.rs - orchestration::processes::ManagerResult (line 29) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `start_process` in module `processes` [INFO] [stdout] --> src/orchestration/processes.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 7 | processes::start_process("example_process"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `processes` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/orchestration/processes.rs - orchestration::processes::Proxy (line 29) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `start_process` in module `processes` [INFO] [stdout] --> src/orchestration/processes.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 7 | processes::start_process("example_process"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `processes` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/orchestration/threading.rs - orchestration::threading (line 14) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `spawn` in module `threading` [INFO] [stdout] --> src/orchestration/threading.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 8 | let handle = threading::spawn(|| { [INFO] [stdout] | ^^^^^ not found in `threading` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::spawn; [INFO] [stdout] | [INFO] [stdout] help: if you import `spawn`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - let handle = threading::spawn(|| { [INFO] [stdout] 8 + let handle = spawn(|| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/orchestration/processes.rs - orchestration::processes::enrich_proxies (line 183) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/orchestration/processes.rs:184:14 [INFO] [stdout] | [INFO] [stdout] 3 | let sleuth = Arc::new(Sleuth::new()); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Sleuth` [INFO] [stdout] --> src/orchestration/processes.rs:184:23 [INFO] [stdout] | [INFO] [stdout] 3 | let sleuth = Arc::new(Sleuth::new()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Sleuth` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use gooty_proxy::Sleuth; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `enrich_proxies` in this scope [INFO] [stdout] --> src/orchestration/processes.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 5 | enrich_proxies(&mut proxies, &sleuth, 10).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use gooty_proxy::orchestration::processes::enrich_proxies; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/orchestration/processes.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_orchestration_processes_rs_183_0() { [INFO] [stdout] | ------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | enrich_proxies(&mut proxies, &sleuth, 10).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/orchestration/processes.rs - orchestration::processes::verify_proxies (line 87) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/orchestration/processes.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 3 | let judge = Arc::new(Judge::new().await?); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Judge` [INFO] [stdout] --> src/orchestration/processes.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 3 | let judge = Arc::new(Judge::new().await?); [INFO] [stdout] | ^^^^^ use of undeclared type `Judge` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use gooty_proxy::Judge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `verify_proxies` in this scope [INFO] [stdout] --> src/orchestration/processes.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 5 | verify_proxies(&mut proxies, &judge, 10).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use gooty_proxy::orchestration::processes::verify_proxies; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/orchestration/processes.rs:88:35 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_orchestration_processes_rs_87_0() { [INFO] [stdout] | ------------------------------------------------------ this is not `async` [INFO] [stdout] 3 | let judge = Arc::new(Judge::new().await?); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/orchestration/processes.rs:90:42 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_orchestration_processes_rs_87_0() { [INFO] [stdout] | ------------------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | verify_proxies(&mut proxies, &judge, 10).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/orchestration/threading.rs - orchestration::threading (line 31) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `spawn_worker` in module `threading` [INFO] [stdout] --> src/orchestration/threading.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 7 | threading::spawn_worker(|| { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `threading` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/orchestration/threading.rs - orchestration::threading::StreamExt (line 31) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `spawn_worker` in module `threading` [INFO] [stdout] --> src/orchestration/threading.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 7 | threading::spawn_worker(|| { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `threading` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/orchestration/threading.rs - orchestration::threading::stream (line 31) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `spawn_worker` in module `threading` [INFO] [stdout] --> src/orchestration/threading.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 7 | threading::spawn_worker(|| { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `threading` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/orchestration/threading.rs - orchestration::threading::run_concurrent_batch (line 177) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `run_concurrent_batch` in this scope [INFO] [stdout] --> src/orchestration/threading.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 10 | let results = run_concurrent_batch(items, concurrency, |item| async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use gooty_proxy::orchestration::threading::run_concurrent_batch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/orchestration/threading.rs:187:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_orchestration_threading_rs_177_0() { [INFO] [stdout] | ------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 12 | }).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils.rs - utils::SerializableRegex (line 43) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `SerializableRegex: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/utils.rs:52:39 [INFO] [stdout] | [INFO] [stdout] 12 | let deserialized: SerializableRegex = serde_json::from_str(&serialized).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `SerializableRegex` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `SerializableRegex` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 204 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2698 | where [INFO] [stdout] 2699 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/io/filesystem.rs - io::filesystem (line 13) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/io/http.rs - io::http (line 12) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/config/loader.rs - config::loader (line 16) [INFO] [stdout] src/config/mod.rs - config (line 21) [INFO] [stdout] src/config/schema.rs - config::schema (line 15) [INFO] [stdout] src/definitions/defaults.rs - definitions::defaults (line 17) [INFO] [stdout] src/definitions/defaults.rs - definitions::defaults::DEFAULT_MAX_ACCEPTABLE_LATENCY_MS (line 158) [INFO] [stdout] src/definitions/defaults.rs - definitions::defaults::DEFAULT_PARALLEL_VALIDATIONS (line 145) [INFO] [stdout] src/definitions/defaults.rs - definitions::defaults::DEFAULT_REQUEST_DELAY_MS (line 130) [INFO] [stdout] src/definitions/defaults.rs - definitions::defaults::DEFAULT_REQUEST_RETRIES (line 116) [INFO] [stdout] src/definitions/defaults.rs - definitions::defaults::DEFAULT_REQUEST_TIMEOUT_SECS (line 101) [INFO] [stdout] src/definitions/defaults.rs - definitions::defaults::DEFAULT_USER_AGENTS (line 52) [INFO] [stdout] src/definitions/defaults.rs - definitions::defaults::DEFAULT_VALIDATION_TIMEOUT_SECS (line 173) [INFO] [stdout] src/definitions/defaults.rs - definitions::defaults::PROXY_JUDGE_URLS (line 35) [INFO] [stdout] src/definitions/enums.rs - definitions::enums::AnonymityLevel (line 136) [INFO] [stdout] src/definitions/enums.rs - definitions::enums::JudgementMode (line 375) [INFO] [stdout] src/definitions/enums.rs - definitions::enums::LogLevel (line 302) [INFO] [stdout] src/definitions/enums.rs - definitions::enums::ProxyType (line 37) [INFO] [stdout] src/definitions/enums.rs - definitions::enums::ProxyType::default_port (line 72) [INFO] [stdout] src/definitions/errors.rs - definitions::errors (line 26) [INFO] [stdout] src/definitions/errors.rs - definitions::errors::CidrError (line 49) [INFO] [stdout] src/definitions/mod.rs - definitions (line 34) [INFO] [stdout] src/definitions/proxy.rs - definitions::proxy (line 20) [INFO] [stdout] src/definitions/proxy.rs - definitions::proxy::Proxy (line 59) [INFO] [stdout] src/definitions/proxy.rs - definitions::proxy::Proxy::new (line 162) [INFO] [stdout] src/definitions/proxy.rs - definitions::proxy::Proxy::with_auth (line 223) [INFO] [stdout] src/definitions/source.rs - definitions::source (line 21) [INFO] [stdout] src/definitions/source.rs - definitions::source::Source (line 67) [INFO] [stdout] src/definitions/source.rs - definitions::source::Source::add_parameter (line 180) [INFO] [stdout] src/definitions/source.rs - definitions::source::Source::get_full_url (line 334) [INFO] [stdout] src/definitions/source.rs - definitions::source::Source::remove_parameter (line 210) [INFO] [stdout] src/inspection/cidr.rs - inspection::cidr (line 19) [INFO] [stdout] src/inspection/cidr.rs - inspection::cidr::Cidr (line 44) [INFO] [stdout] src/inspection/cidr.rs - inspection::cidr::Cidr::contains (line 145) [INFO] [stdout] src/inspection/cidr.rs - inspection::cidr::Cidr::to_cidr (line 85) [INFO] [stdout] src/inspection/cidr.rs - inspection::cidr::helpers::extract_network_from_cidr (line 257) [INFO] [stdout] src/inspection/cidr.rs - inspection::cidr::helpers::extract_prefix_from_cidr (line 285) [INFO] [stdout] src/inspection/cidr.rs - inspection::cidr::helpers::is_ip_in_cidr (line 314) [INFO] [stdout] src/inspection/ipinfo.rs - inspection::ipinfo (line 13) [INFO] [stdout] src/inspection/ipinfo.rs - inspection::ipinfo::IpMetadata (line 45) [INFO] [stdout] src/inspection/ipinfo.rs - inspection::ipinfo::Sleuth (line 100) [INFO] [stdout] src/inspection/judgement.rs - inspection::judgement (line 12) [INFO] [stdout] src/inspection/judgement.rs - inspection::judgement::Judge (line 50) [INFO] [stdout] src/inspection/location.rs - inspection::location (line 23) [INFO] [stdout] src/inspection/location.rs - inspection::location::Location (line 47) [INFO] [stdout] src/inspection/mod.rs - inspection (line 24) [INFO] [stdout] src/inspection/ownership.rs - inspection::ownership (line 22) [INFO] [stdout] src/inspection/ownership.rs - inspection::ownership::AutonomousSystem (line 177) [INFO] [stdout] src/inspection/ownership.rs - inspection::ownership::NetworkInfo (line 88) [INFO] [stdout] src/inspection/ownership.rs - inspection::ownership::Organization (line 58) [INFO] [stdout] src/io/filesystem.rs - io::filesystem (line 13) [INFO] [stdout] src/io/filesystem.rs - io::filesystem::AppConfig (line 88) [INFO] [stdout] src/io/filesystem.rs - io::filesystem::Filestore (line 163) [INFO] [stdout] src/io/filesystem.rs - io::filesystem::FilestoreConfig (line 38) [INFO] [stdout] src/io/http.rs - io::http (line 12) [INFO] [stdout] src/io/http.rs - io::http::Requestor (line 39) [INFO] [stdout] src/lib.rs - (line 20) [INFO] [stdout] src/orchestration/manager.rs - orchestration::manager (line 14) [INFO] [stdout] src/orchestration/manager.rs - orchestration::manager::ProxyManager (line 88) [INFO] [stdout] src/orchestration/manager.rs - orchestration::manager::ProxyManager::filter_proxies (line 336) [INFO] [stdout] src/orchestration/manager.rs - orchestration::manager::ProxyManager::get_best_proxies (line 901) [INFO] [stdout] src/orchestration/mod.rs - orchestration (line 14) [INFO] [stdout] src/orchestration/processes.rs - orchestration::processes (line 14) [INFO] [stdout] src/orchestration/processes.rs - orchestration::processes (line 29) [INFO] [stdout] src/orchestration/processes.rs - orchestration::processes::ManagerResult (line 29) [INFO] [stdout] src/orchestration/processes.rs - orchestration::processes::Proxy (line 29) [INFO] [stdout] src/orchestration/processes.rs - orchestration::processes::enrich_proxies (line 183) [INFO] [stdout] src/orchestration/processes.rs - orchestration::processes::verify_proxies (line 87) [INFO] [stdout] src/orchestration/threading.rs - orchestration::threading (line 14) [INFO] [stdout] src/orchestration/threading.rs - orchestration::threading (line 31) [INFO] [stdout] src/orchestration/threading.rs - orchestration::threading::StreamExt (line 31) [INFO] [stdout] src/orchestration/threading.rs - orchestration::threading::run_concurrent_batch (line 177) [INFO] [stdout] src/orchestration/threading.rs - orchestration::threading::stream (line 31) [INFO] [stdout] src/utils.rs - utils::SerializableRegex (line 43) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 72 failed; 0 ignored; 0 measured; 0 filtered out; finished in 95.98s [INFO] [stdout] [INFO] [stdout] all doctests ran in 96.67s; merged doctests compilation took 0.69s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "3fce010f42f16e7851be2759ef93f615cb07219a295539fbb2967514726391f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fce010f42f16e7851be2759ef93f615cb07219a295539fbb2967514726391f0", kill_on_drop: false }` [INFO] [stdout] 3fce010f42f16e7851be2759ef93f615cb07219a295539fbb2967514726391f0