[INFO] fetching crate simple-secrets 0.1.1... [INFO] extracting crate simple-secrets 0.1.1 into work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/reg/simple-secrets/0.1.1 [INFO] extracting crate simple-secrets 0.1.1 into work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/reg/simple-secrets/0.1.1 [INFO] validating manifest of simple-secrets-0.1.1 on toolchain master#c8865d8e195813ade6b84434ac9f8850e7112d1a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of simple-secrets-0.1.1 on toolchain try#e212b7d492c96d3837691ba29d32d5f468933fb8 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing simple-secrets-0.1.1 [INFO] finished frobbing simple-secrets-0.1.1 [INFO] frobbed toml for simple-secrets-0.1.1 written to work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/reg/simple-secrets/0.1.1/Cargo.toml [INFO] started frobbing simple-secrets-0.1.1 [INFO] finished frobbing simple-secrets-0.1.1 [INFO] frobbed toml for simple-secrets-0.1.1 written to work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/reg/simple-secrets/0.1.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing simple-secrets-0.1.1 against try#e212b7d492c96d3837691ba29d32d5f468933fb8 for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-5/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/reg/simple-secrets/0.1.1:/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" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "build" "--frozen"` [INFO] [stdout] 9d3145a39dc7fb2d782206603829a6916aca1b781b5db4099a5b4325c06cc9f2 [INFO] running `"docker" "start" "-a" "9d3145a39dc7fb2d782206603829a6916aca1b781b5db4099a5b4325c06cc9f2"` [INFO] [stderr] Compiling serde_bytes v0.10.5 [INFO] [stderr] Compiling simple-secrets v0.1.1 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.93s [INFO] running `"docker" "inspect" "9d3145a39dc7fb2d782206603829a6916aca1b781b5db4099a5b4325c06cc9f2"` [INFO] running `"docker" "rm" "-f" "9d3145a39dc7fb2d782206603829a6916aca1b781b5db4099a5b4325c06cc9f2"` [INFO] [stdout] 9d3145a39dc7fb2d782206603829a6916aca1b781b5db4099a5b4325c06cc9f2 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-5/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/reg/simple-secrets/0.1.1:/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" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "test" "--frozen" "--no-run"` [INFO] [stdout] 2eea4aa8d79a5300e8d843af6b7e22f0a5a40579f5641edcdb79429120694405 [INFO] running `"docker" "start" "-a" "2eea4aa8d79a5300e8d843af6b7e22f0a5a40579f5641edcdb79429120694405"` [INFO] [stderr] Compiling simple-secrets v0.1.1 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.61s [INFO] running `"docker" "inspect" "2eea4aa8d79a5300e8d843af6b7e22f0a5a40579f5641edcdb79429120694405"` [INFO] running `"docker" "rm" "-f" "2eea4aa8d79a5300e8d843af6b7e22f0a5a40579f5641edcdb79429120694405"` [INFO] [stdout] 2eea4aa8d79a5300e8d843af6b7e22f0a5a40579f5641edcdb79429120694405 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-5/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/reg/simple-secrets/0.1.1:/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" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "test" "--frozen"` [INFO] [stdout] e95d85bb390d9d40d6cc85eec17652d8f5cbccd49c72a2ff9e8edb4d93a210f7 [INFO] running `"docker" "start" "-a" "e95d85bb390d9d40d6cc85eec17652d8f5cbccd49c72a2ff9e8edb4d93a210f7"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running /opt/crater/target/debug/deps/simple_secrets-465efcd8f9cbbf23 [INFO] [stdout] [INFO] [stdout] running 35 tests [INFO] [stdout] test compatibility::binary::it_creates_packets_from_bytes ... ok [INFO] [stdout] test compatibility::binary::it_recovers_packets_from_bytes ... ok [INFO] [stdout] test compatibility::arrays::it_creates_packets_from_an_array ... ok [INFO] [stdout] test compatibility::maps::it_creates_packets_from_a_map ... ok [INFO] [stdout] test compatibility::arrays::it_recovers_packets_from_an_array ... ok [INFO] [stdout] test compatibility::numbers::it_recovers_packets_from_numbers ... ok [INFO] [stdout] test primitives::tests::it_should_calculate_an_id_for_a_key ... ok [INFO] [stdout] test compatibility::string::it_recovers_packets_from_strings ... ok [INFO] [stdout] test primitives::tests::it_should_binify_from_a_string ... ok [INFO] [stdout] test compatibility::string::it_creates_packets_from_strings ... ok [INFO] [stdout] test primitives::tests::it_should_correctly_distinguish_data_equality ... ok [INFO] [stdout] test compatibility::nil::it_recovers_packets_from_nil ... ok [INFO] [stdout] test primitives::tests::it_should_decrypt_data ... ok [INFO] [stdout] test primitives::tests::it_should_derive_receiver_hmac_key ... ok [INFO] [stdout] test compatibility::nil::it_creates_packets_from_nil ... ok [INFO] [stdout] test compatibility::numbers::it_creates_packets_from_numbers ... ok [INFO] [stdout] test compatibility::maps::it_recovers_packets_from_a_map ... ok [INFO] [stdout] test primitives::tests::it_should_create_a_message_authentication_code ... ok [INFO] [stdout] test primitives::tests::it_should_derive_receiver_key ... ok [INFO] [stdout] test primitives::tests::it_should_serialize_and_deserialize_simple_types ... ok [INFO] [stdout] test primitives::tests::it_should_stringify_data ... ok [INFO] [stdout] test primitives::tests::it_should_derive_sender_hmac_key ... ok [INFO] [stdout] test primitives::tests::it_zeros_buffers ... ok [INFO] [stdout] test primitives::tests::it_should_derive_sender_key ... ok [INFO] [stdout] test tests::it_should_accept_64char_hex ... ok [INFO] [stdout] test primitives::tests::nonce_should_not_be_zeros ... ok [INFO] [stdout] test primitives::tests::it_should_encrypt_data ... ok [INFO] [stdout] test tests::it_should_make_websafe_strings ... ok [INFO] [stdout] test tests::it_should_verify_a_message_authentication_code ... ok [INFO] [stdout] test tests::it_should_have_recoverable_ciphertext ... ok [INFO] [stdout] test tests::it_should_recover_full_objects ... ok [INFO] [stdout] test tests::it_should_create_a_message_authentication_code ... ok [INFO] [stdout] test tests::it_should_only_accept_64char_hex ... ok [INFO] [stdout] test tests::it_should_only_accept_hex ... ok [INFO] [stdout] test tests::it_should_not_be_recoverable_with_a_different_key ... ok [INFO] [stderr] Doc-tests simple-secrets [INFO] [stdout] [INFO] [stdout] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - Packet::unpack (line 119) ... FAILED [INFO] [stdout] test src/lib.rs - Packet::pack (line 89) ... FAILED [INFO] [stdout] test src/lib.rs - Packet::new (line 57) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Packet::unpack (line 119) stdout ---- [INFO] [stdout] error[E0599]: no method named `unpack` found for type `std::result::Result` in the current scope [INFO] [stdout] --> src/lib.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 12 | let secret_message = sender.unpack(packet)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:128:22 [INFO] [stdout] | [INFO] [stdout] 12 | let secret_message = sender.unpack(packet)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Packet::pack (line 89) stdout ---- [INFO] [stdout] error[E0599]: no method named `pack` found for type `std::result::Result` in the current scope [INFO] [stdout] --> src/lib.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 7 | let packet = sender.pack("this is a secret message").unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Packet::pack (line 89) [INFO] [stdout] src/lib.rs - Packet::unpack (line 119) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "e95d85bb390d9d40d6cc85eec17652d8f5cbccd49c72a2ff9e8edb4d93a210f7"` [INFO] running `"docker" "rm" "-f" "e95d85bb390d9d40d6cc85eec17652d8f5cbccd49c72a2ff9e8edb4d93a210f7"` [INFO] [stdout] e95d85bb390d9d40d6cc85eec17652d8f5cbccd49c72a2ff9e8edb4d93a210f7