[INFO] fetching crate track17 0.1.0... [INFO] testing track17-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate track17 0.1.0 into /workspace/builds/worker-6-tc1/source [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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate track17 0.1.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 161 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.48) [INFO] [stderr] Adding hyper v0.14.32 (available: v1.7.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scoped-tls v0.1.2 [INFO] [stderr] Downloaded tokio-core v0.1.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 293c49b62b58ba6bc72bef91b6df486337198877718779e03d4c20a4459a7541 [INFO] running `Command { std: "docker" "start" "-a" "293c49b62b58ba6bc72bef91b6df486337198877718779e03d4c20a4459a7541", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "293c49b62b58ba6bc72bef91b6df486337198877718779e03d4c20a4459a7541", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "293c49b62b58ba6bc72bef91b6df486337198877718779e03d4c20a4459a7541", kill_on_drop: false }` [INFO] [stdout] 293c49b62b58ba6bc72bef91b6df486337198877718779e03d4c20a4459a7541 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ede137eea0deca8231ee409d57d489bafb3c948290077b22c1bd0a0816b9c770 [INFO] running `Command { std: "docker" "start" "-a" "ede137eea0deca8231ee409d57d489bafb3c948290077b22c1bd0a0816b9c770", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling track17 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `self::hyper::Client`, `self::hyper::Chunk` [INFO] [stdout] --> src/api.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | pub use self::hyper::{Client, Request, Method, Response, StatusCode, Chunk}; [INFO] [stdout] | ^^^^^^ no `Client` in the root ^^^^^ no `Chunk` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] api::Client [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-0.14.32/src/lib.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 98 | #![feature = "client"] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] ... [INFO] [stdout] 103 | pub use crate::client::Client; [INFO] [stdout] | ^^^^^^ [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] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 10 - pub use self::hyper::header::{ContentType, ContentLength, Referer, Origin, UserAgent, Accept}; [INFO] [stdout] 10 + pub use self::hyper::header::{ContentType, ContentLength, REFERER, Origin, UserAgent, Accept}; [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 10 - pub use self::hyper::header::{ContentType, ContentLength, Referer, Origin, UserAgent, Accept}; [INFO] [stdout] 10 + pub use self::hyper::header::{ContentType, ContentLength, Referer, ORIGIN, UserAgent, Accept}; [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 10 - pub use self::hyper::header::{ContentType, ContentLength, Referer, Origin, UserAgent, Accept}; [INFO] [stdout] 10 + pub use self::hyper::header::{ContentType, ContentLength, Referer, Origin, UserAgent, ACCEPT}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::hyper::client` [INFO] [stdout] --> src/api.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::hyper::client::{HttpConnector, FutureResponse}; [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-0.14.32/src/lib.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 98 | #![feature = "client"] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 99 | [INFO] [stdout] 100 | pub mod client; [INFO] [stdout] | ^^^^^^ [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] error[E0603]: module `error` is private [INFO] [stdout] --> src/api.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub use self::hyper::error::Error; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-0.14.32/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | mod error; [INFO] [stdout] | ^^^^^^^^^ [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Future` and `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] warning: unused imports: `Response` and `StatusCode` [INFO] [stdout] --> src/api.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | pub use self::hyper::{Client, Request, Method, Response, StatusCode, Chunk}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ - ------- unexpected argument #2 of type `&Handle` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #1 of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-tls-0.6.0/src/client.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 126 - .connector(hyper::HttpsConnector::new(4, &handle).unwrap()) [INFO] [stdout] 126 + .connector(hyper::HttpsConnector::new().unwrap()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `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 `HttpsConnector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Post` found for struct `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 `Method` [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] | ^^^^^^^^^^^^^^^^^^^ ------------------- unexpected argument #1 [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-0.2.12/src/request.rs:439:12 [INFO] [stdout] | [INFO] [stdout] 439 | pub fn new(body: T) -> Request { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 139 - let mut req = hyper::Request::new(hyper::Method::Post, TRACKER_URL.parse().unwrap()); [INFO] [stdout] 139 + let mut req = hyper::Request::new(TRACKER_URL.parse().unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Ok` found for struct `StatusCode` in the current scope [INFO] [stdout] --> src/utils.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | hyper::StatusCode::Ok => Ok(response), [INFO] [stdout] | ^^ associated item not found in `StatusCode` [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 the macro `handle_bad_hyper_response` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0432, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `track17` (bin "track17") due to 11 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ede137eea0deca8231ee409d57d489bafb3c948290077b22c1bd0a0816b9c770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ede137eea0deca8231ee409d57d489bafb3c948290077b22c1bd0a0816b9c770", kill_on_drop: false }` [INFO] [stdout] ede137eea0deca8231ee409d57d489bafb3c948290077b22c1bd0a0816b9c770