[INFO] updating cached repository https://github.com/charlag/rusty-bird
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 5d388381d1f36b4bd3182c3b41ecc030716e07df
[INFO] checking charlag/rusty-bird against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharlag%2Frusty-bird" "/workspace/builds/worker-0/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/charlag/rusty-bird on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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-0/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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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] df7e2b1607167409f5ed64501c3e72191ed4c49e8e5165763a4ab29c56c37e49
[INFO] running `"docker" "start" "-a" "df7e2b1607167409f5ed64501c3e72191ed4c49e8e5165763a4ab29c56c37e49"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Checking futures-task v0.3.4
[INFO] [stderr]     Checking percent-encoding v2.1.0 (https://github.com/servo/rust-url#28314752)
[INFO] [stderr]     Checking idna v0.2.0 (https://github.com/servo/rust-url#28314752)
[INFO] [stderr]     Checking tokio v0.2.17
[INFO] [stderr]    Compiling pin-project-internal v0.4.8
[INFO] [stderr]     Checking futures-util v0.3.4
[INFO] [stderr]     Checking url v2.1.1 (https://github.com/servo/rust-url#28314752)
[INFO] [stderr]     Checking pin-project v0.4.8
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking h2 v0.2.4
[INFO] [stderr]     Checking hyper v0.13.4
[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 <https://github.com/rust-lang/rust/issues/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 <https://github.com/rust-lang/rust/issues/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 reference `&str`
[INFO] [stderr]               found reference `&percent_encoding::PercentEncode<'_>`
[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 reference `&str`
[INFO] [stderr]               found reference `&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 reference `&str`
[INFO] [stderr]               found reference `&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 reference `&str`
[INFO] [stderr]               found reference `&percent_encoding::PercentEncode<'_>`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `post` found for struct `hyper::Client<hyper::client::HttpConnector>` 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<hyper::client::HttpConnector>`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `post` found for struct `hyper::Client<hyper::client::HttpConnector>` 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<hyper::client::HttpConnector>`
[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 `&std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `headers` found for struct `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[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 `&std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `headers` found for struct `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: could not compile `rusty_bird`.
[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: 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" "df7e2b1607167409f5ed64501c3e72191ed4c49e8e5165763a4ab29c56c37e49"`
[INFO] running `"docker" "rm" "-f" "df7e2b1607167409f5ed64501c3e72191ed4c49e8e5165763a4ab29c56c37e49"`
[INFO] [stdout] df7e2b1607167409f5ed64501c3e72191ed4c49e8e5165763a4ab29c56c37e49
