[INFO] fetching crate dnstimeout 0.0.1... [INFO] checking dnstimeout-0.0.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate dnstimeout 0.0.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate dnstimeout 0.0.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b8d0f46720c6267f2271393d8eec0adb98cd5e2efab98cd2bb38f796bb5c009 [INFO] running `Command { std: "docker" "start" "-a" "6b8d0f46720c6267f2271393d8eec0adb98cd5e2efab98cd2bb38f796bb5c009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b8d0f46720c6267f2271393d8eec0adb98cd5e2efab98cd2bb38f796bb5c009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b8d0f46720c6267f2271393d8eec0adb98cd5e2efab98cd2bb38f796bb5c009", kill_on_drop: false }` [INFO] [stdout] 6b8d0f46720c6267f2271393d8eec0adb98cd5e2efab98cd2bb38f796bb5c009 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 700e9697afa4ff10d00261db4431f3371bc27ad186adf2d38e47e0389c90c9d2 [INFO] running `Command { std: "docker" "start" "-a" "700e9697afa4ff10d00261db4431f3371bc27ad186adf2d38e47e0389c90c9d2", 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> { [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `Result` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/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>>, mpsc::Receiver>>) = channel(); [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `Result` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/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> { [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `Result` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/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>>, mpsc::Receiver>>) = channel(); [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `Result` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/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>>, mpsc::Receiver>>) = channel(); [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `Result` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/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>>, mpsc::Receiver>>) = channel(); [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `Result` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/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 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] [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] [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 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: aborting due to 10 previous errors [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/time.rs:211:5 [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] error: aborting due to 11 previous errors [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] [stderr] error: could not compile `dnstimeout` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `dnstimeout` (lib test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "700e9697afa4ff10d00261db4431f3371bc27ad186adf2d38e47e0389c90c9d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "700e9697afa4ff10d00261db4431f3371bc27ad186adf2d38e47e0389c90c9d2", kill_on_drop: false }` [INFO] [stdout] 700e9697afa4ff10d00261db4431f3371bc27ad186adf2d38e47e0389c90c9d2