[INFO] updating cached repository https://github.com/mikeastock/spotify_token_service [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] dae0e597c3221e269c1e4b48005a6bf5f20e26ef [INFO] testing mikeastock/spotify_token_service against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikeastock%2Fspotify_token_service" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mikeastock/spotify_token_service on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [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-3/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 `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/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 `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=forbid" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7fee6b8891344f84f48e4e8c524add12af099e1ffa8f9750f4707547b4535c3a [INFO] running `"docker" "start" "-a" "7fee6b8891344f84f48e4e8c524add12af099e1ffa8f9750f4707547b4535c3a"` [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling tokio v0.2.19 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling persistent v0.4.0 [INFO] [stderr] Compiling logger v0.4.0 [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Compiling bodyparser v0.8.0 [INFO] [stderr] Compiling urlencoded v0.6.0 [INFO] [stderr] Compiling pin-project v0.4.9 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling spotify_token_service v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `hyper::client::IntoUrl` [INFO] [stderr] --> src/handlers.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use hyper::client::IntoUrl; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ no `IntoUrl` in `client` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `hyper::header::Authorization`, `hyper::header::Headers` [INFO] [stderr] --> src/handlers.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | use hyper::header::{Authorization, Headers}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^ no `Headers` in `header` [INFO] [stderr] | | [INFO] [stderr] | no `Authorization` in `header` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::status` [INFO] [stderr] --> src/handlers.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use hyper::status as hyper_status; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `status` in the root [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stderr] --> src/main.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | router.get("/", StatusCheckHandler); [INFO] [stderr] | ^^^ --- ------------------ supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 3 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stderr] --> src/main.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 33 | router.post("/swap", SwapTokenHandler); [INFO] [stderr] | ^^^^ ------- ---------------- supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 3 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stderr] --> src/main.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | router.post("/refresh", RefreshTokenHandler); [INFO] [stderr] | ^^^^ ---------- ------------------- supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 3 arguments [INFO] [stderr] [INFO] [stderr] error[E0277]: `std::result::Result, bodyparser::BodyError>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/handlers.rs:32:24 [INFO] [stderr] | [INFO] [stderr] 32 | println!("{}", body); [INFO] [stderr] | ^^^^ `std::result::Result, bodyparser::BodyError>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `std::result::Result, bodyparser::BodyError>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `into_url` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/handlers.rs:37:24 [INFO] [stderr] | [INFO] [stderr] 37 | .into_url() [INFO] [stderr] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.10.16/src/client/mod.rs:440:8 [INFO] [stderr] | [INFO] [stderr] 440 | fn into_url(self) -> Result; [INFO] [stderr] | -------- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box` here [INFO] [stderr] | the method is available for `std::pin::Pin` here [INFO] [stderr] | the method is available for `std::sync::Arc` here [INFO] [stderr] | the method is available for `std::rc::Rc` here [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use hyper::client::IntoUrl;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `post` found for struct `hyper::Client` in the current scope [INFO] [stderr] --> src/handlers.rs:40:30 [INFO] [stderr] | [INFO] [stderr] 40 | let mut res = client.post(url) [INFO] [stderr] | ^^^^ method not found in `hyper::Client` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Read` [INFO] [stderr] --> src/handlers.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `spotify_token_service`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7fee6b8891344f84f48e4e8c524add12af099e1ffa8f9750f4707547b4535c3a"` [INFO] running `"docker" "rm" "-f" "7fee6b8891344f84f48e4e8c524add12af099e1ffa8f9750f4707547b4535c3a"` [INFO] [stdout] 7fee6b8891344f84f48e4e8c524add12af099e1ffa8f9750f4707547b4535c3a