[INFO] fetching crate dnstimeout 0.0.1... [INFO] checking dnstimeout-0.0.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate dnstimeout 0.0.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate dnstimeout 0.0.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7a0b264c1576551a4f08d86171f39f176d67f98cbd3e3adf4a8a054639e26970 [INFO] running `Command { std: "docker" "start" "-a" "7a0b264c1576551a4f08d86171f39f176d67f98cbd3e3adf4a8a054639e26970", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a0b264c1576551a4f08d86171f39f176d67f98cbd3e3adf4a8a054639e26970", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a0b264c1576551a4f08d86171f39f176d67f98cbd3e3adf4a8a054639e26970", kill_on_drop: false }` [INFO] [stdout] 7a0b264c1576551a4f08d86171f39f176d67f98cbd3e3adf4a8a054639e26970 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0eb52de5cb520b6f3f1126605923cc1a460d9f742b93bde7a88e41ba8c14b0ec [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0eb52de5cb520b6f3f1126605923cc1a460d9f742b93bde7a88e41ba8c14b0ec", kill_on_drop: false }` [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: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[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[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] [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] [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] [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] [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] [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] [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 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] 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [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/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 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] [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: build failed [INFO] running `Command { std: "docker" "inspect" "0eb52de5cb520b6f3f1126605923cc1a460d9f742b93bde7a88e41ba8c14b0ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eb52de5cb520b6f3f1126605923cc1a460d9f742b93bde7a88e41ba8c14b0ec", kill_on_drop: false }` [INFO] [stdout] 0eb52de5cb520b6f3f1126605923cc1a460d9f742b93bde7a88e41ba8c14b0ec