[INFO] updating cached repository brianloveswords/hookshot [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/brianloveswords/hookshot [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/brianloveswords/hookshot" "work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/brianloveswords/hookshot"` [INFO] [stderr] Cloning into 'work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/brianloveswords/hookshot'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/brianloveswords/hookshot" "work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/brianloveswords/hookshot"` [INFO] [stderr] Cloning into 'work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/brianloveswords/hookshot'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 41541d907fb8ff1aa7f0f778e6dd8e3ed8b2bee0 [INFO] sha for GitHub repo brianloveswords/hookshot: 41541d907fb8ff1aa7f0f778e6dd8e3ed8b2bee0 [INFO] validating manifest of brianloveswords/hookshot on toolchain master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of brianloveswords/hookshot on toolchain try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing brianloveswords/hookshot [INFO] finished frobbing brianloveswords/hookshot [INFO] frobbed toml for brianloveswords/hookshot written to work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/brianloveswords/hookshot/Cargo.toml [INFO] started frobbing brianloveswords/hookshot [INFO] finished frobbing brianloveswords/hookshot [INFO] frobbed toml for brianloveswords/hookshot written to work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/brianloveswords/hookshot/Cargo.toml [INFO] crate brianloveswords/hookshot already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/crater-raid/crater/work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/brianloveswords/hookshot/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking brianloveswords/hookshot against master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7 for pr-59199 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-59199/worker-7/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/brianloveswords/hookshot:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 567f8e050f9089c2b2a2415deb997f38da8be69f15f4dc98cf4171d3b12dc24f [INFO] running `"docker" "start" "-a" "567f8e050f9089c2b2a2415deb997f38da8be69f15f4dc98cf4171d3b12dc24f"` [INFO] [stderr] Checking hookshot v1.0.0 (/opt/crater/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[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[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[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[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: 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[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 module `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 module `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: 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: unused import: `openssl::crypto::hash::Type as OpenSSLType` [INFO] [stderr] --> src/signature.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use openssl::crypto::hash::Type as OpenSSLType; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `openssl::crypto::hmac::hmac` [INFO] [stderr] --> src/signature.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use openssl::crypto::hmac::hmac; [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] 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] = note: #[warn(deprecated)] on by default [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: 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: 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[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 module `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 module `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: 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: unused import: `openssl::crypto::hash::Type as OpenSSLType` [INFO] [stderr] --> src/signature.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use openssl::crypto::hash::Type as OpenSSLType; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `openssl::crypto::hmac::hmac` [INFO] [stderr] --> src/signature.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use openssl::crypto::hmac::hmac; [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] 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] = note: #[warn(deprecated)] on by default [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] 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] 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[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] | ------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `uuid::Uuid` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> src/cli.rs:174:21 [INFO] [stderr] | [INFO] [stderr] 174 | let signature_string = match possible_headers { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [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 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] | ^^^^^^ [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] | ^^^^^^ [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] | ^^^^^^ [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] | ^^^^^^ [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] | ^^^^^^ [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] | ^^ [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] | ^^ [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] | ^^^^ [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] | ------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `uuid::Uuid` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> src/cli.rs:174:21 [INFO] [stderr] | [INFO] [stderr] 174 | let signature_string = match possible_headers { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [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] error: aborting due to 42 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: 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] warning: build failed, waiting for other jobs to finish... [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] | ^^^^^^ [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] | ^^^^^^ [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] | ^^^^^^ [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] | ^^^^^^ [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] | ^^^^^^ [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] | ^^ [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] | ^^ [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:451:33 [INFO] [stderr] | [INFO] [stderr] 451 | let key = Uuid::new_v4().to_string(); [INFO] [stderr] | ------^^^^^^ [INFO] [stderr] | | [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] | ------^^^^^^ [INFO] [stderr] | | [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] | ------^^^^^^ [INFO] [stderr] | | [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:37 [INFO] [stderr] | [INFO] [stderr] 76 | let (uuid1, uuid2) = (Uuid::new_v4().to_string(), Uuid::new_v4().to_string()); [INFO] [stderr] | ------^^^^^^ [INFO] [stderr] | | [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] | ------^^^^^^ [INFO] [stderr] | | [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] | ^^^^ [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] error: aborting due to 47 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: 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" "567f8e050f9089c2b2a2415deb997f38da8be69f15f4dc98cf4171d3b12dc24f"` [INFO] running `"docker" "rm" "-f" "567f8e050f9089c2b2a2415deb997f38da8be69f15f4dc98cf4171d3b12dc24f"` [INFO] [stdout] 567f8e050f9089c2b2a2415deb997f38da8be69f15f4dc98cf4171d3b12dc24f