[INFO] updating cached repository https://github.com/charlag/rusty-bird [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d388381d1f36b4bd3182c3b41ecc030716e07df [INFO] testing charlag/rusty-bird against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharlag%2Frusty-bird" "/workspace/builds/worker-0/source", kill_on_drop: false }` [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 beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/servo/rust-url` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef2ba07007cf9cdda4df1daec7e5eb1a9708ba3d527c37629d8397403fa96dee [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ef2ba07007cf9cdda4df1daec7e5eb1a9708ba3d527c37629d8397403fa96dee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef2ba07007cf9cdda4df1daec7e5eb1a9708ba3d527c37629d8397403fa96dee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef2ba07007cf9cdda4df1daec7e5eb1a9708ba3d527c37629d8397403fa96dee", kill_on_drop: false }` [INFO] [stdout] ef2ba07007cf9cdda4df1daec7e5eb1a9708ba3d527c37629d8397403fa96dee [INFO] running `Command { std: "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=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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 657f46bc8752cdbcf46f9298921fea86cc268b77226ded361705dfe5fb245d65 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "657f46bc8752cdbcf46f9298921fea86cc268b77226ded361705dfe5fb245d65", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 (https://github.com/servo/rust-url#0a92c73a) [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.13 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling idna v0.2.0 (https://github.com/servo/rust-url#0a92c73a) [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling form_urlencoded v1.0.0 (https://github.com/servo/rust-url#0a92c73a) [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.18 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling url v2.1.1 (https://github.com/servo/rust-url#0a92c73a) [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling rusty_bird v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `hyper::header::Connection` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use hyper::header::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `Connection` in `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `hyper::header::Headers`, `hyper::header::Authorization`, `hyper::header::Basic`, `hyper::header::ContentType`, `hyper::header::Bearer` [INFO] [stdout] --> src/main.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | use hyper::header::{Headers, Authorization, Basic, ContentType, Bearer}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^ no `Bearer` in `header` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `ContentType` in `header` [INFO] [stdout] | | | no `Basic` in `header` [INFO] [stdout] | | no `Authorization` in `header` [INFO] [stdout] | no `Headers` in `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORM_URLENCODED_ENCODE_SET` in crate `percent_encoding` [INFO] [stdout] --> src/main.rs:53:115 [INFO] [stdout] | [INFO] [stdout] 53 | ...percent_encode(url, percent_encoding::FORM_URLENCODED_ENCODE_SET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `percent_encoding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORM_URLENCODED_ENCODE_SET` in crate `percent_encoding` [INFO] [stdout] --> src/main.rs:55:75 [INFO] [stdout] | [INFO] [stdout] 55 | ... percent_encoding::FORM_URLENCODED_ENCODE_SET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `percent_encoding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORM_URLENCODED_ENCODE_SET` in crate `percent_encoding` [INFO] [stdout] --> src/main.rs:66:59 [INFO] [stdout] | [INFO] [stdout] 66 | ... percent_encoding::FORM_URLENCODED_ENCODE_SET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `percent_encoding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern crate `percent_encoding` is private, and cannot be re-exported (error E0365), consider declaring with `pub` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use url::percent_encoding; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(pub_use_of_private_extern_crate)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ascii::AsciiExt': use inherent methods instead [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:53:53 [INFO] [stdout] | [INFO] [stdout] 53 | ...&".to_string() + &percent_encoding::utf8_percent_encode(url, percent_encoding::FORM_URLENCODED_ENCODE_SET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `str`, found struct `percent_encoding::PercentEncode` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&percent_encoding::PercentEncode<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:56:56 [INFO] [stdout] | [INFO] [stdout] 56 | let sign_base_string = params_for_encoding + "&" + &percent_encoded_params; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `str`, found struct `percent_encoding::PercentEncode` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&percent_encoding::PercentEncode<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `post` found for struct `hyper::Client` in the current scope [INFO] [stdout] --> src/main.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | let mut req = client.post("https://api.twitter.com/oauth/request_token") [INFO] [stdout] | ^^^^ method not found in `hyper::Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:175:34 [INFO] [stdout] | [INFO] [stdout] 175 | let mut req = client.get(&url) [INFO] [stdout] | ^^^^ expected struct `hyper::Uri`, found `&std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `headers` found for struct `hyper::client::ResponseFuture` in the current scope [INFO] [stdout] --> src/main.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | .headers(headers) [INFO] [stdout] | ^^^^^^^ method not found in `hyper::client::ResponseFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_bird`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "657f46bc8752cdbcf46f9298921fea86cc268b77226ded361705dfe5fb245d65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "657f46bc8752cdbcf46f9298921fea86cc268b77226ded361705dfe5fb245d65", kill_on_drop: false }` [INFO] [stdout] 657f46bc8752cdbcf46f9298921fea86cc268b77226ded361705dfe5fb245d65