[INFO] cloning 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" "clone" "--bare" "https://github.com/charlag/rusty-bird" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharlag%2Frusty-bird", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharlag%2Frusty-bird'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d388381d1f36b4bd3182c3b41ecc030716e07df [INFO] checking charlag/rusty-bird against master#7b3a7819371cef92a187e9bac8f7810ccde15216 for pr-74846 [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 7b3a7819371cef92a187e9bac8f7810ccde15216 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3a7819371cef92a187e9bac8f7810ccde15216" "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" "+7b3a7819371cef92a187e9bac8f7810ccde15216" "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" "+7b3a7819371cef92a187e9bac8f7810ccde15216" "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" "+7b3a7819371cef92a187e9bac8f7810ccde15216" "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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+7b3a7819371cef92a187e9bac8f7810ccde15216" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 791d300501f3407ac7740a0058c6f42c3ad6a434269fbb16b0cb66596f8e01b3 [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" "791d300501f3407ac7740a0058c6f42c3ad6a434269fbb16b0cb66596f8e01b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "791d300501f3407ac7740a0058c6f42c3ad6a434269fbb16b0cb66596f8e01b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "791d300501f3407ac7740a0058c6f42c3ad6a434269fbb16b0cb66596f8e01b3", kill_on_drop: false }` [INFO] [stdout] 791d300501f3407ac7740a0058c6f42c3ad6a434269fbb16b0cb66596f8e01b3 [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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+7b3a7819371cef92a187e9bac8f7810ccde15216" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d269f0018a5e2fb467d6ded4ca964925587345de8a665ee7f5886ae53d885f70 [INFO] running `Command { std: "docker" "start" "-a" "d269f0018a5e2fb467d6ded4ca964925587345de8a665ee7f5886ae53d885f70", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking percent-encoding v2.1.0 (https://github.com/servo/rust-url#94e2a877) [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking tracing-core v0.1.14 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking form_urlencoded v1.0.0 (https://github.com/servo/rust-url#94e2a877) [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking tracing v0.1.19 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking idna v0.2.0 (https://github.com/servo/rust-url#94e2a877) [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking url v2.1.1 (https://github.com/servo/rust-url#94e2a877) [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking hyper v0.13.7 [INFO] [stderr] Checking 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] error: 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: `#[deny(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[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] error: 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: `#[deny(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 11 previous errors; 1 warning 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] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stderr] error: build failed [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 11 previous errors; 1 warning 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] running `Command { std: "docker" "inspect" "d269f0018a5e2fb467d6ded4ca964925587345de8a665ee7f5886ae53d885f70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d269f0018a5e2fb467d6ded4ca964925587345de8a665ee7f5886ae53d885f70", kill_on_drop: false }` [INFO] [stdout] d269f0018a5e2fb467d6ded4ca964925587345de8a665ee7f5886ae53d885f70