[INFO] crate government_id 0.1.0 is already in cache [INFO] extracting crate government_id 0.1.0 into work/ex/pr-57967/sources/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/reg/government_id/0.1.0 [INFO] extracting crate government_id 0.1.0 into work/ex/pr-57967/sources/try#7fea0229842e79db1159ea58ad9a653b288efee9/reg/government_id/0.1.0 [INFO] validating manifest of government_id-0.1.0 on toolchain master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of government_id-0.1.0 on toolchain try#7fea0229842e79db1159ea58ad9a653b288efee9 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+7fea0229842e79db1159ea58ad9a653b288efee9-alt" "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/pr-57967/sources/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/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/pr-57967/sources/try#7fea0229842e79db1159ea58ad9a653b288efee9/reg/government_id/0.1.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+7fea0229842e79db1159ea58ad9a653b288efee9-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+7fea0229842e79db1159ea58ad9a653b288efee9-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing government_id-0.1.0 against try#7fea0229842e79db1159ea58ad9a653b288efee9 for pr-57967 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-57967/worker-5/try#7fea0229842e79db1159ea58ad9a653b288efee9:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-57967/sources/try#7fea0229842e79db1159ea58ad9a653b288efee9/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=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" "+7fea0229842e79db1159ea58ad9a653b288efee9-alt" "build" "--frozen"` [INFO] [stdout] 3b62e4da26af8ae85000a14ed92bec1106cec3722d41eafd79d48e2491748f64 [INFO] running `"docker" "start" "-a" "3b62e4da26af8ae85000a14ed92bec1106cec3722d41eafd79d48e2491748f64"` [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-bic.rs [INFO] [stderr] * /opt/crater/workdir/examples/cli-tax-id.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: 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.98s [INFO] running `"docker" "inspect" "3b62e4da26af8ae85000a14ed92bec1106cec3722d41eafd79d48e2491748f64"` [INFO] running `"docker" "rm" "-f" "3b62e4da26af8ae85000a14ed92bec1106cec3722d41eafd79d48e2491748f64"` [INFO] [stdout] 3b62e4da26af8ae85000a14ed92bec1106cec3722d41eafd79d48e2491748f64 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-57967/worker-5/try#7fea0229842e79db1159ea58ad9a653b288efee9:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-57967/sources/try#7fea0229842e79db1159ea58ad9a653b288efee9/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=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" "+7fea0229842e79db1159ea58ad9a653b288efee9-alt" "test" "--frozen" "--no-run"` [INFO] [stdout] cf67ea0a40a1f19184a231966055e28350f586ebe4c32f9f6355aa3b45610f38 [INFO] running `"docker" "start" "-a" "cf67ea0a40a1f19184a231966055e28350f586ebe4c32f9f6355aa3b45610f38"` [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-bic.rs [INFO] [stderr] * /opt/crater/workdir/examples/cli-tax-id.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: 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.40s [INFO] running `"docker" "inspect" "cf67ea0a40a1f19184a231966055e28350f586ebe4c32f9f6355aa3b45610f38"` [INFO] running `"docker" "rm" "-f" "cf67ea0a40a1f19184a231966055e28350f586ebe4c32f9f6355aa3b45610f38"` [INFO] [stdout] cf67ea0a40a1f19184a231966055e28350f586ebe4c32f9f6355aa3b45610f38 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-57967/worker-5/try#7fea0229842e79db1159ea58ad9a653b288efee9:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-57967/sources/try#7fea0229842e79db1159ea58ad9a653b288efee9/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=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" "+7fea0229842e79db1159ea58ad9a653b288efee9-alt" "test" "--frozen"` [INFO] [stdout] fc50599e63ae4e044c2851c89adefa55a8e0222bfca6f90ac56d2be7e5b1bffb [INFO] running `"docker" "start" "-a" "fc50599e63ae4e044c2851c89adefa55a8e0222bfca6f90ac56d2be7e5b1bffb"` [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-bic.rs [INFO] [stderr] * /opt/crater/workdir/examples/cli-tax-id.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.01s [INFO] [stderr] Running /opt/crater/target/debug/deps/government_id-7c313b482b60df82 [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test bic::tests::test_empty_bank_identification_code ... ok [INFO] [stdout] test bic::tests::test_invalid_bank_identification_code_8_numbers ... ok [INFO] [stdout] test bic::tests::test_valid_bank_identification_code_9_zeros ... ok [INFO] [stdout] test bic::tests::test_invalid_bank_identification_code_with_litters ... 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 tax_id::tests::test_convert_from_string ... ok [INFO] [stdout] test tax_id::tests::test_empty_taxpayer_identification_number ... ok [INFO] [stdout] test tax_id::tests::test_invalid_check_digit_taxpayer_identification_number_10_numbers ... 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_11zeros ... 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_too_short ... ok [INFO] [stdout] test reason_code::tests::test_convert_from_string ... ok [INFO] [stdout] test tax_id::tests::test_invalid_taxpayer_identification_number_with_litters ... 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_10zeros ... ok [INFO] [stdout] test tax_id::tests::test_valid_taxpayer_identification_number_12_numbers ... ok [INFO] [stdout] test reason_code::tests::test_invalid_reason_registration_code_with_lower_case_litters ... ok [INFO] [stdout] test reason_code::tests::test_invalid_reason_registration_code_8_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_10_numbers ... ok [INFO] [stderr] Doc-tests government_id [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_with_not_alphabet_chars ... ok [INFO] [stdout] test reason_code::tests::test_valid_reason_registration_code_9_zeros ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/reason_code.rs - reason_code::ReasonRegistrationCode (line 11) ... ok [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] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "fc50599e63ae4e044c2851c89adefa55a8e0222bfca6f90ac56d2be7e5b1bffb"` [INFO] running `"docker" "rm" "-f" "fc50599e63ae4e044c2851c89adefa55a8e0222bfca6f90ac56d2be7e5b1bffb"` [INFO] [stdout] fc50599e63ae4e044c2851c89adefa55a8e0222bfca6f90ac56d2be7e5b1bffb