[INFO] fetching crate rustclient 0.0.1... [INFO] checking rustclient-0.0.1 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate rustclient 0.0.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate rustclient 0.0.1 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46ea77c5a556d6b77dae572e282824b1823aaff451af868473263139368f2767 [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" "46ea77c5a556d6b77dae572e282824b1823aaff451af868473263139368f2767", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46ea77c5a556d6b77dae572e282824b1823aaff451af868473263139368f2767", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46ea77c5a556d6b77dae572e282824b1823aaff451af868473263139368f2767", kill_on_drop: false }` [INFO] [stdout] 46ea77c5a556d6b77dae572e282824b1823aaff451af868473263139368f2767 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1daf03e73f52fa21a058912a76f5b8df06a0b00fee6e962b11542ee12980730 [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" "b1daf03e73f52fa21a058912a76f5b8df06a0b00fee6e962b11542ee12980730", kill_on_drop: false }` [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 (https://github.com/servo/rust-url#837538c5) [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking form_urlencoded v1.0.1 (https://github.com/servo/rust-url#837538c5) [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking idna v0.2.3 (https://github.com/servo/rust-url#837538c5) [INFO] [stderr] Checking url v2.2.1 (https://github.com/servo/rust-url#837538c5) [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: 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[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] 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] 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] 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] 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] 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] 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[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" "b1daf03e73f52fa21a058912a76f5b8df06a0b00fee6e962b11542ee12980730", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1daf03e73f52fa21a058912a76f5b8df06a0b00fee6e962b11542ee12980730", kill_on_drop: false }` [INFO] [stdout] b1daf03e73f52fa21a058912a76f5b8df06a0b00fee6e962b11542ee12980730