[INFO] crate track17 0.1.0 is already in cache [INFO] testing track17-0.1.0 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate track17 0.1.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate track17 0.1.0 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate track17 0.1.0 [INFO] finished tweaking crates.io crate track17 0.1.0 [INFO] tweaked toml for crates.io crate track17 0.1.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a34321852cf03fee2df08dd359cedc773146b6603acf4e8a68f8c4598826e461 [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" "a34321852cf03fee2df08dd359cedc773146b6603acf4e8a68f8c4598826e461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a34321852cf03fee2df08dd359cedc773146b6603acf4e8a68f8c4598826e461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a34321852cf03fee2df08dd359cedc773146b6603acf4e8a68f8c4598826e461", kill_on_drop: false }` [INFO] [stdout] a34321852cf03fee2df08dd359cedc773146b6603acf4e8a68f8c4598826e461 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0b7ed04b21d49c0a8807d0f3cbc622e2122befc6ccdcc0d899f8ca94a0dc4cb [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" "c0b7ed04b21d49c0a8807d0f3cbc622e2122befc6ccdcc0d899f8ca94a0dc4cb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling tracing-core v0.1.11 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.17 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling track17 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `self::hyper::Chunk` [INFO] [stdout] --> src/api.rs:9:74 [INFO] [stdout] | [INFO] [stdout] 9 | pub use self::hyper::{Client, Request, Method, Response, StatusCode, Chunk}; [INFO] [stdout] | ^^^^^ no `Chunk` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `self::hyper::header::ContentType`, `self::hyper::header::ContentLength`, `self::hyper::header::Referer`, `self::hyper::header::Origin`, `self::hyper::header::UserAgent`, `self::hyper::header::Accept` [INFO] [stdout] --> src/api.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | pub use self::hyper::header::{ContentType, ContentLength, Referer, Origin, UserAgent, Accept}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^ no `Accept` in `header` [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | no `UserAgent` in `header` [INFO] [stdout] | | | | no `Origin` in `header` [INFO] [stdout] | | | no `Referer` in `header` [INFO] [stdout] | | no `ContentLength` in `header` [INFO] [stdout] | no `ContentType` in `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::hyper::client::FutureResponse` [INFO] [stdout] --> src/api.rs:11:50 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::hyper::client::{HttpConnector, FutureResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `FutureResponse` in `client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `header` in this scope [INFO] [stdout] --> src/api.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | header! { (XRequestedWith, "X-Requested-With") => [String] } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XRequestedWith` in module `hyper` [INFO] [stdout] --> src/api.rs:146:38 [INFO] [stdout] | [INFO] [stdout] 146 | req.headers_mut().set(hyper::XRequestedWith("XMLHttpRequest".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate hyper; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Future`, `Stream` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Stream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | Future [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Ok` found for struct `hyper::StatusCode` in the current scope [INFO] [stdout] --> src/utils.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | hyper::StatusCode::Ok => Ok(response), [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | associated item not found in `hyper::StatusCode` [INFO] [stdout] | help: there is an associated constant with a similar name (notice the capitalization): `OK` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | .and_then(handle_bad_hyper_response!("Cannot track package.")) [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `configure` found for struct `hyper::Client<_, _>` in the current scope [INFO] [stdout] --> src/api.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | let hyper = hyper::Client::configure().keep_alive(true) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `hyper::Client<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 2 arguments were supplied [INFO] [stdout] --> src/api.rs:126:58 [INFO] [stdout] | [INFO] [stdout] 126 | ... .connector(hyper::HttpsConnector::new(4, &handle).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ - ------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `api::hyper::hyper_tls::HttpsConnector` in the current scope [INFO] [stdout] --> src/api.rs:126:97 [INFO] [stdout] | [INFO] [stdout] 126 | ... .connector(hyper::HttpsConnector::new(4, &handle).unwrap()) [INFO] [stdout] | ^^^^^^ method not found in `api::hyper::hyper_tls::HttpsConnector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/api.rs:139:23 [INFO] [stdout] | [INFO] [stdout] 139 | let mut req = hyper::Request::new(hyper::Method::Post, TRACKER_URL.parse().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ------------------- ---------------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Post` found for struct `hyper::Method` in the current scope [INFO] [stdout] --> src/api.rs:139:58 [INFO] [stdout] | [INFO] [stdout] 139 | let mut req = hyper::Request::new(hyper::Method::Post, TRACKER_URL.parse().unwrap()); [INFO] [stdout] | ^^^^ associated item not found in `hyper::Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set` found for mutable reference `&mut hyper::HeaderMap` in the current scope [INFO] [stdout] --> src/api.rs:142:27 [INFO] [stdout] | [INFO] [stdout] 142 | req.headers_mut().set(hyper::ContentType::json()); [INFO] [stdout] | ^^^ help: there is an associated function with a similar name: `get` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set` found for mutable reference `&mut hyper::HeaderMap` in the current scope [INFO] [stdout] --> src/api.rs:143:27 [INFO] [stdout] | [INFO] [stdout] 143 | req.headers_mut().set(hyper::Origin::new("https", "www.17track.net", None)); [INFO] [stdout] | ^^^ help: there is an associated function with a similar name: `get` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set` found for mutable reference `&mut hyper::HeaderMap` in the current scope [INFO] [stdout] --> src/api.rs:144:27 [INFO] [stdout] | [INFO] [stdout] 144 | req.headers_mut().set(hyper::Referer::new(format!("http://www.17track.net/pt/track?nums={}&fc=0", num))); [INFO] [stdout] | ^^^ help: there is an associated function with a similar name: `get` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set` found for mutable reference `&mut hyper::HeaderMap` in the current scope [INFO] [stdout] --> src/api.rs:145:27 [INFO] [stdout] | [INFO] [stdout] 145 | ... req.headers_mut().set(hyper::UserAgent::new("Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.262... [INFO] [stdout] | ^^^ help: there is an associated function with a similar name: `get` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set` found for mutable reference `&mut hyper::HeaderMap` in the current scope [INFO] [stdout] --> src/api.rs:146:27 [INFO] [stdout] | [INFO] [stdout] 146 | req.headers_mut().set(hyper::XRequestedWith("XMLHttpRequest".to_string())); [INFO] [stdout] | ^^^ help: there is an associated function with a similar name: `get` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set` found for mutable reference `&mut hyper::HeaderMap` in the current scope [INFO] [stdout] --> src/api.rs:147:27 [INFO] [stdout] | [INFO] [stdout] 147 | req.headers_mut().set(hyper::Accept::star()); [INFO] [stdout] | ^^^ help: there is an associated function with a similar name: `get` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set` found for mutable reference `&mut hyper::HeaderMap` in the current scope [INFO] [stdout] --> src/api.rs:148:27 [INFO] [stdout] | [INFO] [stdout] 148 | req.headers_mut().set(hyper::ContentType::form_url_encoded()); [INFO] [stdout] | ^^^ help: there is an associated function with a similar name: `get` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_body` found for struct `hyper::Request<_>` in the current scope [INFO] [stdout] --> src/api.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | req.set_body(serde_json::to_string(&payload).unwrap()); [INFO] [stdout] | ^^^^^^^^ method not found in `hyper::Request<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `track17`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "c0b7ed04b21d49c0a8807d0f3cbc622e2122befc6ccdcc0d899f8ca94a0dc4cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0b7ed04b21d49c0a8807d0f3cbc622e2122befc6ccdcc0d899f8ca94a0dc4cb", kill_on_drop: false }` [INFO] [stdout] c0b7ed04b21d49c0a8807d0f3cbc622e2122befc6ccdcc0d899f8ca94a0dc4cb