Aug 30 14:26:55.045 INFO checking helpscout-0.0.4 against master#545f22340f72ee0efaf6463efb43a2840e3d35db for pr-53699 Aug 30 14:26:55.045 INFO running: cargo +545f22340f72ee0efaf6463efb43a2840e3d35db-alt check --frozen --all --all-targets Aug 30 14:26:55.045 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-3/pr-53699/master#545f22340f72ee0efaf6463efb43a2840e3d35db:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53699/worker-3/master#545f22340f72ee0efaf6463efb43a2840e3d35db:/target:rw,Z" "-v" "/home/ec2-user/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/home/ec2-user/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=500" "-e" "CMD=cargo +545f22340f72ee0efaf6463efb43a2840e3d35db-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "2G" "crater"` Aug 30 14:26:55.297 INFO blam! 976eb202ece37a20ac68651ded45668d0a06c98b9a0a7aa042b224c46915a101 Aug 30 14:26:55.300 INFO running `"docker" "start" "-a" "976eb202ece37a20ac68651ded45668d0a06c98b9a0a7aa042b224c46915a101"` Aug 30 14:26:56.379 INFO kablam! Checking helpscout v0.0.4 (file:///source) Aug 30 14:27:06.505 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 30 14:27:06.505 INFO kablam! --> src/client.rs:157:30 Aug 30 14:27:06.505 INFO kablam! | Aug 30 14:27:06.505 INFO kablam! 157 | } else if(res.status()==StatusCode::Ok) { Aug 30 14:27:06.505 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 30 14:27:06.505 INFO kablam! | Aug 30 14:27:06.505 INFO kablam! = note: #[warn(unused_parens)] on by default Aug 30 14:27:06.505 INFO kablam! Aug 30 14:27:06.586 INFO kablam! warning: unused import: `rand` Aug 30 14:27:06.586 INFO kablam! --> src/webhook.rs:1:26 Aug 30 14:27:06.586 INFO kablam! | Aug 30 14:27:06.586 INFO kablam! 1 | use ring::{digest, hmac, rand}; Aug 30 14:27:06.586 INFO kablam! | ^^^^ Aug 30 14:27:06.586 INFO kablam! | Aug 30 14:27:06.586 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 14:27:06.586 INFO kablam! Aug 30 14:27:06.652 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 30 14:27:06.652 INFO kablam! --> src/client.rs:157:30 Aug 30 14:27:06.652 INFO kablam! | Aug 30 14:27:06.652 INFO kablam! 157 | } else if(res.status()==StatusCode::Ok) { Aug 30 14:27:06.652 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 30 14:27:06.652 INFO kablam! | Aug 30 14:27:06.652 INFO kablam! = note: #[warn(unused_parens)] on by default Aug 30 14:27:06.652 INFO kablam! Aug 30 14:27:06.732 INFO kablam! warning: unused import: `rand` Aug 30 14:27:06.732 INFO kablam! --> src/webhook.rs:1:26 Aug 30 14:27:06.732 INFO kablam! | Aug 30 14:27:06.732 INFO kablam! 1 | use ring::{digest, hmac, rand}; Aug 30 14:27:06.732 INFO kablam! | ^^^^ Aug 30 14:27:06.732 INFO kablam! | Aug 30 14:27:06.732 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 14:27:06.732 INFO kablam! Aug 30 14:27:12.990 INFO kablam! warning: unused variable: `res` Aug 30 14:27:12.990 INFO kablam! --> src/api/conversations.rs:265:9 Aug 30 14:27:12.990 INFO kablam! | Aug 30 14:27:12.990 INFO kablam! 265 | let res = client.post("conversations.json", (), Some(body.to_string()))?; Aug 30 14:27:12.990 INFO kablam! | ^^^ help: consider using `_res` instead Aug 30 14:27:12.990 INFO kablam! | Aug 30 14:27:12.990 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 30 14:27:12.990 INFO kablam! Aug 30 14:27:12.991 INFO kablam! warning: unused variable: `imported` Aug 30 14:27:12.991 INFO kablam! --> src/api/conversations.rs:263:64 Aug 30 14:27:12.991 INFO kablam! | Aug 30 14:27:12.991 INFO kablam! 263 | pub fn create(client: &Client, conversation: &NewConversation, imported: Option, auto_reply: Option, reload: Option) -> Result<(), HelpScoutError> { Aug 30 14:27:12.991 INFO kablam! | ^^^^^^^^ help: consider using `_imported` instead Aug 30 14:27:12.991 INFO kablam! Aug 30 14:27:12.991 INFO kablam! warning: unused variable: `auto_reply` Aug 30 14:27:12.991 INFO kablam! --> src/api/conversations.rs:263:88 Aug 30 14:27:12.991 INFO kablam! | Aug 30 14:27:12.991 INFO kablam! 263 | pub fn create(client: &Client, conversation: &NewConversation, imported: Option, auto_reply: Option, reload: Option) -> Result<(), HelpScoutError> { Aug 30 14:27:12.991 INFO kablam! | ^^^^^^^^^^ help: consider using `_auto_reply` instead Aug 30 14:27:12.991 INFO kablam! Aug 30 14:27:12.991 INFO kablam! warning: unused variable: `reload` Aug 30 14:27:12.991 INFO kablam! --> src/api/conversations.rs:263:114 Aug 30 14:27:12.991 INFO kablam! | Aug 30 14:27:12.991 INFO kablam! 263 | pub fn create(client: &Client, conversation: &NewConversation, imported: Option, auto_reply: Option, reload: Option) -> Result<(), HelpScoutError> { Aug 30 14:27:12.991 INFO kablam! | ^^^^^^ help: consider using `_reload` instead Aug 30 14:27:12.991 INFO kablam! Aug 30 14:27:12.993 INFO kablam! warning: unused variable: `res` Aug 30 14:27:12.993 INFO kablam! --> src/api/customers.rs:499:13 Aug 30 14:27:12.993 INFO kablam! | Aug 30 14:27:12.993 INFO kablam! 499 | let res = client.post("customers.json", (), Some(body.to_string()))?; Aug 30 14:27:12.993 INFO kablam! | ^^^ help: consider using `_res` instead Aug 30 14:27:12.993 INFO kablam! Aug 30 14:27:12.993 INFO kablam! warning: unused variable: `res` Aug 30 14:27:12.993 INFO kablam! --> src/api/customers.rs:597:13 Aug 30 14:27:12.993 INFO kablam! | Aug 30 14:27:12.993 INFO kablam! 597 | let res = client.put( Aug 30 14:27:12.993 INFO kablam! | ^^^ help: consider using `_res` instead Aug 30 14:27:12.993 INFO kablam! Aug 30 14:27:13.321 INFO kablam! warning: unused variable: `res` Aug 30 14:27:13.321 INFO kablam! --> src/api/conversations.rs:265:9 Aug 30 14:27:13.321 INFO kablam! | Aug 30 14:27:13.321 INFO kablam! 265 | let res = client.post("conversations.json", (), Some(body.to_string()))?; Aug 30 14:27:13.321 INFO kablam! | ^^^ help: consider using `_res` instead Aug 30 14:27:13.321 INFO kablam! | Aug 30 14:27:13.321 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 30 14:27:13.321 INFO kablam! Aug 30 14:27:13.321 INFO kablam! warning: unused variable: `imported` Aug 30 14:27:13.321 INFO kablam! --> src/api/conversations.rs:263:64 Aug 30 14:27:13.321 INFO kablam! | Aug 30 14:27:13.321 INFO kablam! 263 | pub fn create(client: &Client, conversation: &NewConversation, imported: Option, auto_reply: Option, reload: Option) -> Result<(), HelpScoutError> { Aug 30 14:27:13.321 INFO kablam! | ^^^^^^^^ help: consider using `_imported` instead Aug 30 14:27:13.321 INFO kablam! Aug 30 14:27:13.321 INFO kablam! warning: unused variable: `auto_reply` Aug 30 14:27:13.321 INFO kablam! --> src/api/conversations.rs:263:88 Aug 30 14:27:13.321 INFO kablam! | Aug 30 14:27:13.321 INFO kablam! 263 | pub fn create(client: &Client, conversation: &NewConversation, imported: Option, auto_reply: Option, reload: Option) -> Result<(), HelpScoutError> { Aug 30 14:27:13.322 INFO kablam! | ^^^^^^^^^^ help: consider using `_auto_reply` instead Aug 30 14:27:13.322 INFO kablam! Aug 30 14:27:13.322 INFO kablam! warning: unused variable: `reload` Aug 30 14:27:13.322 INFO kablam! --> src/api/conversations.rs:263:114 Aug 30 14:27:13.322 INFO kablam! | Aug 30 14:27:13.322 INFO kablam! 263 | pub fn create(client: &Client, conversation: &NewConversation, imported: Option, auto_reply: Option, reload: Option) -> Result<(), HelpScoutError> { Aug 30 14:27:13.322 INFO kablam! | ^^^^^^ help: consider using `_reload` instead Aug 30 14:27:13.322 INFO kablam! Aug 30 14:27:13.323 INFO kablam! warning: unused variable: `res` Aug 30 14:27:13.323 INFO kablam! --> src/api/customers.rs:499:13 Aug 30 14:27:13.323 INFO kablam! | Aug 30 14:27:13.323 INFO kablam! 499 | let res = client.post("customers.json", (), Some(body.to_string()))?; Aug 30 14:27:13.323 INFO kablam! | ^^^ help: consider using `_res` instead Aug 30 14:27:13.323 INFO kablam! Aug 30 14:27:13.324 INFO kablam! warning: unused variable: `res` Aug 30 14:27:13.324 INFO kablam! --> src/api/customers.rs:597:13 Aug 30 14:27:13.324 INFO kablam! | Aug 30 14:27:13.324 INFO kablam! 597 | let res = client.put( Aug 30 14:27:13.324 INFO kablam! | ^^^ help: consider using `_res` instead Aug 30 14:27:13.324 INFO kablam! Aug 30 14:27:14.795 INFO kablam! warning: method is never used: `new` Aug 30 14:27:14.795 INFO kablam! --> src/api/users.rs:21:5 Aug 30 14:27:14.795 INFO kablam! | Aug 30 14:27:14.795 INFO kablam! 21 | pub(crate) fn new() -> UsersBuilder { Aug 30 14:27:14.795 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 14:27:14.795 INFO kablam! | Aug 30 14:27:14.795 INFO kablam! = note: #[warn(dead_code)] on by default Aug 30 14:27:14.795 INFO kablam! Aug 30 14:27:15.310 INFO kablam! warning: method is never used: `new` Aug 30 14:27:15.310 INFO kablam! --> src/api/users.rs:21:5 Aug 30 14:27:15.310 INFO kablam! | Aug 30 14:27:15.310 INFO kablam! 21 | pub(crate) fn new() -> UsersBuilder { Aug 30 14:27:15.310 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 14:27:15.310 INFO kablam! | Aug 30 14:27:15.310 INFO kablam! = note: #[warn(dead_code)] on by default Aug 30 14:27:15.310 INFO kablam! Aug 30 14:27:23.953 INFO kablam! warning: unused import: `dotenv::dotenv` Aug 30 14:27:23.953 INFO kablam! --> tests/conversations.rs:7:9 Aug 30 14:27:23.953 INFO kablam! | Aug 30 14:27:23.953 INFO kablam! 7 | use dotenv::dotenv; Aug 30 14:27:23.953 INFO kablam! | ^^^^^^^^^^^^^^ Aug 30 14:27:23.953 INFO kablam! | Aug 30 14:27:23.953 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 14:27:23.953 INFO kablam! Aug 30 14:27:23.953 INFO kablam! warning: unused import: `std::env` Aug 30 14:27:23.953 INFO kablam! --> tests/conversations.rs:8:9 Aug 30 14:27:23.953 INFO kablam! | Aug 30 14:27:23.953 INFO kablam! 8 | use std::env; Aug 30 14:27:23.953 INFO kablam! | ^^^^^^^^ Aug 30 14:27:23.953 INFO kablam! Aug 30 14:27:23.953 INFO kablam! warning: unused import: `super::helpscout::Client` Aug 30 14:27:23.953 INFO kablam! --> tests/conversations.rs:10:9 Aug 30 14:27:23.953 INFO kablam! | Aug 30 14:27:23.953 INFO kablam! 10 | use super::helpscout::Client; Aug 30 14:27:23.953 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 14:27:23.953 INFO kablam! Aug 30 14:27:23.953 INFO kablam! warning: unused import: `super::helpscout::api::person::Person` Aug 30 14:27:23.953 INFO kablam! --> tests/conversations.rs:11:9 Aug 30 14:27:23.953 INFO kablam! | Aug 30 14:27:23.954 INFO kablam! 11 | use super::helpscout::api::person::Person; Aug 30 14:27:23.954 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 14:27:23.954 INFO kablam! Aug 30 14:27:23.954 INFO kablam! warning: unused import: `self` Aug 30 14:27:23.954 INFO kablam! --> tests/conversations.rs:12:40 Aug 30 14:27:23.954 INFO kablam! | Aug 30 14:27:23.954 INFO kablam! 12 | use super::helpscout::api::users::{self}; Aug 30 14:27:23.954 INFO kablam! | ^^^^ Aug 30 14:27:23.954 INFO kablam! Aug 30 14:27:23.954 INFO kablam! warning: unused imports: `MailboxRef`, `self` Aug 30 14:27:23.954 INFO kablam! --> tests/conversations.rs:13:44 Aug 30 14:27:23.954 INFO kablam! | Aug 30 14:27:23.954 INFO kablam! 13 | use super::helpscout::api::mailboxes::{self, MailboxRef}; Aug 30 14:27:23.954 INFO kablam! | ^^^^ ^^^^^^^^^^ Aug 30 14:27:23.954 INFO kablam! Aug 30 14:27:23.954 INFO kablam! warning: unused import: `self` Aug 30 14:27:23.954 INFO kablam! --> tests/conversations.rs:14:44 Aug 30 14:27:23.954 INFO kablam! | Aug 30 14:27:23.954 INFO kablam! 14 | use super::helpscout::api::customers::{self}; Aug 30 14:27:23.954 INFO kablam! | ^^^^ Aug 30 14:27:23.954 INFO kablam! Aug 30 14:27:23.954 INFO kablam! warning: unused imports: `ConversationThreadType`, `NewConversationThread`, `NewConversation`, `self` Aug 30 14:27:23.954 INFO kablam! --> tests/conversations.rs:15:48 Aug 30 14:27:23.954 INFO kablam! | Aug 30 14:27:23.954 INFO kablam! 15 | use super::helpscout::api::conversations::{self, ConversationThreadType, NewConversation, NewConversationThread}; Aug 30 14:27:23.954 INFO kablam! | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ Aug 30 14:27:23.954 INFO kablam! Aug 30 14:27:24.087 INFO kablam! warning: unused import: `helper` Aug 30 14:27:24.087 INFO kablam! --> tests/webhook.rs:12:9 Aug 30 14:27:24.087 INFO kablam! | Aug 30 14:27:24.087 INFO kablam! 12 | use helper; Aug 30 14:27:24.087 INFO kablam! | ^^^^^^ Aug 30 14:27:24.087 INFO kablam! | Aug 30 14:27:24.087 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 14:27:24.087 INFO kablam! Aug 30 14:27:24.229 INFO kablam! error[E0432]: unresolved import `super::helpscout::api::customers::CustomerSocialProfiles` Aug 30 14:27:24.229 INFO kablam! --> tests/customers.rs:13:105 Aug 30 14:27:24.229 INFO kablam! | Aug 30 14:27:24.229 INFO kablam! 13 | use super::helpscout::api::customers::{self, CustomerEmailLocationType, CustomerEmail, NewCustomer, CustomerSocialProfiles, CustomerSocialProfileType}; Aug 30 14:27:24.229 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ no `CustomerSocialProfiles` in `api::customers`. Did you mean to use `CustomerSocialProfile`? Aug 30 14:27:24.229 INFO kablam! Aug 30 14:27:24.230 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `CustomerSocialProfile` Aug 30 14:27:24.230 INFO kablam! --> tests/customers.rs:59:44 Aug 30 14:27:24.230 INFO kablam! | Aug 30 14:27:24.230 INFO kablam! 59 | let customer_social_profile = vec![CustomerSocialProfile::new("https://twitter.com/TwaikuGC", CustomerSocialProfileType::Twitter)]; Aug 30 14:27:24.230 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Use of undeclared type or module `CustomerSocialProfile` Aug 30 14:27:24.230 INFO kablam! Aug 30 14:27:24.231 INFO kablam! warning: unused import: `HelpScoutError` Aug 30 14:27:24.231 INFO kablam! --> tests/customers.rs:12:36 Aug 30 14:27:24.231 INFO kablam! | Aug 30 14:27:24.231 INFO kablam! 12 | use super::helpscout::{Client, HelpScoutError}; Aug 30 14:27:24.232 INFO kablam! | ^^^^^^^^^^^^^^ Aug 30 14:27:24.232 INFO kablam! | Aug 30 14:27:24.232 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 14:27:24.232 INFO kablam! Aug 30 14:27:24.232 INFO kablam! warning: unused imports: `CustomerSocialProfiles`, `NewCustomer` Aug 30 14:27:24.232 INFO kablam! --> tests/customers.rs:13:92 Aug 30 14:27:24.232 INFO kablam! | Aug 30 14:27:24.232 INFO kablam! 13 | use super::helpscout::api::customers::{self, CustomerEmailLocationType, CustomerEmail, NewCustomer, CustomerSocialProfiles, CustomerSocialProfileType}; Aug 30 14:27:24.232 INFO kablam! | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ Aug 30 14:27:24.232 INFO kablam! Aug 30 14:27:24.241 INFO kablam! warning: static item is never used: `INIT` Aug 30 14:27:24.241 INFO kablam! --> tests/helper/mod.rs:10:1 Aug 30 14:27:24.241 INFO kablam! | Aug 30 14:27:24.241 INFO kablam! 10 | static INIT: Once = ONCE_INIT; Aug 30 14:27:24.241 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 14:27:24.241 INFO kablam! | Aug 30 14:27:24.241 INFO kablam! = note: #[warn(dead_code)] on by default Aug 30 14:27:24.241 INFO kablam! Aug 30 14:27:24.241 INFO kablam! warning: function is never used: `setup` Aug 30 14:27:24.242 INFO kablam! --> tests/helper/mod.rs:12:1 Aug 30 14:27:24.242 INFO kablam! | Aug 30 14:27:24.242 INFO kablam! 12 | pub fn setup() -> Client { Aug 30 14:27:24.242 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 14:27:24.242 INFO kablam! Aug 30 14:27:24.392 INFO kablam! error: aborting due to 2 previous errors Aug 30 14:27:24.392 INFO kablam! Aug 30 14:27:24.392 INFO kablam! Some errors occurred: E0432, E0433. Aug 30 14:27:24.392 INFO kablam! For more information about an error, try `rustc --explain E0432`. Aug 30 14:27:24.417 INFO kablam! error: Could not compile `helpscout`. Aug 30 14:27:24.417 INFO kablam! Aug 30 14:27:24.417 INFO kablam! To learn more, run the command again with --verbose. Aug 30 14:27:24.418 INFO kablam! su: No module specific data is present Aug 30 14:27:24.884 INFO running `"docker" "rm" "-f" "976eb202ece37a20ac68651ded45668d0a06c98b9a0a7aa042b224c46915a101"` Aug 30 14:27:24.991 INFO blam! 976eb202ece37a20ac68651ded45668d0a06c98b9a0a7aa042b224c46915a101