[INFO] crate heliotrope 0.1.0 is already in cache [INFO] testing heliotrope-0.1.0 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] extracting crate heliotrope 0.1.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate heliotrope 0.1.0 on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate heliotrope 0.1.0 [INFO] finished tweaking crates.io crate heliotrope 0.1.0 [INFO] tweaked toml for crates.io crate heliotrope 0.1.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fa7b6c0bdec239c244314c28b82bc424b143104b6a3476dbdfc985fc89cdc569 [INFO] running `"docker" "start" "-a" "fa7b6c0bdec239c244314c28b82bc424b143104b6a3476dbdfc985fc89cdc569"` [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling standback v0.2.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling tokio v0.2.18 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Compiling time-macros-impl v0.1.0 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling time v0.2.9 [INFO] [stderr] Compiling pin-project v0.4.9 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling heliotrope v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `url::UrlParser` [INFO] [stderr] --> src/lib.rs:160:16 [INFO] [stderr] | [INFO] [stderr] 160 | use url::{Url, UrlParser}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `UrlParser` in the root [INFO] [stderr] | help: a similar name exists in the module: `Parser` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::header::ContentType` [INFO] [stderr] --> src/http_utils.rs:3:21 [INFO] [stderr] | [INFO] [stderr] 3 | use hyper::header::{ContentType}; [INFO] [stderr] | ^^^^^^^^^^^ no `ContentType` in `header` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::status` [INFO] [stderr] --> src/http_utils.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | use hyper::status::StatusCode; [INFO] [stderr] | ^^^^^^ could not find `status` in `hyper` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/document.rs:56:17 [INFO] [stderr] | [INFO] [stderr] 56 | try!(e.emit_struct_field(&field.name, i, |e| field.value.encode(e))); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/response.rs:25:30 [INFO] [stderr] | [INFO] [stderr] 25 | message: try!(d.read_struct_field("msg", 0, Decodable::decode)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/response.rs:26:29 [INFO] [stderr] | [INFO] [stderr] 26 | status: try!(d.read_struct_field("code", 1, Decodable::decode)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/response.rs:49:29 [INFO] [stderr] | [INFO] [stderr] 49 | status: try!(d.read_struct_field("status", 0, Decodable::decode)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/response.rs:50:27 [INFO] [stderr] | [INFO] [stderr] 50 | time: try!(d.read_struct_field("QTime", 1, Decodable::decode)) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `json` [INFO] [stderr] --> src/response.rs:1:23 [INFO] [stderr] | [INFO] [stderr] 1 | use rustc_serialize::{json, Decodable, Decoder}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `set_query_from_pairs` found for struct `url::Url` in the current scope [INFO] [stderr] --> src/lib.rs:251:19 [INFO] [stderr] | [INFO] [stderr] 251 | query_url.set_query_from_pairs(query.to_pairs().iter().map(|&(ref x, ref y)| (&x[..], &y[..]))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ method not found in `url::Url` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/http_utils.rs:16:38 [INFO] [stderr] | [INFO] [stderr] 16 | let result_response = client.get(&url.to_string()).send(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ expected struct `hyper::Uri`, found `&std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `send` found for struct `hyper::client::ResponseFuture` in the current scope [INFO] [stderr] --> src/http_utils.rs:16:56 [INFO] [stderr] | [INFO] [stderr] 16 | let result_response = client.get(&url.to_string()).send(); [INFO] [stderr] | ^^^^ method not found in `hyper::client::ResponseFuture` [INFO] [stderr] [INFO] [stderr] error[E0599]: no associated item named `Io` found for struct `hyper::Error` in the current scope [INFO] [stderr] --> src/http_utils.rs:28:32 [INFO] [stderr] | [INFO] [stderr] 28 | Err(Error::Io(err)) [INFO] [stderr] | ^^ associated item not found in `hyper::Error` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `post` found for struct `hyper::Client` in the current scope [INFO] [stderr] --> src/http_utils.rs:39:34 [INFO] [stderr] | [INFO] [stderr] 39 | let result_response = client.post(&url.to_string()) [INFO] [stderr] | ^^^^ method not found in `hyper::Client` [INFO] [stderr] [INFO] [stderr] error[E0599]: no associated item named `Io` found for struct `hyper::Error` in the current scope [INFO] [stderr] --> src/http_utils.rs:52:32 [INFO] [stderr] | [INFO] [stderr] 52 | Err(Error::Io(err)) [INFO] [stderr] | ^^ associated item not found in `hyper::Error` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Read` [INFO] [stderr] --> src/http_utils.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors; 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `heliotrope`. [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] [stderr] error: build failed [INFO] running `"docker" "inspect" "fa7b6c0bdec239c244314c28b82bc424b143104b6a3476dbdfc985fc89cdc569"` [INFO] running `"docker" "rm" "-f" "fa7b6c0bdec239c244314c28b82bc424b143104b6a3476dbdfc985fc89cdc569"` [INFO] [stdout] fa7b6c0bdec239c244314c28b82bc424b143104b6a3476dbdfc985fc89cdc569