[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] testing charlag/rusty-bird against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharlag%2Frusty-bird" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/charlag/rusty-bird on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-6/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" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-6/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" "+beta-2020-06-03" "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" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stdout] d3237186e9da22330ac0a6c58be82b04159c5165da2342a6768183ee44169417 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "d3237186e9da22330ac0a6c58be82b04159c5165da2342a6768183ee44169417"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling percent-encoding v2.1.0 (https://github.com/servo/rust-url#28314752) [INFO] [stderr] Compiling idna v0.2.0 (https://github.com/servo/rust-url#28314752) [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling url v2.1.1 (https://github.com/servo/rust-url#28314752) [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling pin-project-internal v0.4.20 [INFO] [stderr] Compiling pin-project v0.4.20 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling 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] warning: 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: `#[warn(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: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 10 previous errors; 2 warnings 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" "d3237186e9da22330ac0a6c58be82b04159c5165da2342a6768183ee44169417"` [INFO] running `"docker" "rm" "-f" "d3237186e9da22330ac0a6c58be82b04159c5165da2342a6768183ee44169417"` [INFO] [stdout] d3237186e9da22330ac0a6c58be82b04159c5165da2342a6768183ee44169417