[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 try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharlag%2Frusty-bird" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/charlag/rusty-bird on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "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-4/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" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-4/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" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/servo/rust-url` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7c681bbe04c1be70c6d65037f1b5ba410aea3a64827658a45e885f24f86e11f [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" "f7c681bbe04c1be70c6d65037f1b5ba410aea3a64827658a45e885f24f86e11f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7c681bbe04c1be70c6d65037f1b5ba410aea3a64827658a45e885f24f86e11f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7c681bbe04c1be70c6d65037f1b5ba410aea3a64827658a45e885f24f86e11f", kill_on_drop: false }` [INFO] [stdout] f7c681bbe04c1be70c6d65037f1b5ba410aea3a64827658a45e885f24f86e11f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd292e833ff32e42a658b1e201b922bc4086bd5cabd545e4c43b0c11c081b35f [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" "dd292e833ff32e42a658b1e201b922bc4086bd5cabd545e4c43b0c11c081b35f", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking percent-encoding v2.1.0 (https://github.com/servo/rust-url#a46bec6e) [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking tracing-core v0.1.15 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking form_urlencoded v1.0.0 (https://github.com/servo/rust-url#a46bec6e) [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking tracing v0.1.19 [INFO] [stderr] Checking idna v0.2.0 (https://github.com/servo/rust-url#a46bec6e) [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking url v2.1.1 (https://github.com/servo/rust-url#a46bec6e) [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [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[E0432]: unresolved import `url::percent_encoding` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use url::percent_encoding; [INFO] [stdout] | ^^^^^---------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `percent_encode` [INFO] [stdout] | no `percent_encoding` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `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[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[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[E0432]: unresolved import `url::percent_encoding` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use url::percent_encoding; [INFO] [stdout] | ^^^^^---------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `percent_encode` [INFO] [stdout] | no `percent_encoding` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `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: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 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, 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[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 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "dd292e833ff32e42a658b1e201b922bc4086bd5cabd545e4c43b0c11c081b35f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd292e833ff32e42a658b1e201b922bc4086bd5cabd545e4c43b0c11c081b35f", kill_on_drop: false }` [INFO] [stdout] dd292e833ff32e42a658b1e201b922bc4086bd5cabd545e4c43b0c11c081b35f