[INFO] updating cached repository deciduously/ar-bot [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/deciduously/ar-bot [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/deciduously/ar-bot" "work/ex/beta-1.38-1/sources/1.37.0/gh/deciduously/ar-bot"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/deciduously/ar-bot'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/deciduously/ar-bot" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/deciduously/ar-bot"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/deciduously/ar-bot'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 824c07024e36dfc46ecfd87e5178dca9590726e4 [INFO] sha for GitHub repo deciduously/ar-bot: 824c07024e36dfc46ecfd87e5178dca9590726e4 [INFO] validating manifest of deciduously/ar-bot on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of deciduously/ar-bot on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing deciduously/ar-bot [INFO] finished frobbing deciduously/ar-bot [INFO] frobbed toml for deciduously/ar-bot written to work/ex/beta-1.38-1/sources/1.37.0/gh/deciduously/ar-bot/Cargo.toml [INFO] started frobbing deciduously/ar-bot [INFO] finished frobbing deciduously/ar-bot [INFO] frobbed toml for deciduously/ar-bot written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/deciduously/ar-bot/Cargo.toml [INFO] crate deciduously/ar-bot already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing deciduously/ar-bot against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/deciduously/ar-bot:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/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=warn" "-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" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 2d6ac8ef64488192b042381abc5d4a6521b42657b719528b78fdebea435dfaed [INFO] running `"docker" "start" "-a" "2d6ac8ef64488192b042381abc5d4a6521b42657b719528b78fdebea435dfaed"` [INFO] [stderr] Compiling termcolor v1.0.1 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling quote v0.6.4 [INFO] [stderr] Compiling nom v4.0.0 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling aho-corasick v0.6.6 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling syn v0.14.5 [INFO] [stderr] Compiling error-chain v0.12.0 [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/crater/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 59.75s [INFO] running `"docker" "inspect" "2d6ac8ef64488192b042381abc5d4a6521b42657b719528b78fdebea435dfaed"` [INFO] running `"docker" "rm" "-f" "2d6ac8ef64488192b042381abc5d4a6521b42657b719528b78fdebea435dfaed"` [INFO] [stdout] 2d6ac8ef64488192b042381abc5d4a6521b42657b719528b78fdebea435dfaed [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/deciduously/ar-bot:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/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=warn" "-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" "+beta-2019-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] f8395a275939b897c1d605ff6c0230e55840fcb522f0e705ba9209a15cafd102 [INFO] running `"docker" "start" "-a" "f8395a275939b897c1d605ff6c0230e55840fcb522f0e705ba9209a15cafd102"` [INFO] [stderr] Compiling pretty_assertions v0.5.1 [INFO] [stderr] Compiling ar-bot v0.1.0 (/opt/crater/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 5.79s [INFO] running `"docker" "inspect" "f8395a275939b897c1d605ff6c0230e55840fcb522f0e705ba9209a15cafd102"` [INFO] running `"docker" "rm" "-f" "f8395a275939b897c1d605ff6c0230e55840fcb522f0e705ba9209a15cafd102"` [INFO] [stdout] f8395a275939b897c1d605ff6c0230e55840fcb522f0e705ba9209a15cafd102 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/deciduously/ar-bot:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/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=warn" "-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" "+beta-2019-08-13" "test" "--frozen"` [INFO] [stdout] 8f80f78e0d47c8ce466c2fd1669dffff66794bf3abd4bcb5eda7be9ab046f93b [INFO] running `"docker" "start" "-a" "8f80f78e0d47c8ce466c2fd1669dffff66794bf3abd4bcb5eda7be9ab046f93b"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running /opt/crater/target/debug/deps/ar_bot-fdad73de1f958288 [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test batch::tests::test_add_entry_to_empty_batch ... ok [INFO] [stdout] test batch::tests::test_classify_duplicate_id ... ok [INFO] [stdout] test batch::tests::test_classify_duplicate_id_and_product ... ok [INFO] [stdout] test batch::tests::test_classify_duplicate_prod ... ok [INFO] [stdout] test brain::tests::test_split_emails ... ok [INFO] [stdout] test batch::tests::test_entry_from_str ... ok [INFO] [stdout] test batch::tests::test_add_entry_duplicate_id_and_product ... 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_add_entry_duplicate_product ... ok [INFO] [stdout] test batch::tests::test_add_entry_duplicate_id ... ok [INFO] [stdout] test batch::tests::test_add_entry_new_id ... ok [INFO] [stdout] test batch::tests::test_classify_new_entry ... 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" "8f80f78e0d47c8ce466c2fd1669dffff66794bf3abd4bcb5eda7be9ab046f93b"` [INFO] running `"docker" "rm" "-f" "8f80f78e0d47c8ce466c2fd1669dffff66794bf3abd4bcb5eda7be9ab046f93b"` [INFO] [stdout] 8f80f78e0d47c8ce466c2fd1669dffff66794bf3abd4bcb5eda7be9ab046f93b