[INFO] crate government_id 0.1.0 is already in cache [INFO] extracting crate government_id 0.1.0 into work/ex/beta-1.38-1/sources/1.37.0/reg/government_id/0.1.0 [INFO] extracting crate government_id 0.1.0 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/government_id/0.1.0 [INFO] validating manifest of government_id-0.1.0 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 government_id-0.1.0 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 government_id-0.1.0 [INFO] removed 3 missing examples [INFO] finished frobbing government_id-0.1.0 [INFO] frobbed toml for government_id-0.1.0 written to work/ex/beta-1.38-1/sources/1.37.0/reg/government_id/0.1.0/Cargo.toml [INFO] started frobbing government_id-0.1.0 [INFO] removed 3 missing examples [INFO] finished frobbing government_id-0.1.0 [INFO] frobbed toml for government_id-0.1.0 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/government_id/0.1.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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 government_id-0.1.0 against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-7/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/government_id/0.1.0:/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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 0be024e204b962323431cfff6c762f7c5685209ac3e46171900796f116898bf1 [INFO] running `"docker" "start" "-a" "0be024e204b962323431cfff6c762f7c5685209ac3e46171900796f116898bf1"` [INFO] [stderr] warning: An explicit [[example]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other example targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a example target: [INFO] [stderr] [INFO] [stderr] * /opt/crater/workdir/examples/cli-tax-id.rs [INFO] [stderr] * /opt/crater/workdir/examples/cli-bic.rs [INFO] [stderr] * /opt/crater/workdir/examples/cli-rrc.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a example target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autoexamples = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Compiling government_id v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:54:32 [INFO] [stderr] | [INFO] [stderr] 54 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/tax_id.rs:82:14 [INFO] [stderr] | [INFO] [stderr] 82 | 1...9 => Err(Error::WrongLength { length: 10 }), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: #[warn(ellipsis_inclusive_range_patterns)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/error.rs:60:43 [INFO] [stderr] | [INFO] [stderr] 60 | Error::RegexError(ref e) => e.cause(), [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `"docker" "inspect" "0be024e204b962323431cfff6c762f7c5685209ac3e46171900796f116898bf1"` [INFO] running `"docker" "rm" "-f" "0be024e204b962323431cfff6c762f7c5685209ac3e46171900796f116898bf1"` [INFO] [stdout] 0be024e204b962323431cfff6c762f7c5685209ac3e46171900796f116898bf1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-7/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/government_id/0.1.0:/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" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] c55b83b6f591a84684a53d7e620834f54648d4b1e5b3546a0488bfc1fcc9d636 [INFO] running `"docker" "start" "-a" "c55b83b6f591a84684a53d7e620834f54648d4b1e5b3546a0488bfc1fcc9d636"` [INFO] [stderr] warning: An explicit [[example]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other example targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a example target: [INFO] [stderr] [INFO] [stderr] * /opt/crater/workdir/examples/cli-tax-id.rs [INFO] [stderr] * /opt/crater/workdir/examples/cli-bic.rs [INFO] [stderr] * /opt/crater/workdir/examples/cli-rrc.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a example target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autoexamples = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Compiling government_id v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:54:32 [INFO] [stderr] | [INFO] [stderr] 54 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/tax_id.rs:82:14 [INFO] [stderr] | [INFO] [stderr] 82 | 1...9 => Err(Error::WrongLength { length: 10 }), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: #[warn(ellipsis_inclusive_range_patterns)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/error.rs:60:43 [INFO] [stderr] | [INFO] [stderr] 60 | Error::RegexError(ref e) => e.cause(), [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.52s [INFO] running `"docker" "inspect" "c55b83b6f591a84684a53d7e620834f54648d4b1e5b3546a0488bfc1fcc9d636"` [INFO] running `"docker" "rm" "-f" "c55b83b6f591a84684a53d7e620834f54648d4b1e5b3546a0488bfc1fcc9d636"` [INFO] [stdout] c55b83b6f591a84684a53d7e620834f54648d4b1e5b3546a0488bfc1fcc9d636 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-7/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/government_id/0.1.0:/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" "+1.37.0" "test" "--frozen"` [INFO] [stdout] c8acbfc3883ffe822c2ce3f5bbdfa4a23880a61596c7d831fd1306cc336b56cc [INFO] running `"docker" "start" "-a" "c8acbfc3883ffe822c2ce3f5bbdfa4a23880a61596c7d831fd1306cc336b56cc"` [INFO] [stderr] warning: An explicit [[example]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other example targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a example target: [INFO] [stderr] [INFO] [stderr] * /opt/crater/workdir/examples/cli-tax-id.rs [INFO] [stderr] * /opt/crater/workdir/examples/cli-bic.rs [INFO] [stderr] * /opt/crater/workdir/examples/cli-rrc.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a example target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autoexamples = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/crater/target/debug/deps/government_id-8b4d5c79e3a86134 [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test bic::tests::test_empty_bank_identification_code ... ok [INFO] [stdout] test bic::tests::test_convert_from_string ... ok [INFO] [stdout] test bic::tests::test_invalid_bank_identification_code_10_numbers ... ok [INFO] [stdout] test bic::tests::test_invalid_bank_identification_code_8_numbers ... ok [INFO] [stdout] test bic::tests::test_invalid_bank_identification_code_with_litters ... ok [INFO] [stdout] test bic::tests::test_valid_bank_identification_code_9_zeros ... ok [INFO] [stdout] test reason_code::tests::test_invalid_reason_registration_code_with_lower_case_litters ... ok [INFO] [stdout] test tax_id::tests::test_convert_from_string ... ok [INFO] [stdout] test tax_id::tests::test_invalid_check_digit_taxpayer_identification_number_10_numbers ... ok [INFO] [stdout] test tax_id::tests::test_empty_taxpayer_identification_number ... ok [INFO] [stdout] test tax_id::tests::test_invalid_taxpayer_identification_number_11zeros ... ok [INFO] [stdout] test tax_id::tests::test_invalid_check_digit_taxpayer_identification_number_12_numbers ... ok [INFO] [stdout] test tax_id::tests::test_invalid_taxpayer_identification_number_9_zeros ... ok [INFO] [stdout] test tax_id::tests::test_invalid_taxpayer_identification_number_with_litters ... ok [INFO] [stdout] test tax_id::tests::test_invalid_taxpayer_identification_number_too_short ... ok [INFO] [stdout] test tax_id::tests::test_valid_taxpayer_identification_number_10zeros ... ok [INFO] [stdout] test tax_id::tests::test_valid_taxpayer_identification_number_10_numbers ... ok [INFO] [stdout] test tax_id::tests::test_valid_taxpayer_identification_number_12_numbers ... ok [INFO] [stdout] test tax_id::tests::test_valid_taxpayer_identification_number_12zeros ... ok [INFO] [stdout] test reason_code::tests::test_invalid_reason_registration_code_with_not_alphabet_chars ... ok [INFO] [stdout] test reason_code::tests::test_invalid_reason_registration_code_10_numbers ... ok [INFO] [stdout] test reason_code::tests::test_convert_from_string ... ok [INFO] [stdout] test reason_code::tests::test_valid_reason_registration_code_9_zeros ... ok [INFO] [stdout] test reason_code::tests::test_valid_reason_registration_code_with_upper_case_litters ... ok [INFO] [stdout] test reason_code::tests::test_invalid_reason_registration_code_8_numbers ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests government_id [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/tax_id.rs - tax_id::TaxpayerIdentificationNumber (line 10) ... ok [INFO] [stdout] test src/bic.rs - bic::BankIdentificationCode (line 10) ... ok [INFO] [stdout] test src/reason_code.rs - reason_code::ReasonRegistrationCode (line 11) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "c8acbfc3883ffe822c2ce3f5bbdfa4a23880a61596c7d831fd1306cc336b56cc"` [INFO] running `"docker" "rm" "-f" "c8acbfc3883ffe822c2ce3f5bbdfa4a23880a61596c7d831fd1306cc336b56cc"` [INFO] [stdout] c8acbfc3883ffe822c2ce3f5bbdfa4a23880a61596c7d831fd1306cc336b56cc