[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 try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharlag%2Frusty-bird" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/charlag/rusty-bird on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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-3/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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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-3/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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/servo/rust-url` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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] f4ea609f0a04d1077829a8e8f0787efb0ac5a5d7bbca8c47afe15e46d19ddcef [INFO] running `"docker" "start" "-a" "f4ea609f0a04d1077829a8e8f0787efb0ac5a5d7bbca8c47afe15e46d19ddcef"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking percent-encoding v2.1.0 (https://github.com/servo/rust-url#28314752) [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking idna v0.2.0 (https://github.com/servo/rust-url#28314752) [INFO] [stderr] Checking tokio v0.2.20 [INFO] [stderr] Checking url v2.1.1 (https://github.com/servo/rust-url#28314752) [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking h2 v0.2.4 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Checking pin-project v0.4.9 [INFO] [stderr] Checking hyper v0.13.5 [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 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[E0599]: no method named `post` found for struct `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: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` 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: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; 1 warning emitted [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] [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 `&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; 1 warning emitted [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" "f4ea609f0a04d1077829a8e8f0787efb0ac5a5d7bbca8c47afe15e46d19ddcef"` [INFO] running `"docker" "rm" "-f" "f4ea609f0a04d1077829a8e8f0787efb0ac5a5d7bbca8c47afe15e46d19ddcef"` [INFO] [stdout] f4ea609f0a04d1077829a8e8f0787efb0ac5a5d7bbca8c47afe15e46d19ddcef