[INFO] fetching crate dnstimeout 0.0.1...
[INFO] checking dnstimeout-0.0.1 against try#264a7c4a1c917c83d13895a31231f9d93c7b67e1 for pr-132289
[INFO] extracting crate dnstimeout 0.0.1 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate dnstimeout 0.0.1 on toolchain 264a7c4a1c917c83d13895a31231f9d93c7b67e1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate dnstimeout 0.0.1
[INFO] finished tweaking crates.io crate dnstimeout 0.0.1
[INFO] tweaked toml for crates.io crate dnstimeout 0.0.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 99bcaacabd9f791cf718d31bcee8567afc6ac27b31fb4a820f59ef21475c0dd2
[INFO] running `Command { std: "docker" "start" "-a" "99bcaacabd9f791cf718d31bcee8567afc6ac27b31fb4a820f59ef21475c0dd2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "99bcaacabd9f791cf718d31bcee8567afc6ac27b31fb4a820f59ef21475c0dd2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99bcaacabd9f791cf718d31bcee8567afc6ac27b31fb4a820f59ef21475c0dd2", kill_on_drop: false }`
[INFO] [stdout] 99bcaacabd9f791cf718d31bcee8567afc6ac27b31fb4a820f59ef21475c0dd2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 06d180f57bda94439d47244ac44758ce74fd3521eb541a512edcf12df61a7ebe
[INFO] running `Command { std: "docker" "start" "-a" "06d180f57bda94439d47244ac44758ce74fd3521eb541a512edcf12df61a7ebe", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr]     Checking dnstimeout v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `std::io::net`
[INFO] [stdout]  --> src/lib.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | 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/lib.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | 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/lib.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::net::ip;
[INFO] [stdout]   |              ^^^ could not find `net` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::timer`
[INFO] [stdout]  --> src/lib.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/lib.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::net::ip;
[INFO] [stdout]   |              ^^^ could not find `net` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::timer`
[INFO] [stdout]  --> src/lib.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: cannot find macro `select` in this scope
[INFO] [stdout]   --> src/lib.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         select! {
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `select` in this scope
[INFO] [stdout]   --> src/lib.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         select! {
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IoResult` in module `io`
[INFO] [stdout]   --> src/lib.rs:10:70
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn lookup(host: String, timeout_duration: time::Duration) -> io::IoResult<Vec<ip::IpAddr>> {
[INFO] [stdout]    |                                                                      ^^^^^^^^ help: a type alias with a similar name exists: `Result`
[INFO] [stdout]   --> /rustc/264a7c4a1c917c83d13895a31231f9d93c7b67e1/library/std/src/io/error.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named type alias `Result` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IoResult` in module `io`
[INFO] [stdout]   --> src/lib.rs:11:36
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let (tx, rx):(mpsc::Sender<io::IoResult<Vec<ip::IpAddr>>>, mpsc::Receiver<io::IoResult<Vec<ip::IpAddr>>>) = channel();
[INFO] [stdout]    |                                    ^^^^^^^^ help: a type alias with a similar name exists: `Result`
[INFO] [stdout]   --> /rustc/264a7c4a1c917c83d13895a31231f9d93c7b67e1/library/std/src/io/error.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named type alias `Result` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IoResult` in module `io`
[INFO] [stdout]   --> src/lib.rs:11:83
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let (tx, rx):(mpsc::Sender<io::IoResult<Vec<ip::IpAddr>>>, mpsc::Receiver<io::IoResult<Vec<ip::IpAddr>>>) = channel();
[INFO] [stdout]    |                                                                                   ^^^^^^^^ help: a type alias with a similar name exists: `Result`
[INFO] [stdout]   --> /rustc/264a7c4a1c917c83d13895a31231f9d93c7b67e1/library/std/src/io/error.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named type alias `Result` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IoResult` in module `io`
[INFO] [stdout]   --> src/lib.rs:10:70
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn lookup(host: String, timeout_duration: time::Duration) -> io::IoResult<Vec<ip::IpAddr>> {
[INFO] [stdout]    |                                                                      ^^^^^^^^ help: a type alias with a similar name exists: `Result`
[INFO] [stdout]   --> /rustc/264a7c4a1c917c83d13895a31231f9d93c7b67e1/library/std/src/io/error.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named type alias `Result` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IoResult` in module `io`
[INFO] [stdout]   --> src/lib.rs:11:36
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let (tx, rx):(mpsc::Sender<io::IoResult<Vec<ip::IpAddr>>>, mpsc::Receiver<io::IoResult<Vec<ip::IpAddr>>>) = channel();
[INFO] [stdout]    |                                    ^^^^^^^^ help: a type alias with a similar name exists: `Result`
[INFO] [stdout]   --> /rustc/264a7c4a1c917c83d13895a31231f9d93c7b67e1/library/std/src/io/error.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named type alias `Result` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IoResult` in module `io`
[INFO] [stdout]   --> src/lib.rs:11:83
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let (tx, rx):(mpsc::Sender<io::IoResult<Vec<ip::IpAddr>>>, mpsc::Receiver<io::IoResult<Vec<ip::IpAddr>>>) = channel();
[INFO] [stdout]    |                                                                                   ^^^^^^^^ help: a type alias with a similar name exists: `Result`
[INFO] [stdout]   --> /rustc/264a7c4a1c917c83d13895a31231f9d93c7b67e1/library/std/src/io/error.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named type alias `Result` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `num_milliseconds` found for struct `Duration` in the current scope
[INFO] [stdout]   --> src/lib.rs:16:49
[INFO] [stdout]    |
[INFO] [stdout] 16 |                          host, timeout_duration.num_milliseconds());
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^ method not found in `Duration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]   --> src/lib.rs:17:21
[INFO] [stdout]    |
[INFO] [stdout] 17 |     thread::Thread::spawn(move|| {
[INFO] [stdout]    |                     ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `Thread`, consider using `Thread::from_raw` which returns `Thread`
[INFO] [stdout]   --> /rustc/264a7c4a1c917c83d13895a31231f9d93c7b67e1/library/std/src/thread/mod.rs:1573:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `num_milliseconds` found for struct `Duration` in the current scope
[INFO] [stdout]   --> src/lib.rs:16:49
[INFO] [stdout]    |
[INFO] [stdout] 16 |                          host, timeout_duration.num_milliseconds());
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^ method not found in `Duration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]   --> src/lib.rs:17:21
[INFO] [stdout]    |
[INFO] [stdout] 17 |     thread::Thread::spawn(move|| {
[INFO] [stdout]    |                     ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `Thread`, consider using `Thread::from_raw` which returns `Thread`
[INFO] [stdout]   --> /rustc/264a7c4a1c917c83d13895a31231f9d93c7b67e1/library/std/src/thread/mod.rs:1573:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/lib.rs:19:51
[INFO] [stdout]    |
[INFO] [stdout] 19 |         tx.send(addrinfo::get_host_addresses(host.as_slice()));
[INFO] [stdout]    |                                                   ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `seconds` found for struct `Duration` in the current scope
[INFO] [stdout]   --> src/lib.rs:39:68
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let res = lookup("api.twilio.com".to_string(), time::Duration::seconds(7));
[INFO] [stdout]    |                                                                    ^^^^^^^ function or associated item not found in `Duration`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `Duration` consider using one of the following associated functions:
[INFO] [stdout]       Duration::new
[INFO] [stdout]       Duration::from_secs
[INFO] [stdout]       Duration::from_millis
[INFO] [stdout]       Duration::from_micros
[INFO] [stdout]       and 9 others
[INFO] [stdout]   --> /rustc/264a7c4a1c917c83d13895a31231f9d93c7b67e1/library/core/src/time.rs:211:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/lib.rs:19:51
[INFO] [stdout]    |
[INFO] [stdout] 19 |         tx.send(addrinfo::get_host_addresses(host.as_slice()));
[INFO] [stdout]    |                                                   ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dnstimeout` (lib test) due to 11 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `dnstimeout` (lib) due to 10 previous errors
[INFO] running `Command { std: "docker" "inspect" "06d180f57bda94439d47244ac44758ce74fd3521eb541a512edcf12df61a7ebe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "06d180f57bda94439d47244ac44758ce74fd3521eb541a512edcf12df61a7ebe", kill_on_drop: false }`
[INFO] [stdout] 06d180f57bda94439d47244ac44758ce74fd3521eb541a512edcf12df61a7ebe
