[INFO] updating cached repository https://github.com/brianloveswords/hookshot [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] 41541d907fb8ff1aa7f0f778e6dd8e3ed8b2bee0 [INFO] testing brianloveswords/hookshot against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrianloveswords%2Fhookshot" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brianloveswords/hookshot on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/brianloveswords/hookshot [INFO] finished tweaking git repo https://github.com/brianloveswords/hookshot [INFO] tweaked toml for git repo https://github.com/brianloveswords/hookshot written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/brianloveswords/hookshot already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-6/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" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+beta-2020-06-03" "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] d84d67c40faad2d300ae4099bfd6bbf5e4492cecea6a6fd1aaf382968776471d [INFO] running `"docker" "start" "-a" "d84d67c40faad2d300ae4099bfd6bbf5e4492cecea6a6fd1aaf382968776471d"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling users v0.10.0 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling pin-project-internal v0.4.20 [INFO] [stderr] Compiling pin-project v0.4.20 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling hookshot v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `toml::Table` [INFO] [stderr] --> src/repo_config.rs:13:18 [INFO] [stderr] | [INFO] [stderr] 13 | use toml::{self, Table}; [INFO] [stderr] | ^^^^^ no `Table` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stderr] --> src/signature.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use openssl::crypto::hash::Type as OpenSSLType; [INFO] [stderr] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stderr] --> src/signature.rs:2:14 [INFO] [stderr] | [INFO] [stderr] 2 | use openssl::crypto::hmac::hmac; [INFO] [stderr] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `toml::Table` [INFO] [stderr] --> src/server_config.rs:9:25 [INFO] [stderr] | [INFO] [stderr] 9 | use toml::{self, Value, Table}; [INFO] [stderr] | ^^^^^ no `Table` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::header::ContentType` [INFO] [stderr] --> src/notifier.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use hyper::header::ContentType; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ContentType` in `header` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `chrono::UTC` [INFO] [stderr] --> src/deploy_task.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use chrono::UTC; [INFO] [stderr] | ^^^^^^^^^^^ no `UTC` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `chrono::duration` [INFO] [stderr] --> src/deploy_task.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use chrono::duration::Duration; [INFO] [stderr] | ^^^^^^^^ could not find `duration` in `chrono` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `header` in this scope [INFO] [stderr] --> src/cli.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | header! { (XHubSignature, "X-Hub-Signature") => [String] } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `header` in this scope [INFO] [stderr] --> src/cli.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | header! { (XSignature, "X-Signature") => [String] } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `header` in this scope [INFO] [stderr] --> src/notifier.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | header! { (XHookshotSignature, "X-Hookshot-Signature") => [String] } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Parser` in `toml` [INFO] [stderr] --> src/config.rs:50:32 [INFO] [stderr] | [INFO] [stderr] 50 | let mut parser = toml::Parser::new(&s); [INFO] [stderr] | ^^^^^^ could not find `Parser` in `toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Parser` in `toml` [INFO] [stderr] --> src/repo_config.rs:252:32 [INFO] [stderr] | [INFO] [stderr] 252 | let root = match toml::Parser::new(string).parse() { [INFO] [stderr] | ^^^^^^ could not find `Parser` in `toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Parser` in `toml` [INFO] [stderr] --> src/server_config.rs:124:32 [INFO] [stderr] | [INFO] [stderr] 124 | let root = match toml::Parser::new(string).parse() { [INFO] [stderr] | ^^^^^^ could not find `Parser` in `toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OpenSSLType` [INFO] [stderr] --> src/signature.rs:32:30 [INFO] [stderr] | [INFO] [stderr] 32 | HashType::MD5 => OpenSSLType::MD5, [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `OpenSSLType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OpenSSLType` [INFO] [stderr] --> src/signature.rs:33:31 [INFO] [stderr] | [INFO] [stderr] 33 | HashType::SHA1 => OpenSSLType::SHA1, [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `OpenSSLType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OpenSSLType` [INFO] [stderr] --> src/signature.rs:34:33 [INFO] [stderr] | [INFO] [stderr] 34 | HashType::SHA224 => OpenSSLType::SHA224, [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `OpenSSLType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OpenSSLType` [INFO] [stderr] --> src/signature.rs:35:33 [INFO] [stderr] | [INFO] [stderr] 35 | HashType::SHA256 => OpenSSLType::SHA256, [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `OpenSSLType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OpenSSLType` [INFO] [stderr] --> src/signature.rs:36:33 [INFO] [stderr] | [INFO] [stderr] 36 | HashType::SHA384 => OpenSSLType::SHA384, [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `OpenSSLType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OpenSSLType` [INFO] [stderr] --> src/signature.rs:37:33 [INFO] [stderr] | [INFO] [stderr] 37 | HashType::SHA512 => OpenSSLType::SHA512, [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `OpenSSLType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OpenSSLType` [INFO] [stderr] --> src/signature.rs:38:36 [INFO] [stderr] | [INFO] [stderr] 38 | HashType::RIPEMD160 => OpenSSLType::RIPEMD160, [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `OpenSSLType` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `XSignature` in this scope [INFO] [stderr] --> src/cli.rs:171:59 [INFO] [stderr] | [INFO] [stderr] 171 | let possible_headers = (req.headers.get::(), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/signature.rs:65:1 [INFO] [stderr] | [INFO] [stderr] 65 | pub struct Signature { [INFO] [stderr] | -------------------- similarly named struct `Signature` defined here [INFO] [stderr] | [INFO] [stderr] help: a struct with a similar name exists [INFO] [stderr] | [INFO] [stderr] 171 | let possible_headers = (req.headers.get::(), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 112 | fn start_server(config: ServerConfig) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `XHubSignature` in this scope [INFO] [stderr] --> src/cli.rs:172:59 [INFO] [stderr] | [INFO] [stderr] 172 | ... req.headers.get::()); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/signature.rs:65:1 [INFO] [stderr] | [INFO] [stderr] 65 | pub struct Signature { [INFO] [stderr] | -------------------- similarly named struct `Signature` defined here [INFO] [stderr] | [INFO] [stderr] help: a struct with a similar name exists [INFO] [stderr] | [INFO] [stderr] 172 | req.headers.get::()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 112 | fn start_server(config: ServerConfig) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Table` in crate `toml` [INFO] [stderr] --> src/config.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | config: toml::Table, [INFO] [stderr] | ^^^^^ not found in `toml` [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 | use toml::value::Table; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Table` in crate `toml` [INFO] [stderr] --> src/config.rs:15:20 [INFO] [stderr] | [INFO] [stderr] 15 | app: &'a toml::Table, [INFO] [stderr] | ^^^^^ not found in `toml` [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 | use toml::value::Table; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `OpenSSLType` in this scope [INFO] [stderr] --> src/signature.rs:30:29 [INFO] [stderr] | [INFO] [stderr] 30 | fn to_openssl(&self) -> OpenSSLType { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `hmac` in this scope [INFO] [stderr] --> src/signature.rs:92:19 [INFO] [stderr] | [INFO] [stderr] 92 | let mac = hmac(alg.to_openssl(), key.as_bytes(), data.as_bytes()); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `XHookshotSignature` in this scope [INFO] [stderr] --> src/notifier.rs:112:25 [INFO] [stderr] | [INFO] [stderr] 112 | .header(XHookshotSignature(sig.to_string())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/deploy_task.rs:23:30 [INFO] [stderr] | [INFO] [stderr] 23 | Ok(LogWriter { file: try!(File::create(path)) }) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[macro_use] extern crate hyper; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::ascii::AsciiExt': use inherent methods instead [INFO] [stderr] --> src/make_task.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::ascii::AsciiExt': use inherent methods instead [INFO] [stderr] --> src/ansible_task.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stderr] --> src/cli.rs:117:12 [INFO] [stderr] | [INFO] [stderr] 117 | router.get("/health", move |_: &mut Request| { [INFO] [stderr] | ____________^^^_---------__- [INFO] [stderr] | | | [INFO] [stderr] | | expected 3 arguments [INFO] [stderr] 118 | | Ok(Response::with((Header(Connection::close()), status::Ok, "okay"))) [INFO] [stderr] 119 | | }); [INFO] [stderr] | |_____- supplied 2 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stderr] --> src/cli.rs:124:12 [INFO] [stderr] | [INFO] [stderr] 124 | router.get("/tasks/:uuid", move |req: &mut Request| { [INFO] [stderr] | ____________^^^_--------------__- [INFO] [stderr] | | | [INFO] [stderr] | | expected 3 arguments [INFO] [stderr] 125 | | let file_not_found = Ok(Response::with((Header(Connection::close()), [INFO] [stderr] 126 | | status::NotFound, [INFO] [stderr] 127 | | "Not Found"))); [INFO] [stderr] ... | [INFO] [stderr] 147 | | Ok(Response::with((Header(Connection::close()), status::Ok, content))) [INFO] [stderr] 148 | | }); [INFO] [stderr] | |_____- supplied 2 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stderr] --> src/cli.rs:155:12 [INFO] [stderr] | [INFO] [stderr] 155 | router.post("/tasks", move |req: &mut Request| { [INFO] [stderr] | ____________^^^^_--------__- [INFO] [stderr] | | | [INFO] [stderr] | | expected 3 arguments [INFO] [stderr] 156 | | let task_id = Uuid::new_v4(); [INFO] [stderr] 157 | | let task_status = TaskStatusPrinter { task_id: task_id }; [INFO] [stderr] 158 | | let log_root = &config_clone.log_root.to_string(); [INFO] [stderr] ... | [INFO] [stderr] 302 | | response_body))) [INFO] [stderr] 303 | | }); [INFO] [stderr] | |_____- supplied 2 arguments [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_v4` found for struct `uuid::Uuid` in the current scope [INFO] [stderr] --> src/cli.rs:156:29 [INFO] [stderr] | [INFO] [stderr] 156 | let task_id = Uuid::new_v4(); [INFO] [stderr] | ^^^^^^ function or associated item not found in `uuid::Uuid` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'iron::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/repo_config.rs:145:30 [INFO] [stderr] | [INFO] [stderr] 145 | write!(f, "{}", self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lookup` found for reference `&'a toml::Value` in the current scope [INFO] [stderr] --> src/repo_config.rs:437:15 [INFO] [stderr] | [INFO] [stderr] 437 | match obj.lookup(key) { [INFO] [stderr] | ^^^^^^ method not found in `&'a toml::Value` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lookup` found for reference `&'a toml::Value` in the current scope [INFO] [stderr] --> src/repo_config.rs:444:15 [INFO] [stderr] | [INFO] [stderr] 444 | match obj.lookup(key) { [INFO] [stderr] | ^^^^^^ method not found in `&'a toml::Value` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'iron::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/server_config.rs:47:30 [INFO] [stderr] | [INFO] [stderr] 47 | write!(f, "{}", self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lookup` found for reference `&toml::Value` in the current scope [INFO] [stderr] --> src/server_config.rs:139:33 [INFO] [stderr] | [INFO] [stderr] 139 | let port = match config.lookup("port") { [INFO] [stderr] | ^^^^^^ method not found in `&toml::Value` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lookup` found for reference `&'a toml::Value` in the current scope [INFO] [stderr] --> src/server_config.rs:262:15 [INFO] [stderr] | [INFO] [stderr] 262 | match obj.lookup(key) { [INFO] [stderr] | ^^^^^^ method not found in `&'a toml::Value` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lookup` found for reference `&'a toml::Value` in the current scope [INFO] [stderr] --> src/server_config.rs:273:15 [INFO] [stderr] | [INFO] [stderr] 273 | match obj.lookup(key) { [INFO] [stderr] | ^^^^^^ method not found in `&'a toml::Value` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope [INFO] [stderr] --> src/signature.rs:75:39 [INFO] [stderr] | [INFO] [stderr] 75 | Some(caps) => match (caps.at(1), caps.at(2)) { [INFO] [stderr] | ^^ method not found in `regex::Captures<'_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope [INFO] [stderr] --> src/signature.rs:75:51 [INFO] [stderr] | [INFO] [stderr] 75 | Some(caps) => match (caps.at(1), caps.at(2)) { [INFO] [stderr] | ^^ method not found in `regex::Captures<'_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `post` found for struct `hyper::Client` in the current scope [INFO] [stderr] --> src/notifier.rs:111:34 [INFO] [stderr] | [INFO] [stderr] 111 | let request = client.post(notifiers) [INFO] [stderr] | ^^^^ method not found in `hyper::Client` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/deploy_task.rs:75:91 [INFO] [stderr] | [INFO] [stderr] 75 | logger.write(format!("system user: {}\n", users::get_current_username().unwrap_or("".to_owned()))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ expected struct `std::ffi::OsString`, found struct `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0277]: `std::ffi::OsString` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/deploy_task.rs:75:51 [INFO] [stderr] | [INFO] [stderr] 75 | logger.write(format!("system user: {}\n", users::get_current_username().unwrap_or("".to_owned()))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `std::ffi::OsString` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `std::ffi::OsString` [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] warning: use of deprecated item 'iron::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/deploy_task.rs:100:37 [INFO] [stderr] | [INFO] [stderr] 100 | ... e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/make_task.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/ansible_task.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 41 previous errors; 9 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0308, E0412, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `hookshot`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d84d67c40faad2d300ae4099bfd6bbf5e4492cecea6a6fd1aaf382968776471d"` [INFO] running `"docker" "rm" "-f" "d84d67c40faad2d300ae4099bfd6bbf5e4492cecea6a6fd1aaf382968776471d"` [INFO] [stdout] d84d67c40faad2d300ae4099bfd6bbf5e4492cecea6a6fd1aaf382968776471d