[INFO] cloning repository https://github.com/mr-joshcrane/trustnet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mr-joshcrane/trustnet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmr-joshcrane%2Ftrustnet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmr-joshcrane%2Ftrustnet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ffef4a57a045e4755e7732002f7db7daa49be8bf [INFO] testing mr-joshcrane/trustnet against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmr-joshcrane%2Ftrustnet" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mr-joshcrane/trustnet [INFO] finished tweaking git repo https://github.com/mr-joshcrane/trustnet [INFO] tweaked toml for git repo https://github.com/mr-joshcrane/trustnet written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mr-joshcrane/trustnet on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mr-joshcrane/trustnet 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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc8ac49fdd01f2951508b7359214759ebcf3fee5f3f1c7f81612357f8cc6d0e1 [INFO] running `Command { std: "docker" "start" "-a" "dc8ac49fdd01f2951508b7359214759ebcf3fee5f3f1c7f81612357f8cc6d0e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc8ac49fdd01f2951508b7359214759ebcf3fee5f3f1c7f81612357f8cc6d0e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc8ac49fdd01f2951508b7359214759ebcf3fee5f3f1c7f81612357f8cc6d0e1", kill_on_drop: false }` [INFO] [stdout] dc8ac49fdd01f2951508b7359214759ebcf3fee5f3f1c7f81612357f8cc6d0e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 143da9e7ebd9dbfd037a7355df3f8d956925d6b4c26de4c441485d4d084446fc [INFO] running `Command { std: "docker" "start" "-a" "143da9e7ebd9dbfd037a7355df3f8d956925d6b4c26de4c441485d4d084446fc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling openssl-src v300.4.1+3.4.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling trustnet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `encrypt` is never used [INFO] [stdout] --> src/lib.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn encrypt(pub_key: RsaPublicKey, msg: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 13s [INFO] running `Command { std: "docker" "inspect" "143da9e7ebd9dbfd037a7355df3f8d956925d6b4c26de4c441485d4d084446fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "143da9e7ebd9dbfd037a7355df3f8d956925d6b4c26de4c441485d4d084446fc", kill_on_drop: false }` [INFO] [stdout] 143da9e7ebd9dbfd037a7355df3f8d956925d6b4c26de4c441485d4d084446fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b71ea3e6828d16a74aa23eb4d2d208694ba59e900713dd8238166f73ec002739 [INFO] running `Command { std: "docker" "start" "-a" "b71ea3e6828d16a74aa23eb4d2d208694ba59e900713dd8238166f73ec002739", kill_on_drop: false }` [INFO] [stdout] warning: function `encrypt` is never used [INFO] [stdout] --> src/lib.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn encrypt(pub_key: RsaPublicKey, msg: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling trustnet v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.18s [INFO] running `Command { std: "docker" "inspect" "b71ea3e6828d16a74aa23eb4d2d208694ba59e900713dd8238166f73ec002739", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b71ea3e6828d16a74aa23eb4d2d208694ba59e900713dd8238166f73ec002739", kill_on_drop: false }` [INFO] [stdout] b71ea3e6828d16a74aa23eb4d2d208694ba59e900713dd8238166f73ec002739 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 68233c44278ed8bc2ef567aea765b2108b25976206e1dfb5235917294546f8a1 [INFO] running `Command { std: "docker" "start" "-a" "68233c44278ed8bc2ef567aea765b2108b25976206e1dfb5235917294546f8a1", kill_on_drop: false }` [INFO] [stderr] warning: function `encrypt` is never used [INFO] [stderr] --> src/lib.rs:82:4 [INFO] [stderr] | [INFO] [stderr] 82 | fn encrypt(pub_key: RsaPublicKey, msg: &str) -> Result, Error> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `trustnet` (lib) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/trustnet-3f4f4efaf600b520) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::entity_can_decrypt_a_message_signed_with_its_public_key ... ok [INFO] [stdout] test tests::authority_initializes_with_self_signed_certificate ... ok [INFO] [stdout] test tests::second_entity_cant_decrypt_message_signed_with_someone_elses_public_key ... ok [INFO] [stdout] test tests::entity_gets_cert_and_trusts_ca_after_csr ... ok [INFO] [stdout] test tests::entity_can_differentiate_between_trusted_and_untrusted_authorities has been running for over 60 seconds [INFO] [stdout] test tests::entity_can_differentiate_between_trusted_and_untrusted_authorities ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 76.55s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/trustnet-a19ca5309467b390) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests trustnet [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "68233c44278ed8bc2ef567aea765b2108b25976206e1dfb5235917294546f8a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68233c44278ed8bc2ef567aea765b2108b25976206e1dfb5235917294546f8a1", kill_on_drop: false }` [INFO] [stdout] 68233c44278ed8bc2ef567aea765b2108b25976206e1dfb5235917294546f8a1