[INFO] cloning repository https://github.com/phuocchubeo123/bruisable-onion [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/phuocchubeo123/bruisable-onion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphuocchubeo123%2Fbruisable-onion", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphuocchubeo123%2Fbruisable-onion'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6116388c422f5a62532d54ccd0f30746c13415f4 [INFO] checking phuocchubeo123/bruisable-onion against try#8a0378607d6b34c242e3bfa75554871be641864b for pr-143028 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphuocchubeo123%2Fbruisable-onion" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/phuocchubeo123/bruisable-onion [INFO] finished tweaking git repo https://github.com/phuocchubeo123/bruisable-onion [INFO] tweaked toml for git repo https://github.com/phuocchubeo123/bruisable-onion written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/phuocchubeo123/bruisable-onion on toolchain 8a0378607d6b34c242e3bfa75554871be641864b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/phuocchubeo123/bruisable-onion 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" "+8a0378607d6b34c242e3bfa75554871be641864b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66b6ded92b8270732aa35cc5616617e52ab7cc042235576e8f6016d94940aac7 [INFO] running `Command { std: "docker" "start" "-a" "66b6ded92b8270732aa35cc5616617e52ab7cc042235576e8f6016d94940aac7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66b6ded92b8270732aa35cc5616617e52ab7cc042235576e8f6016d94940aac7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66b6ded92b8270732aa35cc5616617e52ab7cc042235576e8f6016d94940aac7", kill_on_drop: false }` [INFO] [stdout] 66b6ded92b8270732aa35cc5616617e52ab7cc042235576e8f6016d94940aac7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97c626adf47b65c2624f77c95b19211ce3a61db3b3709fe435c8c7e8d79e023a [INFO] running `Command { std: "docker" "start" "-a" "97c626adf47b65c2624f77c95b19211ce3a61db3b3709fe435c8c7e8d79e023a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.41.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Checking bruise_onion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Engine` and `engine::general_purpose::STANDARD` [INFO] [stdout] --> tests/tulip_tests.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use base64::{engine::general_purpose::STANDARD, Engine}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DecodeRsaPrivateKey`, `DecodeRsaPublicKey`, `EncodeRsaPrivateKey`, `EncodeRsaPublicKey`, `LineEnding`, `Oaep`, `Pkcs1v15Encrypt`, and `sha2::Sha256` [INFO] [stdout] --> tests/tulip_tests.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | ...::{DecodeRsaPrivateKey, DecodeRsaPublicKey, EncodeRsaPrivateKey, EncodeRsaPublicKey, LineEnding}, sha2::Sha256, Oaep, Pkcs1v15Encrypt, R... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> tests/tulip_tests.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> tests/tulip_tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/tulip_tests.rs:88:58 [INFO] [stdout] | [INFO] [stdout] 88 | let tulip_result = process_tulip(&tulip, first_node, &server_seckeys_map); [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^ expected `&HashMap`, found `&HashMap` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&HashMap<_, IntermediaryNode>` [INFO] [stdout] found reference `&HashMap<_, rsa::RsaPrivateKey>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/tulip.rs:572:8 [INFO] [stdout] | [INFO] [stdout] 572 | pub fn process_tulip( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Oaep` and `sha2::Sha256` [INFO] [stdout] --> tests/crypto_tests.rs:2:114 [INFO] [stdout] | [INFO] [stdout] 2 | use rsa::{pkcs1::{DecodeRsaPrivateKey, DecodeRsaPublicKey, EncodeRsaPrivateKey, EncodeRsaPublicKey, LineEnding}, sha2::Sha256, Oaep, Pkcs... [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> tests/crypto_tests.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{rngs::OsRng, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bruise_onion` (test "tulip_tests") due to 1 previous error; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `EncodeRsaPublicKey` [INFO] [stdout] --> tests/crypto_tests.rs:2:81 [INFO] [stdout] | [INFO] [stdout] 2 | use rsa::{pkcs1::{DecodeRsaPrivateKey, DecodeRsaPublicKey, EncodeRsaPrivateKey, EncodeRsaPublicKey, LineEnding}, sha2::Sha256, Oaep, Pkcs... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DecodeRsaPublicKey` [INFO] [stdout] --> tests/crypto_tests.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | use rsa::{pkcs1::{DecodeRsaPrivateKey, DecodeRsaPublicKey, EncodeRsaPrivateKey, EncodeRsaPublicKey, LineEnding}, sha2::Sha256, Oaep, Pkcs... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ids` [INFO] [stdout] --> tests/crypto_tests.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | let (ids, new_pubkeys) = read_pubkey_list("PKTest.txt").expect("Failed to read server public keys from PKTest.txt"); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ids` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ids_2` [INFO] [stdout] --> tests/crypto_tests.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | let (ids_2, new_seckeys) = read_seckey_list("SKTest.txt").expect("Failed to read server secret keys from SKTest.txt"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ids_2` [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "97c626adf47b65c2624f77c95b19211ce3a61db3b3709fe435c8c7e8d79e023a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97c626adf47b65c2624f77c95b19211ce3a61db3b3709fe435c8c7e8d79e023a", kill_on_drop: false }` [INFO] [stdout] 97c626adf47b65c2624f77c95b19211ce3a61db3b3709fe435c8c7e8d79e023a