[INFO] cloning repository https://github.com/charlag/rusty-bird [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/charlag/rusty-bird" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharlag%2Frusty-bird"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharlag%2Frusty-bird'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5d388381d1f36b4bd3182c3b41ecc030716e07df [INFO] checking charlag/rusty-bird against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharlag%2Frusty-bird" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/charlag/rusty-bird on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/charlag/rusty-bird [INFO] finished tweaking git repo https://github.com/charlag/rusty-bird [INFO] tweaked toml for git repo https://github.com/charlag/rusty-bird written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/charlag/rusty-bird already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/servo/rust-url` [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"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" "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" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fdf4a3712f9d31ae487c527b684323a4e124bd68041f7117eef9ac3c111e7988 [INFO] running `"docker" "start" "-a" "fdf4a3712f9d31ae487c527b684323a4e124bd68041f7117eef9ac3c111e7988"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking percent-encoding v2.1.0 (https://github.com/servo/rust-url#7d2c9d6c) [INFO] [stderr] Checking idna v0.2.0 (https://github.com/servo/rust-url#7d2c9d6c) [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking url v2.1.0 (https://github.com/servo/rust-url#7d2c9d6c) [INFO] [stderr] Checking hyper v0.12.35 [INFO] [stderr] Checking rusty_bird v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `hyper::header::Connection` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use hyper::header::Connection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `Connection` in `header` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `hyper::header::Headers`, `hyper::header::Authorization`, `hyper::header::Basic`, `hyper::header::ContentType`, `hyper::header::Bearer` [INFO] [stderr] --> src/main.rs:18:21 [INFO] [stderr] | [INFO] [stderr] 18 | use hyper::header::{Headers, Authorization, Basic, ContentType, Bearer}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^ no `Bearer` in `header` [INFO] [stderr] | | | | | [INFO] [stderr] | | | | no `ContentType` in `header` [INFO] [stderr] | | | no `Basic` in `header` [INFO] [stderr] | | no `Authorization` in `header` [INFO] [stderr] | no `Headers` in `header` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FORM_URLENCODED_ENCODE_SET` in crate `percent_encoding` [INFO] [stderr] --> src/main.rs:53:115 [INFO] [stderr] | [INFO] [stderr] 53 | let params_for_encoding = "POST&".to_string() + &percent_encoding::utf8_percent_encode(url, percent_encoding::FORM_URLENCODED_ENCODE_SET); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `percent_encoding` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FORM_URLENCODED_ENCODE_SET` in crate `percent_encoding` [INFO] [stderr] --> src/main.rs:55:75 [INFO] [stderr] | [INFO] [stderr] 55 | ... percent_encoding::FORM_URLENCODED_ENCODE_SET); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `percent_encoding` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FORM_URLENCODED_ENCODE_SET` in crate `percent_encoding` [INFO] [stderr] --> src/main.rs:66:59 [INFO] [stderr] | [INFO] [stderr] 66 | ... percent_encoding::FORM_URLENCODED_ENCODE_SET); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `percent_encoding` [INFO] [stderr] [INFO] [stderr] error: extern crate `percent_encoding` is private, and cannot be re-exported (error E0365), consider declaring with `pub` [INFO] [stderr] --> src/main.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use url::percent_encoding; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[deny(pub_use_of_private_extern_crate)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::ascii::AsciiExt': use inherent methods instead [INFO] [stderr] --> src/main.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::header::Connection` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use hyper::header::Connection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `Connection` in `header` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `hyper::header::Headers`, `hyper::header::Authorization`, `hyper::header::Basic`, `hyper::header::ContentType`, `hyper::header::Bearer` [INFO] [stderr] --> src/main.rs:18:21 [INFO] [stderr] | [INFO] [stderr] 18 | use hyper::header::{Headers, Authorization, Basic, ContentType, Bearer}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^ no `Bearer` in `header` [INFO] [stderr] | | | | | [INFO] [stderr] | | | | no `ContentType` in `header` [INFO] [stderr] | | | no `Basic` in `header` [INFO] [stderr] | | no `Authorization` in `header` [INFO] [stderr] | no `Headers` in `header` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FORM_URLENCODED_ENCODE_SET` in crate `percent_encoding` [INFO] [stderr] --> src/main.rs:53:115 [INFO] [stderr] | [INFO] [stderr] 53 | let params_for_encoding = "POST&".to_string() + &percent_encoding::utf8_percent_encode(url, percent_encoding::FORM_URLENCODED_ENCODE_SET); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `percent_encoding` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FORM_URLENCODED_ENCODE_SET` in crate `percent_encoding` [INFO] [stderr] --> src/main.rs:55:75 [INFO] [stderr] | [INFO] [stderr] 55 | ... percent_encoding::FORM_URLENCODED_ENCODE_SET); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `percent_encoding` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FORM_URLENCODED_ENCODE_SET` in crate `percent_encoding` [INFO] [stderr] --> src/main.rs:66:59 [INFO] [stderr] | [INFO] [stderr] 66 | ... percent_encoding::FORM_URLENCODED_ENCODE_SET); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `percent_encoding` [INFO] [stderr] [INFO] [stderr] error: extern crate `percent_encoding` is private, and cannot be re-exported (error E0365), consider declaring with `pub` [INFO] [stderr] --> src/main.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use url::percent_encoding; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[deny(pub_use_of_private_extern_crate)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::ascii::AsciiExt': use inherent methods instead [INFO] [stderr] --> src/main.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:53:53 [INFO] [stderr] | [INFO] [stderr] 53 | let params_for_encoding = "POST&".to_string() + &percent_encoding::utf8_percent_encode(url, percent_encoding::FORM_URLENCODED_ENCODE_SET); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected str, found struct `percent_encoding::PercentEncode` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&str` [INFO] [stderr] found type `&percent_encoding::PercentEncode<'_>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:56:56 [INFO] [stderr] | [INFO] [stderr] 56 | let sign_base_string = params_for_encoding + "&" + &percent_encoded_params; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected str, found struct `percent_encoding::PercentEncode` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&str` [INFO] [stderr] found type `&percent_encoding::PercentEncode<'_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `post` found for type `hyper::Client` in the current scope [INFO] [stderr] --> src/main.rs:76:26 [INFO] [stderr] | [INFO] [stderr] 76 | let mut req = client.post("https://api.twitter.com/oauth/request_token") [INFO] [stderr] | ^^^^ method not found in `hyper::Client` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:53:53 [INFO] [stderr] | [INFO] [stderr] 53 | let params_for_encoding = "POST&".to_string() + &percent_encoding::utf8_percent_encode(url, percent_encoding::FORM_URLENCODED_ENCODE_SET); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected str, found struct `percent_encoding::PercentEncode` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&str` [INFO] [stderr] found type `&percent_encoding::PercentEncode<'_>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:175:34 [INFO] [stderr] | [INFO] [stderr] 175 | let mut req = client.get(&url) [INFO] [stderr] | ^^^^ expected struct `hyper::Uri`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `hyper::Uri` [INFO] [stderr] found type `&std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:56:56 [INFO] [stderr] | [INFO] [stderr] 56 | let sign_base_string = params_for_encoding + "&" + &percent_encoded_params; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected str, found struct `percent_encoding::PercentEncode` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&str` [INFO] [stderr] found type `&percent_encoding::PercentEncode<'_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `headers` found for type `hyper::client::ResponseFuture` in the current scope [INFO] [stderr] --> src/main.rs:176:14 [INFO] [stderr] | [INFO] [stderr] 176 | .headers(headers) [INFO] [stderr] | ^^^^^^^ method not found in `hyper::client::ResponseFuture` [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error[E0599]: no method named `post` found for type `hyper::Client` in the current scope [INFO] [stderr] --> src/main.rs:76:26 [INFO] [stderr] | [INFO] [stderr] 76 | let mut req = client.post("https://api.twitter.com/oauth/request_token") [INFO] [stderr] | ^^^^ method not found in `hyper::Client` [INFO] [stderr] [INFO] [stderr] error: could not compile `rusty_bird`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:175:34 [INFO] [stderr] | [INFO] [stderr] 175 | let mut req = client.get(&url) [INFO] [stderr] | ^^^^ expected struct `hyper::Uri`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `hyper::Uri` [INFO] [stderr] found type `&std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `headers` found for type `hyper::client::ResponseFuture` in the current scope [INFO] [stderr] --> src/main.rs:176:14 [INFO] [stderr] | [INFO] [stderr] 176 | .headers(headers) [INFO] [stderr] | ^^^^^^^ method not found in `hyper::client::ResponseFuture` [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `rusty_bird`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "fdf4a3712f9d31ae487c527b684323a4e124bd68041f7117eef9ac3c111e7988"` [INFO] running `"docker" "rm" "-f" "fdf4a3712f9d31ae487c527b684323a4e124bd68041f7117eef9ac3c111e7988"` [INFO] [stdout] fdf4a3712f9d31ae487c527b684323a4e124bd68041f7117eef9ac3c111e7988