[INFO] cloning repository https://github.com/mikeastock/spotify_token_service [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mikeastock/spotify_token_service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikeastock%2Fspotify_token_service", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikeastock%2Fspotify_token_service'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dae0e597c3221e269c1e4b48005a6bf5f20e26ef [INFO] checking mikeastock/spotify_token_service against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikeastock%2Fspotify_token_service" "/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/mikeastock/spotify_token_service 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/mikeastock/spotify_token_service [INFO] finished tweaking git repo https://github.com/mikeastock/spotify_token_service [INFO] tweaked toml for git repo https://github.com/mikeastock/spotify_token_service written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/mikeastock/spotify_token_service 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] 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] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded logger v0.4.0 [INFO] [stderr] Downloaded bodyparser v0.8.0 [INFO] [stderr] Downloaded urlencoded v0.6.0 [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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b92fcc7646fce48ded3c9416739b4eb5cd2c56639380630cad8f654ca015c0e [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" "7b92fcc7646fce48ded3c9416739b4eb5cd2c56639380630cad8f654ca015c0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b92fcc7646fce48ded3c9416739b4eb5cd2c56639380630cad8f654ca015c0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b92fcc7646fce48ded3c9416739b4eb5cd2c56639380630cad8f654ca015c0e", kill_on_drop: false }` [INFO] [stdout] 7b92fcc7646fce48ded3c9416739b4eb5cd2c56639380630cad8f654ca015c0e [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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 031a882602893b21b58eb5d58d9e980b544e4f93e8388ce7393a3bcac46599a3 [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" "031a882602893b21b58eb5d58d9e980b544e4f93e8388ce7393a3bcac46599a3", 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking tracing-core v0.1.15 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking tracing v0.1.19 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking persistent v0.4.0 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking logger v0.4.0 [INFO] [stderr] Checking serde_json v1.0.57 [INFO] [stderr] Checking bodyparser v0.8.0 [INFO] [stderr] Checking urlencoded v0.6.0 [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 spotify_token_service v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `hyper::client::IntoUrl` [INFO] [stdout] --> src/handlers.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use hyper::client::IntoUrl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `IntoUrl` in `client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `hyper::header::Authorization`, `hyper::header::Headers` [INFO] [stdout] --> src/handlers.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use hyper::header::{Authorization, Headers}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ no `Headers` in `header` [INFO] [stdout] | | [INFO] [stdout] | no `Authorization` in `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::status` [INFO] [stdout] --> src/handlers.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use hyper::status as hyper_status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `status` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | router.get("/", StatusCheckHandler); [INFO] [stdout] | ^^^ --- ------------------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::client::IntoUrl` [INFO] [stdout] --> src/handlers.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use hyper::client::IntoUrl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `IntoUrl` in `client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `hyper::header::Authorization`, `hyper::header::Headers` [INFO] [stdout] --> src/handlers.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use hyper::header::{Authorization, Headers}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ no `Headers` in `header` [INFO] [stdout] | | [INFO] [stdout] | no `Authorization` in `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::status` [INFO] [stdout] --> src/handlers.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use hyper::status as hyper_status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `status` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | router.post("/swap", SwapTokenHandler); [INFO] [stdout] | ^^^^ ------- ---------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | router.post("/refresh", RefreshTokenHandler); [INFO] [stdout] | ^^^^ ---------- ------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | router.get("/", StatusCheckHandler); [INFO] [stdout] | ^^^ --- ------------------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | router.post("/swap", SwapTokenHandler); [INFO] [stdout] | ^^^^ ------- ---------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | router.post("/refresh", RefreshTokenHandler); [INFO] [stdout] | ^^^^ ---------- ------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::result::Result, bodyparser::BodyError>` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/handlers.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | println!("{}", body); [INFO] [stdout] | ^^^^ `std::result::Result, bodyparser::BodyError>` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `std::result::Result, bodyparser::BodyError>` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_url` found for struct `std::string::String` in the current scope [INFO] [stdout] --> src/handlers.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | .into_url() [INFO] [stdout] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use hyper::client::IntoUrl;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `post` found for struct `hyper::Client` in the current scope [INFO] [stdout] --> src/handlers.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | let mut res = client.post(url) [INFO] [stdout] | ^^^^ method not found in `hyper::Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/handlers.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spotify_token_service`. [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[E0277]: `std::result::Result, bodyparser::BodyError>` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/handlers.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | println!("{}", body); [INFO] [stdout] | ^^^^ `std::result::Result, bodyparser::BodyError>` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `std::result::Result, bodyparser::BodyError>` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_url` found for struct `std::string::String` in the current scope [INFO] [stdout] --> src/handlers.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | .into_url() [INFO] [stdout] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use hyper::client::IntoUrl;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `post` found for struct `hyper::Client` in the current scope [INFO] [stdout] --> src/handlers.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | let mut res = client.post(url) [INFO] [stdout] | ^^^^ method not found in `hyper::Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/handlers.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "031a882602893b21b58eb5d58d9e980b544e4f93e8388ce7393a3bcac46599a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "031a882602893b21b58eb5d58d9e980b544e4f93e8388ce7393a3bcac46599a3", kill_on_drop: false }` [INFO] [stdout] 031a882602893b21b58eb5d58d9e980b544e4f93e8388ce7393a3bcac46599a3