[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 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikeastock%2Fspotify_token_service" "/workspace/builds/worker-13/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mikeastock/spotify_token_service on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.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 /workspace/builds/worker-13/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" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-13/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" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=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.44.0" "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] 1b068b69aa3c0d0f013b37c9ad23f16fea549f209fdfbca8c6d9cf9b0fe45b90 [INFO] running `"docker" "start" "-a" "1b068b69aa3c0d0f013b37c9ad23f16fea549f209fdfbca8c6d9cf9b0fe45b90"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling persistent v0.4.0 [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling logger v0.4.0 [INFO] [stderr] Compiling bodyparser v0.8.0 [INFO] [stderr] Compiling urlencoded v0.6.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling hyper v0.13.6 [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 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 10 previous errors; 1 warning emitted [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" "1b068b69aa3c0d0f013b37c9ad23f16fea549f209fdfbca8c6d9cf9b0fe45b90"` [INFO] running `"docker" "rm" "-f" "1b068b69aa3c0d0f013b37c9ad23f16fea549f209fdfbca8c6d9cf9b0fe45b90"` [INFO] [stdout] 1b068b69aa3c0d0f013b37c9ad23f16fea549f209fdfbca8c6d9cf9b0fe45b90