[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#ecd7b559f89c73ac8f1d318f7501006f37b944b2 for pr-112849 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwayofthepie%2Fsec" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wayofthepie/sec on toolchain ecd7b559f89c73ac8f1d318f7501006f37b944b2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "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-1-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" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d586821c6c7650c9b2c906aa015785310e51598ddd3fe357ffbd4f42c8bb23f7 [INFO] running `Command { std: "docker" "start" "-a" "d586821c6c7650c9b2c906aa015785310e51598ddd3fe357ffbd4f42c8bb23f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d586821c6c7650c9b2c906aa015785310e51598ddd3fe357ffbd4f42c8bb23f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d586821c6c7650c9b2c906aa015785310e51598ddd3fe357ffbd4f42c8bb23f7", kill_on_drop: false }` [INFO] [stdout] d586821c6c7650c9b2c906aa015785310e51598ddd3fe357ffbd4f42c8bb23f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1318b056398e394c5909d37dc3771027e9c6045ccf3248ba198af6d9e77fab4c [INFO] running `Command { std: "docker" "start" "-a" "1318b056398e394c5909d37dc3771027e9c6045ccf3248ba198af6d9e77fab4c", 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 libgpg-error-sys v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling gpg-error v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling gpgme-sys v0.10.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling cstr-argument v0.1.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling gpgme v0.10.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [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 12.63s [INFO] running `Command { std: "docker" "inspect" "1318b056398e394c5909d37dc3771027e9c6045ccf3248ba198af6d9e77fab4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1318b056398e394c5909d37dc3771027e9c6045ccf3248ba198af6d9e77fab4c", kill_on_drop: false }` [INFO] [stdout] 1318b056398e394c5909d37dc3771027e9c6045ccf3248ba198af6d9e77fab4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07a546e1bea0698771e35b43ac383fa2e9389ae97866fb79032528e8cd452c61 [INFO] running `Command { std: "docker" "start" "-a" "07a546e1bea0698771e35b43ac383fa2e9389ae97866fb79032528e8cd452c61", kill_on_drop: false }` [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling getrandom v0.2.6 [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 1.38s [INFO] running `Command { std: "docker" "inspect" "07a546e1bea0698771e35b43ac383fa2e9389ae97866fb79032528e8cd452c61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07a546e1bea0698771e35b43ac383fa2e9389ae97866fb79032528e8cd452c61", kill_on_drop: false }` [INFO] [stdout] 07a546e1bea0698771e35b43ac383fa2e9389ae97866fb79032528e8cd452c61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e65b0e58b2cac8962fc7663ef01d9ad4e3c841633a93935b9117820fe51cbfad [INFO] running `Command { std: "docker" "start" "-a" "e65b0e58b2cac8962fc7663ef01d9ad4e3c841633a93935b9117820fe51cbfad", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sec-5b99426a555d293b) [INFO] [stdout] [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 output::test::result_of_retrieve_should_write_value ... ok [INFO] [stdout] test output::test::result_of_insert_should_write_success_if_secret_saved ... ok [INFO] [stdout] test secrets::test::deref_for_zerozed_byte_vec_should_return_a_ref_to_the_inner_vec ... 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_create_file_with_name_of_entry ... ok [INFO] [stdout] test store::test::create_files_contents_should_be_the_value_passed ... ok [INFO] [stdout] test store::test::should_retrieve_value_of_the_given_name ... ok [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] [stdout] test input::test::initialize_should_create_password_store_directory ... ok [INFO] [stdout] test input::test::initialize_should_create_gpg_id_file ... ok [INFO] [stdout] test input::test::insert_should_give_meaningful_error_if_store_has_an_fs_error ... ok [INFO] [stdout] test input::test::should_encrypt_and_store_given_value ... 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] [stdout] test gpg::test::should_error_if_key_does_not_exist ... ok [INFO] [stdout] test gpg::test::encrypt_and_decrypt_should_be_isomorphic ... ok [INFO] [stdout] test input::test::should_retrieve_entry_decrypted ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e65b0e58b2cac8962fc7663ef01d9ad4e3c841633a93935b9117820fe51cbfad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e65b0e58b2cac8962fc7663ef01d9ad4e3c841633a93935b9117820fe51cbfad", kill_on_drop: false }` [INFO] [stdout] e65b0e58b2cac8962fc7663ef01d9ad4e3c841633a93935b9117820fe51cbfad