[INFO] cloning repository https://github.com/wayofthepie/sec [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wayofthepie/sec" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwayofthepie%2Fsec", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwayofthepie%2Fsec'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2dcaf71dddf67814570f68974bc828cbcb5ba883 [INFO] testing wayofthepie/sec against try#613d1972a772987ed4ee06faccbab0e2fc839871+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwayofthepie%2Fsec" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wayofthepie/sec on toolchain 613d1972a772987ed4ee06faccbab0e2fc839871 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wayofthepie/sec [INFO] finished tweaking git repo https://github.com/wayofthepie/sec [INFO] tweaked toml for git repo https://github.com/wayofthepie/sec written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/wayofthepie/sec already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0eaad41c68f328dc581a1bc0863ad26a40c5a7edc9ea19128b1b5d38daaa6ab [INFO] running `Command { std: "docker" "start" "-a" "d0eaad41c68f328dc581a1bc0863ad26a40c5a7edc9ea19128b1b5d38daaa6ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0eaad41c68f328dc581a1bc0863ad26a40c5a7edc9ea19128b1b5d38daaa6ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0eaad41c68f328dc581a1bc0863ad26a40c5a7edc9ea19128b1b5d38daaa6ab", kill_on_drop: false }` [INFO] [stdout] d0eaad41c68f328dc581a1bc0863ad26a40c5a7edc9ea19128b1b5d38daaa6ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b9f02ad7132e4c66d527a5b09a031d0f11efe490d42473b6cdbe1b337263944 [INFO] running `Command { std: "docker" "start" "-a" "3b9f02ad7132e4c66d527a5b09a031d0f11efe490d42473b6cdbe1b337263944", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling syn v1.0.93 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libgpg-error-sys v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling gpg-error v0.5.2 [INFO] [stderr] Compiling gpgme-sys v0.10.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling cstr-argument v0.1.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling gpgme v0.10.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling zeroize v1.5.5 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling clap v3.1.18 [INFO] [stderr] Compiling rpassword v6.0.1 [INFO] [stderr] Compiling sec v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 09s [INFO] running `Command { std: "docker" "inspect" "3b9f02ad7132e4c66d527a5b09a031d0f11efe490d42473b6cdbe1b337263944", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b9f02ad7132e4c66d527a5b09a031d0f11efe490d42473b6cdbe1b337263944", kill_on_drop: false }` [INFO] [stdout] 3b9f02ad7132e4c66d527a5b09a031d0f11efe490d42473b6cdbe1b337263944 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcb0805f8941237fedbd6325cbfe937274963b67c0a614293eed65b72d1552f2 [INFO] running `Command { std: "docker" "start" "-a" "dcb0805f8941237fedbd6325cbfe937274963b67c0a614293eed65b72d1552f2", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling memfile v0.2.1 [INFO] [stderr] Compiling uuid v1.1.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling sec v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.30s [INFO] running `Command { std: "docker" "inspect" "dcb0805f8941237fedbd6325cbfe937274963b67c0a614293eed65b72d1552f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcb0805f8941237fedbd6325cbfe937274963b67c0a614293eed65b72d1552f2", kill_on_drop: false }` [INFO] [stdout] dcb0805f8941237fedbd6325cbfe937274963b67c0a614293eed65b72d1552f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a0ba38659c543f35affbd78ca5a55f3d9f445ead53d2a21d3573a3a7d7bdf7d0 [INFO] running `Command { std: "docker" "start" "-a" "a0ba38659c543f35affbd78ca5a55f3d9f445ead53d2a21d3573a3a7d7bdf7d0", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sec-edcdac76e0a011e2) [INFO] [stdout] running 20 tests [INFO] [stdout] test fs::test::should_create_dir ... ok [INFO] [stdout] test fs::test::should_create_file ... ok [INFO] [stdout] test input::test::retrieve_should_give_meaningful_error_if_store_has_an_fs_error ... ok [INFO] [stdout] test output::test::result_of_initialize_should_write_message ... ok [INFO] [stdout] test store::test::create_files_contents_should_be_the_value_passed ... ok [INFO] [stdout] test secrets::test::deref_for_zerozed_byte_vec_should_return_a_ref_to_the_inner_vec ... ok [INFO] [stdout] test output::test::result_of_retrieve_should_write_value ... ok [INFO] [stdout] test store::test::should_create_file_with_name_of_entry ... ok [INFO] [stdout] test store::test::should_give_meaningful_error_if_entry_with_given_name_does_not_exist ... ok [INFO] [stdout] test store::test::should_retrieve_value_of_the_given_name ... ok [INFO] [stdout] test output::test::result_of_insert_should_write_success_if_secret_saved ... ok [INFO] [stderr] gpg: inserting ownertrust of 6 [INFO] [stderr] gpg: inserting ownertrust of 6 [INFO] [stderr] gpg: inserting ownertrust of 6 [INFO] [stdout] test input::test::should_give_meaningful_error_if_entry_could_not_be_decrypted ... ok [INFO] [stdout] test input::test::initialize_should_create_gpg_id_file_with_given_key ... ok [INFO] [stderr] gpg: key B7E81576980DC473 occurs more than once in the trustdb [INFO] [stderr] gpg: key B7E81576980DC473 occurs more than once in the trustdb [INFO] [stdout] test input::test::initialize_should_create_gpg_id_file ... ok [INFO] [stdout] test input::test::initialize_should_create_password_store_directory ... ok [INFO] [stdout] test input::test::insert_should_give_meaningful_error_if_store_has_an_fs_error ... ok [INFO] [stderr] gpg: key B7E81576980DC473 occurs more than once in the trustdb [INFO] [stderr] gpg: key B7E81576980DC473 occurs more than once in the trustdb [INFO] [stderr] gpg: key B7E81576980DC473 occurs more than once in the trustdb [INFO] [stderr] gpg: key B7E81576980DC473 occurs more than once in the trustdb [INFO] [stderr] gpg: key B7E81576980DC473 occurs more than once in the trustdb [INFO] [stderr] gpg: key B7E81576980DC473 occurs more than once in the trustdb [INFO] [stderr] gpg: key B7E81576980DC473 occurs more than once in the trustdb [INFO] [stderr] gpg: key B7E81576980DC473 occurs more than once in the trustdb [INFO] [stdout] test gpg::test::should_error_if_key_does_not_exist ... ok [INFO] [stdout] test input::test::should_retrieve_entry_decrypted ... ok [INFO] [stdout] test gpg::test::encrypt_and_decrypt_should_be_isomorphic ... ok [INFO] [stdout] test input::test::should_encrypt_and_store_given_value ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a0ba38659c543f35affbd78ca5a55f3d9f445ead53d2a21d3573a3a7d7bdf7d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0ba38659c543f35affbd78ca5a55f3d9f445ead53d2a21d3573a3a7d7bdf7d0", kill_on_drop: false }` [INFO] [stdout] a0ba38659c543f35affbd78ca5a55f3d9f445ead53d2a21d3573a3a7d7bdf7d0