[INFO] cloning repository https://github.com/EloiStree/2024_06_22_RsaCryptoWsServerRustCall [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EloiStree/2024_06_22_RsaCryptoWsServerRustCall" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEloiStree%2F2024_06_22_RsaCryptoWsServerRustCall", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEloiStree%2F2024_06_22_RsaCryptoWsServerRustCall'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 178ecc126565a058599a6fe8a4c95c4b1adfe4c4 [INFO] checking EloiStree/2024_06_22_RsaCryptoWsServerRustCall against try#e983148bd5f0f0db270bfb72149f5e892e68b67f for pr-150322 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEloiStree%2F2024_06_22_RsaCryptoWsServerRustCall" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/EloiStree/2024_06_22_RsaCryptoWsServerRustCall [INFO] finished tweaking git repo https://github.com/EloiStree/2024_06_22_RsaCryptoWsServerRustCall [INFO] tweaked toml for git repo https://github.com/EloiStree/2024_06_22_RsaCryptoWsServerRustCall written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/EloiStree/2024_06_22_RsaCryptoWsServerRustCall on toolchain e983148bd5f0f0db270bfb72149f5e892e68b67f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/EloiStree/2024_06_22_RsaCryptoWsServerRustCall 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" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking EloiStree/2024_06_22_RsaCryptoWsServerRustCall against try#e983148bd5f0f0db270bfb72149f5e892e68b67f for pr-150322 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEloiStree%2F2024_06_22_RsaCryptoWsServerRustCall" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/EloiStree/2024_06_22_RsaCryptoWsServerRustCall [INFO] finished tweaking git repo https://github.com/EloiStree/2024_06_22_RsaCryptoWsServerRustCall [INFO] tweaked toml for git repo https://github.com/EloiStree/2024_06_22_RsaCryptoWsServerRustCall written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/EloiStree/2024_06_22_RsaCryptoWsServerRustCall on toolchain e983148bd5f0f0db270bfb72149f5e892e68b67f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/EloiStree/2024_06_22_RsaCryptoWsServerRustCall 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" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tungstenite v0.23.0 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56479e37a592fa692a7444fc655e97ebb1c757bb1606f01525f65ebb91b7277c [INFO] running `Command { std: "docker" "start" "-a" "56479e37a592fa692a7444fc655e97ebb1c757bb1606f01525f65ebb91b7277c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56479e37a592fa692a7444fc655e97ebb1c757bb1606f01525f65ebb91b7277c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56479e37a592fa692a7444fc655e97ebb1c757bb1606f01525f65ebb91b7277c", kill_on_drop: false }` [INFO] [stdout] 56479e37a592fa692a7444fc655e97ebb1c757bb1606f01525f65ebb91b7277c [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" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 230d5944b1843f07deff7f9c01c57e9215af47cd0c89558adc7a031bfe0824b2 [INFO] running `Command { std: "docker" "start" "-a" "230d5944b1843f07deff7f9c01c57e9215af47cd0c89558adc7a031bfe0824b2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.67 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking tungstenite v0.23.0 [INFO] [stderr] Checking rsa_ws_crypto v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/main.rs:33:50 [INFO] [stdout] | [INFO] [stdout] 33 | let publicKeyBytes = base64::decode(publicKeyB64).expect("Failed to decode keypair"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/main.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | let privateKeyBytes = base64::decode(privateKeyB64).expect("Failed to decode signature"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/main.rs:33:50 [INFO] [stdout] | [INFO] [stdout] 33 | let publicKeyBytes = base64::decode(publicKeyB64).expect("Failed to decode keypair"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/main.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | let privateKeyBytes = base64::decode(privateKeyB64).expect("Failed to decode signature"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tungstenite::WebSocket::::write_message`: Use `send` [INFO] [stdout] --> src/main.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | socket.write_message(Message::Text("KEYPAIR1024".to_string())).expect("Failed to send message"); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tungstenite::WebSocket::::write_message`: Use `send` [INFO] [stdout] --> src/main.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | socket.write_message(Message::Text("KEYPAIR1024".to_string())).expect("Failed to send message"); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tungstenite::WebSocket::::read_message`: Use `read` [INFO] [stdout] --> src/main.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | let message = socket.read_message().expect("Failed to receive message"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tungstenite::WebSocket::::read_message`: Use `read` [INFO] [stdout] --> src/main.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | let message = socket.read_message().expect("Failed to receive message"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tokensCount` should have a snake case name [INFO] [stdout] --> src/main.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | let tokensCount = tokens.len(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `tokens_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tokensCount` should have a snake case name [INFO] [stdout] --> src/main.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | let tokensCount = tokens.len(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `tokens_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `publicKeyB64` should have a snake case name [INFO] [stdout] --> src/main.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let publicKeyB64 = tokens[1].clone(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `public_key_b64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `privateKeyB64` should have a snake case name [INFO] [stdout] --> src/main.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | let privateKeyB64 = tokens[2].clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `private_key_b64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `publicKeyBytes` should have a snake case name [INFO] [stdout] --> src/main.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | let publicKeyBytes = base64::decode(publicKeyB64).expect("Failed to decode keypair"); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `public_key_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `privateKeyBytes` should have a snake case name [INFO] [stdout] --> src/main.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let privateKeyBytes = base64::decode(privateKeyB64).expect("Failed to decode signature"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `private_key_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `publicKeyUTF8` should have a snake case name [INFO] [stdout] --> src/main.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | let publicKeyUTF8 = String::from_utf8(publicKeyBytes).expect("Failed to convert public key to UTF8"); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `public_key_utf8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `privateKeyUTF8` should have a snake case name [INFO] [stdout] --> src/main.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | let privateKeyUTF8 = String::from_utf8(privateKeyBytes).expect("Failed to convert private key to UTF8"); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `private_key_utf8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `publicKeyB64` should have a snake case name [INFO] [stdout] --> src/main.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let publicKeyB64 = tokens[1].clone(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `public_key_b64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `privateKeyB64` should have a snake case name [INFO] [stdout] --> src/main.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | let privateKeyB64 = tokens[2].clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `private_key_b64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `publicKeyBytes` should have a snake case name [INFO] [stdout] --> src/main.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | let publicKeyBytes = base64::decode(publicKeyB64).expect("Failed to decode keypair"); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `public_key_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `privateKeyBytes` should have a snake case name [INFO] [stdout] --> src/main.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let privateKeyBytes = base64::decode(privateKeyB64).expect("Failed to decode signature"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `private_key_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `publicKeyUTF8` should have a snake case name [INFO] [stdout] --> src/main.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | let publicKeyUTF8 = String::from_utf8(publicKeyBytes).expect("Failed to convert public key to UTF8"); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `public_key_utf8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `privateKeyUTF8` should have a snake case name [INFO] [stdout] --> src/main.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | let privateKeyUTF8 = String::from_utf8(privateKeyBytes).expect("Failed to convert private key to UTF8"); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `private_key_utf8` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.50s [INFO] running `Command { std: "docker" "inspect" "230d5944b1843f07deff7f9c01c57e9215af47cd0c89558adc7a031bfe0824b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "230d5944b1843f07deff7f9c01c57e9215af47cd0c89558adc7a031bfe0824b2", kill_on_drop: false }` [INFO] [stdout] 230d5944b1843f07deff7f9c01c57e9215af47cd0c89558adc7a031bfe0824b2