[INFO] updating cached repository https://github.com/deciduously/ar-bot [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/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] 824c07024e36dfc46ecfd87e5178dca9590726e4 [INFO] testing deciduously/ar-bot against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeciduously%2Far-bot" "work/builds/worker-2/source"` [INFO] [stderr] Cloning into 'work/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/deciduously/ar-bot on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/deciduously/ar-bot [INFO] finished tweaking git repo https://github.com/deciduously/ar-bot [INFO] tweaked toml for git repo https://github.com/deciduously/ar-bot written to work/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/deciduously/ar-bot already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 3a1d55c47e5768c55436ebacae2ff7696b9261268259cfc38f3972292d936f3e [INFO] running `"docker" "start" "-a" "3a1d55c47e5768c55436ebacae2ff7696b9261268259cfc38f3972292d936f3e"` [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling quote v0.6.4 [INFO] [stderr] Compiling nom v4.0.0 [INFO] [stderr] Compiling aho-corasick v0.6.6 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling syn v0.14.5 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Compiling env_logger v0.5.11 [INFO] [stderr] Compiling pretty_env_logger v0.2.4 [INFO] [stderr] Compiling serde_derive v1.0.70 [INFO] [stderr] Compiling askama_shared v0.7.1 [INFO] [stderr] Compiling askama_derive v0.7.1 [INFO] [stderr] Compiling askama v0.7.1 [INFO] [stderr] Compiling ar-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/batch.rs:211:9 [INFO] [stderr] | [INFO] [stderr] 211 | / lazy_static! { [INFO] [stderr] 212 | | // this should go with the splitting logic, and we should pass in a struct to from_email [INFO] [stderr] 213 | | static ref AD_RE: Regex = Regex::new(r"From:.+\s+Sent:\s+(?P.+)\r\nTo:.+\s+Subject:.+\s+The \w+ Invoice For iMIS ID (?P\d+) For the Product (?P\w+) Has Changed\s+You need to verify the Autodraft is now correct").unwrap(); [INFO] [stderr] 214 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/brain.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 173 | / lazy_static! { [INFO] [stderr] 174 | | static ref EMAIL_RE: Regex = Regex::new(r"(?PFrom.+correct)").unwrap(); [INFO] [stderr] 175 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `ReportTemplate` [INFO] [stderr] --> src/page.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | struct ReportTemplate<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `SkelTemplate` [INFO] [stderr] --> src/page.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | struct SkelTemplate {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.60s [INFO] running `"docker" "inspect" "3a1d55c47e5768c55436ebacae2ff7696b9261268259cfc38f3972292d936f3e"` [INFO] running `"docker" "rm" "-f" "3a1d55c47e5768c55436ebacae2ff7696b9261268259cfc38f3972292d936f3e"` [INFO] [stdout] 3a1d55c47e5768c55436ebacae2ff7696b9261268259cfc38f3972292d936f3e [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "test" "--frozen" "--no-run"` [INFO] [stdout] bf557cb7a58653ce02e9ea92f049cc7d1176f704fc72bb3b3f0ec464769dd544 [INFO] running `"docker" "start" "-a" "bf557cb7a58653ce02e9ea92f049cc7d1176f704fc72bb3b3f0ec464769dd544"` [INFO] [stderr] Compiling rand v0.5.4 [INFO] [stderr] Compiling pretty_assertions v0.5.1 [INFO] [stderr] Compiling ar-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/batch.rs:211:9 [INFO] [stderr] | [INFO] [stderr] 211 | / lazy_static! { [INFO] [stderr] 212 | | // this should go with the splitting logic, and we should pass in a struct to from_email [INFO] [stderr] 213 | | static ref AD_RE: Regex = Regex::new(r"From:.+\s+Sent:\s+(?P.+)\r\nTo:.+\s+Subject:.+\s+The \w+ Invoice For iMIS ID (?P\d+) For the Product (?P\w+) Has Changed\s+You need to verify the Autodraft is now correct").unwrap(); [INFO] [stderr] 214 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/brain.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 173 | / lazy_static! { [INFO] [stderr] 174 | | static ref EMAIL_RE: Regex = Regex::new(r"(?PFrom.+correct)").unwrap(); [INFO] [stderr] 175 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `ReportTemplate` [INFO] [stderr] --> src/page.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | struct ReportTemplate<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `SkelTemplate` [INFO] [stderr] --> src/page.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | struct SkelTemplate {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.85s [INFO] running `"docker" "inspect" "bf557cb7a58653ce02e9ea92f049cc7d1176f704fc72bb3b3f0ec464769dd544"` [INFO] running `"docker" "rm" "-f" "bf557cb7a58653ce02e9ea92f049cc7d1176f704fc72bb3b3f0ec464769dd544"` [INFO] [stdout] bf557cb7a58653ce02e9ea92f049cc7d1176f704fc72bb3b3f0ec464769dd544 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "test" "--frozen"` [INFO] [stdout] ed86ae590b98c31504a3393d1db4c810e8a517d2eb0fc6d6f871b5745dee8f0c [INFO] running `"docker" "start" "-a" "ed86ae590b98c31504a3393d1db4c810e8a517d2eb0fc6d6f871b5745dee8f0c"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/ar_bot-cca3b6c20435c1ac [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test brain::tests::test_split_emails ... ok [INFO] [stdout] test config::tests::test_init_config_alterate_file ... ok [INFO] [stdout] test config::tests::test_init_config_default ... ok [INFO] [stdout] test batch::tests::test_classify_duplicate_id ... ok [INFO] [stdout] test batch::tests::test_classify_new_entry ... ok [INFO] [stdout] test batch::tests::test_classify_duplicate_id_and_product ... ok [INFO] [stdout] test batch::tests::test_add_entry_duplicate_id ... ok [INFO] [stdout] test batch::tests::test_add_entry_duplicate_product ... ok [INFO] [stdout] test batch::tests::test_add_entry_to_empty_batch ... ok [INFO] [stdout] test batch::tests::test_add_entry_duplicate_id_and_product ... ok [INFO] [stdout] test batch::tests::test_entry_from_str ... ok [INFO] [stdout] test batch::tests::test_classify_duplicate_prod ... ok [INFO] [stdout] test batch::tests::test_add_entry_new_id ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "ed86ae590b98c31504a3393d1db4c810e8a517d2eb0fc6d6f871b5745dee8f0c"` [INFO] running `"docker" "rm" "-f" "ed86ae590b98c31504a3393d1db4c810e8a517d2eb0fc6d6f871b5745dee8f0c"` [INFO] [stdout] ed86ae590b98c31504a3393d1db4c810e8a517d2eb0fc6d6f871b5745dee8f0c