[INFO] fetching crate rustclient 0.0.1... [INFO] checking rustclient-0.0.1 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate rustclient 0.0.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate rustclient 0.0.1 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/servo/rust-url` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83bb93533ae589e36cddec1ff538453c675310b2e9d02bad7a71f298b26e5483 [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" "83bb93533ae589e36cddec1ff538453c675310b2e9d02bad7a71f298b26e5483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83bb93533ae589e36cddec1ff538453c675310b2e9d02bad7a71f298b26e5483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83bb93533ae589e36cddec1ff538453c675310b2e9d02bad7a71f298b26e5483", kill_on_drop: false }` [INFO] [stdout] 83bb93533ae589e36cddec1ff538453c675310b2e9d02bad7a71f298b26e5483 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 4051ed44acfced8863067dc4d6b65d313a46867b1a65dce1a6c6c518e187549b [INFO] running `Command { std: "docker" "start" "-a" "4051ed44acfced8863067dc4d6b65d313a46867b1a65dce1a6c6c518e187549b", kill_on_drop: false }` [INFO] [stderr] Checking percent-encoding v2.1.0 (https://github.com/servo/rust-url#89876ffc) [INFO] [stderr] Checking idna v0.2.2 (https://github.com/servo/rust-url#89876ffc) [INFO] [stderr] Checking form_urlencoded v1.0.1 (https://github.com/servo/rust-url#89876ffc) [INFO] [stderr] Checking url v2.2.1 (https://github.com/servo/rust-url#89876ffc) [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[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[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[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] [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] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 9 | let (tx, rx): (Send>>, Receiver>>) = comm::channel(); [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this struct [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] [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::mpsc::Receiver; [INFO] [stdout] | [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: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] [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[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: `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[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[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] [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] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 9 | let (tx, rx): (Send>>, Receiver>>) = comm::channel(); [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this struct [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] [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::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] [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[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: `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[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: aborting due to 17 previous errors; 4 warnings emitted [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` [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/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: aborting due to 17 previous errors; 4 warnings emitted [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: build failed [INFO] running `Command { std: "docker" "inspect" "4051ed44acfced8863067dc4d6b65d313a46867b1a65dce1a6c6c518e187549b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4051ed44acfced8863067dc4d6b65d313a46867b1a65dce1a6c6c518e187549b", kill_on_drop: false }` [INFO] [stdout] 4051ed44acfced8863067dc4d6b65d313a46867b1a65dce1a6c6c518e187549b