[INFO] cloning repository https://github.com/brianloveswords/hookshot [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brianloveswords/hookshot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrianloveswords%2Fhookshot"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrianloveswords%2Fhookshot'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 41541d907fb8ff1aa7f0f778e6dd8e3ed8b2bee0 [INFO] checking brianloveswords/hookshot against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrianloveswords%2Fhookshot" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brianloveswords/hookshot on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "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-10/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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-10/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bd4b0a74934141647ad892f1bbfb32d52928f203d3e92757d505c63f3adb253f [INFO] running `"docker" "start" "-a" "bd4b0a74934141647ad892f1bbfb32d52928f203d3e92757d505c63f3adb253f"` [INFO] [stderr] Checking users v0.9.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking 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] | ^^^^^^^^^^ help: a struct with a similar name exists: `Signature` [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] | ^^^^^^^^^^^^^ help: a struct with a similar name exists: `Signature` [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] help: possible candidate is found in another module, you can import it into scope [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] help: possible candidate is found in another module, you can import it into scope [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 `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] 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] 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[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] | ^^^^^^^^^^ help: a struct with a similar name exists: `Signature` [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] | ^^^^^^^^^^^^^ help: a struct with a similar name exists: `Signature` [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] help: possible candidate is found in another module, you can import it into scope [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] help: possible candidate is found in another module, you can import it into scope [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 `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/ansible_task.rs:61:12 [INFO] [stderr] | [INFO] [stderr] 61 | Ok(try!(env::current_dir()) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [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] 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::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stderr] --> src/task_manager.rs:504:17 [INFO] [stderr] | [INFO] [stderr] 504 | thread::sleep_ms(1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stderr] --> src/task_manager.rs:506:17 [INFO] [stderr] | [INFO] [stderr] 506 | thread::sleep_ms(1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stderr] --> src/task_manager.rs:508:17 [INFO] [stderr] | [INFO] [stderr] 508 | thread::sleep_ms(1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stderr] --> src/task_manager.rs:510:17 [INFO] [stderr] | [INFO] [stderr] 510 | thread::sleep_ms(1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stderr] --> src/task_manager.rs:435:13 [INFO] [stderr] | [INFO] [stderr] 435 | thread::sleep_ms(50); [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 parameters but 2 parameters were supplied [INFO] [stderr] --> src/cli.rs:117:12 [INFO] [stderr] | [INFO] [stderr] 117 | router.get("/health", move |_: &mut Request| { [INFO] [stderr] | ^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/cli.rs:124:12 [INFO] [stderr] | [INFO] [stderr] 124 | router.get("/tasks/:uuid", move |req: &mut Request| { [INFO] [stderr] | ^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/cli.rs:155:12 [INFO] [stderr] | [INFO] [stderr] 155 | router.post("/tasks", move |req: &mut Request| { [INFO] [stderr] | ^^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/cli.rs:117:12 [INFO] [stderr] | [INFO] [stderr] 117 | router.get("/health", move |_: &mut Request| { [INFO] [stderr] | ^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/cli.rs:124:12 [INFO] [stderr] | [INFO] [stderr] 124 | router.get("/tasks/:uuid", move |req: &mut Request| { [INFO] [stderr] | ^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/cli.rs:155:12 [INFO] [stderr] | [INFO] [stderr] 155 | router.post("/tasks", move |req: &mut Request| { [INFO] [stderr] | ^^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_v4` found for type `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] error[E0599]: no function or associated item named `new_v4` found for type `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] [INFO] [stderr] error[E0599]: no method named `lookup` found for type `&'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 type `&'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] error[E0599]: no method named `lookup` found for type `&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 type `&'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 type `&'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 type `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 type `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 `lookup` found for type `&'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 type `&'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] error[E0599]: no method named `post` found for type `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[E0599]: no method named `lookup` found for type `&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 type `&'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 type `&'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 type `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 type `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[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] = note: expected type `std::ffi::OsString` [INFO] [stderr] found type `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] [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 [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[E0599]: no function or associated item named `new_v4` found for type `uuid::Uuid` in the current scope [INFO] [stderr] --> src/task_manager.rs:451:33 [INFO] [stderr] | [INFO] [stderr] 451 | let key = Uuid::new_v4().to_string(); [INFO] [stderr] | ^^^^^^ function or associated item not found in `uuid::Uuid` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_v4` found for type `uuid::Uuid` in the current scope [INFO] [stderr] --> src/task_manager.rs:468:33 [INFO] [stderr] | [INFO] [stderr] 468 | let key = Uuid::new_v4().to_string(); [INFO] [stderr] | ^^^^^^ function or associated item not found in `uuid::Uuid` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_v4` found for type `uuid::Uuid` in the current scope [INFO] [stderr] --> src/task_manager.rs:500:33 [INFO] [stderr] | [INFO] [stderr] 500 | let key = Uuid::new_v4().to_string(); [INFO] [stderr] | ^^^^^^ function or associated item not found in `uuid::Uuid` [INFO] [stderr] [INFO] [stderr] error: could not compile `hookshot`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no function or associated item named `new_v4` found for type `uuid::Uuid` in the current scope [INFO] [stderr] --> src/ansible_task.rs:76:37 [INFO] [stderr] | [INFO] [stderr] 76 | let (uuid1, uuid2) = (Uuid::new_v4().to_string(), Uuid::new_v4().to_string()); [INFO] [stderr] | ^^^^^^ function or associated item not found in `uuid::Uuid` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_v4` found for type `uuid::Uuid` in the current scope [INFO] [stderr] --> src/ansible_task.rs:76:65 [INFO] [stderr] | [INFO] [stderr] 76 | let (uuid1, uuid2) = (Uuid::new_v4().to_string(), Uuid::new_v4().to_string()); [INFO] [stderr] | ^^^^^^ function or associated item not found in `uuid::Uuid` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `post` found for type `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] = note: expected type `std::ffi::OsString` [INFO] [stderr] found type `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] [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 46 previous errors [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" "bd4b0a74934141647ad892f1bbfb32d52928f203d3e92757d505c63f3adb253f"` [INFO] running `"docker" "rm" "-f" "bd4b0a74934141647ad892f1bbfb32d52928f203d3e92757d505c63f3adb253f"` [INFO] [stdout] bd4b0a74934141647ad892f1bbfb32d52928f203d3e92757d505c63f3adb253f