[INFO] updating cached repository https://github.com/mikeastock/spotify_token_service [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/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 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikeastock%2Fspotify_token_service" "work/builds/worker-7/source"` [INFO] [stderr] Cloning into 'work/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mikeastock/spotify_token_service on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "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 work/builds/worker-7/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 `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /big/crater/work/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] f63be840bf28b936b5bf4fc95445c9fa6fbefcf27728e1283dce6ac83f77e3aa [INFO] running `"docker" "start" "-a" "f63be840bf28b936b5bf4fc95445c9fa6fbefcf27728e1283dce6ac83f77e3aa"` [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling persistent v0.4.0 [INFO] [stderr] Compiling logger v0.4.0 [INFO] [stderr] Compiling dotenv v0.14.1 [INFO] [stderr] Compiling bodyparser v0.8.0 [INFO] [stderr] Compiling urlencoded v0.6.0 [INFO] [stderr] Compiling hyper v0.12.35 [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[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(plugin)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/main.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | router.get("/", StatusCheckHandler); [INFO] [stderr] | ^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/main.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 33 | router.post("/swap", SwapTokenHandler); [INFO] [stderr] | ^^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/main.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | router.post("/refresh", RefreshTokenHandler); [INFO] [stderr] | ^^^^ expected 3 parameters [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] [INFO] [stderr] error[E0599]: no method named `into_url` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/handlers.rs:37:24 [INFO] [stderr] | [INFO] [stderr] 37 | .into_url() [INFO] [stderr] | ^^^^^^^^ [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 type `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] | ^^^^ [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 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0432, E0554, 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" "f63be840bf28b936b5bf4fc95445c9fa6fbefcf27728e1283dce6ac83f77e3aa"` [INFO] running `"docker" "rm" "-f" "f63be840bf28b936b5bf4fc95445c9fa6fbefcf27728e1283dce6ac83f77e3aa"` [INFO] [stdout] f63be840bf28b936b5bf4fc95445c9fa6fbefcf27728e1283dce6ac83f77e3aa