[INFO] updating cached repository charlag/rusty-bird [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/charlag/rusty-bird [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/charlag/rusty-bird" "work/ex/beta-1.38-1/sources/1.37.0/gh/charlag/rusty-bird"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/charlag/rusty-bird'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/charlag/rusty-bird" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/charlag/rusty-bird"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/charlag/rusty-bird'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5d388381d1f36b4bd3182c3b41ecc030716e07df [INFO] sha for GitHub repo charlag/rusty-bird: 5d388381d1f36b4bd3182c3b41ecc030716e07df [INFO] validating manifest of charlag/rusty-bird on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of charlag/rusty-bird on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing charlag/rusty-bird [INFO] finished frobbing charlag/rusty-bird [INFO] frobbed toml for charlag/rusty-bird written to work/ex/beta-1.38-1/sources/1.37.0/gh/charlag/rusty-bird/Cargo.toml [INFO] started frobbing charlag/rusty-bird [INFO] finished frobbing charlag/rusty-bird [INFO] frobbed toml for charlag/rusty-bird written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/charlag/rusty-bird/Cargo.toml [INFO] crate charlag/rusty-bird already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/charlag/rusty-bird/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/servo/rust-url` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "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 `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] testing charlag/rusty-bird against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-5/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/charlag/rusty-bird:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 87d56c5e8846150de8042af64327f1da2f7c05cfed0f9f20e2186a4a3a8efc77 [INFO] running `"docker" "start" "-a" "87d56c5e8846150de8042af64327f1da2f7c05cfed0f9f20e2186a4a3a8efc77"` [INFO] [stderr] Compiling percent-encoding v2.1.0 (https://github.com/servo/rust-url#0e874ddc) [INFO] [stderr] Compiling idna v0.2.0 (https://github.com/servo/rust-url#0e874ddc) [INFO] [stderr] Compiling url v2.1.0 (https://github.com/servo/rust-url#0e874ddc) [INFO] [stderr] Compiling rusty_bird v0.1.0 (/opt/crater/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 module `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 module `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 module `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 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] | ^^^^ [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[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] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 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" "87d56c5e8846150de8042af64327f1da2f7c05cfed0f9f20e2186a4a3a8efc77"` [INFO] running `"docker" "rm" "-f" "87d56c5e8846150de8042af64327f1da2f7c05cfed0f9f20e2186a4a3a8efc77"` [INFO] [stdout] 87d56c5e8846150de8042af64327f1da2f7c05cfed0f9f20e2186a4a3a8efc77