[INFO] fetching crate rustclient 0.0.1... [INFO] checking rustclient-0.0.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate rustclient 0.0.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate rustclient 0.0.1 [INFO] finished tweaking crates.io crate rustclient 0.0.1 [INFO] tweaked toml for crates.io crate rustclient 0.0.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustclient 0.0.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/servo/rust-url` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 34 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 800fde9346c6a5ff8c35a7fc01d428936d21556c1bc9112af3156350bb3bfbc6 [INFO] running `Command { std: "docker" "start" "-a" "800fde9346c6a5ff8c35a7fc01d428936d21556c1bc9112af3156350bb3bfbc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "800fde9346c6a5ff8c35a7fc01d428936d21556c1bc9112af3156350bb3bfbc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "800fde9346c6a5ff8c35a7fc01d428936d21556c1bc9112af3156350bb3bfbc6", kill_on_drop: false }` [INFO] [stdout] 800fde9346c6a5ff8c35a7fc01d428936d21556c1bc9112af3156350bb3bfbc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a04407422ecd1ed5de26f6362e144a5e9ea5738cff0b54571abe0b5f4069dc6 [INFO] running `Command { std: "docker" "start" "-a" "3a04407422ecd1ed5de26f6362e144a5e9ea5738cff0b54571abe0b5f4069dc6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking percent-encoding v2.3.2 (https://github.com/servo/rust-url#2387efa1) [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking form_urlencoded v1.2.2 (https://github.com/servo/rust-url#2387efa1) [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 (https://github.com/servo/rust-url#2387efa1) [INFO] [stderr] Checking url v2.5.7 (https://github.com/servo/rust-url#2387efa1) [INFO] [stderr] Checking rustclient v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stdout] --> src/dns.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | spawn(proc() { [INFO] [stdout] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stdout] --> src/dns.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | spawn(proc() { [INFO] [stdout] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::net` [INFO] [stdout] --> src/http.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::net::ip; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `url::SchemeData` [INFO] [stdout] --> src/http.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use url::{Url, SchemeData, ParseError}; [INFO] [stdout] | ^^^^^^^^^^ no `SchemeData` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::comm` [INFO] [stdout] --> src/dns.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::comm; [INFO] [stdout] | ^^^^^^^^^ no `comm` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::timer` [INFO] [stdout] --> src/dns.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::timer; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `timer` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::net` [INFO] [stdout] --> src/dns.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::net::addrinfo; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::net` [INFO] [stdout] --> src/dns.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::net::ip; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `select` in this scope [INFO] [stdout] --> src/dns.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | select! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoResult` in module `io` [INFO] [stdout] --> src/dns.rs:8:76 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn lookup(host: &'static str, timeout_duration: time::Duration) -> io::IoResult> { [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `Result` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/io/error.rs:52:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named type alias `Result` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> src/dns.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx, rx): (Sender>>, Receiver>>) = comm::channel(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/marker.rs:94:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Send` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 9 - let (tx, rx): (Sender>>, Receiver>>) = comm::channel(); [INFO] [stdout] 9 + let (tx, rx): (Send>>, Receiver>>) = comm::channel(); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::mpmc::Sender; [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoResult` in module `io` [INFO] [stdout] --> src/dns.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx, rx): (Sender>>, Receiver>>) = comm::channel(); [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `Result` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/io/error.rs:52:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named type alias `Result` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stdout] --> src/dns.rs:9:59 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx, rx): (Sender>>, Receiver>>) = comm::channel(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::ops::Receiver; [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::mpmc::Receiver; [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::mpsc::Receiver; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoResult` in module `io` [INFO] [stdout] --> src/dns.rs:9:72 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx, rx): (Sender>>, Receiver>>) = comm::channel(); [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `Result` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/io/error.rs:52:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named type alias `Result` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/dns.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | spawn(proc() { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time` [INFO] [stdout] --> src/http.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/http.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use std::result::{Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParseError` [INFO] [stdout] --> src/http.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use url::{Url, SchemeData, ParseError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dns` [INFO] [stdout] --> src/http.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use dns; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::net` [INFO] [stdout] --> src/http.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::net::ip; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/http.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | return from_str::(domain).is_some() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `url::SchemeData` [INFO] [stdout] --> src/http.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use url::{Url, SchemeData, ParseError}; [INFO] [stdout] | ^^^^^^^^^^ no `SchemeData` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::comm` [INFO] [stdout] --> src/dns.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::comm; [INFO] [stdout] | ^^^^^^^^^ no `comm` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::timer` [INFO] [stdout] --> src/dns.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::timer; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `timer` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::net` [INFO] [stdout] --> src/dns.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::net::addrinfo; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::net` [INFO] [stdout] --> src/dns.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::net::ip; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `select` in this scope [INFO] [stdout] --> src/dns.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | select! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoResult` in module `io` [INFO] [stdout] --> src/dns.rs:8:76 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn lookup(host: &'static str, timeout_duration: time::Duration) -> io::IoResult> { [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `Result` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/io/error.rs:52:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named type alias `Result` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> src/dns.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx, rx): (Sender>>, Receiver>>) = comm::channel(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/marker.rs:94:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Send` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 9 - let (tx, rx): (Sender>>, Receiver>>) = comm::channel(); [INFO] [stdout] 9 + let (tx, rx): (Send>>, Receiver>>) = comm::channel(); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::mpmc::Sender; [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoResult` in module `io` [INFO] [stdout] --> src/dns.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx, rx): (Sender>>, Receiver>>) = comm::channel(); [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `Result` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/io/error.rs:52:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named type alias `Result` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stdout] --> src/dns.rs:9:59 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx, rx): (Sender>>, Receiver>>) = comm::channel(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::ops::Receiver; [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::mpmc::Receiver; [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::mpsc::Receiver; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoResult` in module `io` [INFO] [stdout] --> src/dns.rs:9:72 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx, rx): (Sender>>, Receiver>>) = comm::channel(); [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `Result` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/io/error.rs:52:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named type alias `Result` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/dns.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | spawn(proc() { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `num_milliseconds` found for struct `Duration` in the current scope [INFO] [stdout] --> src/dns.rs:14:49 [INFO] [stdout] | [INFO] [stdout] 14 | host, timeout_duration.num_milliseconds()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `Duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time` [INFO] [stdout] --> src/http.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/http.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use std::result::{Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `proc` in this scope [INFO] [stdout] --> src/dns.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | spawn(proc() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParseError` [INFO] [stdout] --> src/http.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use url::{Url, SchemeData, ParseError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dns` [INFO] [stdout] --> src/http.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use dns; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/http.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(ref url) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dom` [INFO] [stdout] --> src/http.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let dom = "foobar"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/http.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let out = get("https://api.twilio.com"); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/http.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | return from_str::(domain).is_some() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustclient` (lib test) due to 17 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `num_milliseconds` found for struct `Duration` in the current scope [INFO] [stdout] --> src/dns.rs:14:49 [INFO] [stdout] | [INFO] [stdout] 14 | host, timeout_duration.num_milliseconds()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `Duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `proc` in this scope [INFO] [stdout] --> src/dns.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | spawn(proc() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/http.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(ref url) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dom` [INFO] [stdout] --> src/http.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let dom = "foobar"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustclient` (lib) due to 17 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3a04407422ecd1ed5de26f6362e144a5e9ea5738cff0b54571abe0b5f4069dc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a04407422ecd1ed5de26f6362e144a5e9ea5738cff0b54571abe0b5f4069dc6", kill_on_drop: false }` [INFO] [stdout] 3a04407422ecd1ed5de26f6362e144a5e9ea5738cff0b54571abe0b5f4069dc6