[INFO] cloning repository https://github.com/EloiStree/2024_06_22_Rust_UDP2WS_ServerBroadcast [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_Rust_UDP2WS_ServerBroadcast" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEloiStree%2F2024_06_22_Rust_UDP2WS_ServerBroadcast", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEloiStree%2F2024_06_22_Rust_UDP2WS_ServerBroadcast'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 03cc11a687bc5b8c9ec868e985e29658155782e6 [INFO] testing EloiStree/2024_06_22_Rust_UDP2WS_ServerBroadcast against 1.86.0 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEloiStree%2F2024_06_22_Rust_UDP2WS_ServerBroadcast" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EloiStree/2024_06_22_Rust_UDP2WS_ServerBroadcast on toolchain 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EloiStree/2024_06_22_Rust_UDP2WS_ServerBroadcast [INFO] finished tweaking git repo https://github.com/EloiStree/2024_06_22_Rust_UDP2WS_ServerBroadcast [INFO] tweaked toml for git repo https://github.com/EloiStree/2024_06_22_Rust_UDP2WS_ServerBroadcast written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/EloiStree/2024_06_22_Rust_UDP2WS_ServerBroadcast 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" "+1.86.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded security-framework-sys v2.11.0 [INFO] [stderr] Downloaded tokio-tls v0.2.1 [INFO] [stderr] Downloaded websocket-base v0.26.5 [INFO] [stderr] Downloaded tungstenite v0.23.0 [INFO] [stderr] Downloaded cc v1.0.100 [INFO] [stderr] Downloaded security-framework v2.11.0 [INFO] [stderr] Downloaded websocket v0.27.1 [INFO] [stderr] Downloaded object v0.36.0 [INFO] [stderr] Downloaded syn v2.0.67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f484bddd05aa2032f807cc9d1dcb338b3093a84fbaff117e6d2dd1b40d82a99 [INFO] running `Command { std: "docker" "start" "-a" "6f484bddd05aa2032f807cc9d1dcb338b3093a84fbaff117e6d2dd1b40d82a99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f484bddd05aa2032f807cc9d1dcb338b3093a84fbaff117e6d2dd1b40d82a99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f484bddd05aa2032f807cc9d1dcb338b3093a84fbaff117e6d2dd1b40d82a99", kill_on_drop: false }` [INFO] [stdout] 6f484bddd05aa2032f807cc9d1dcb338b3093a84fbaff117e6d2dd1b40d82a99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11289aa1f454f5a96dfdbea7657e840bd3b0c386786b6a7d9e5281a0ace097f0 [INFO] running `Command { std: "docker" "start" "-a" "11289aa1f454f5a96dfdbea7657e840bd3b0c386786b6a7d9e5281a0ace097f0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling cc v1.0.100 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.67 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling tungstenite v0.23.0 [INFO] [stderr] Compiling tokio-tls v0.2.1 [INFO] [stderr] Compiling websocket-base v0.26.5 [INFO] [stderr] Compiling websocket v0.27.1 [INFO] [stderr] Compiling be_eloistree_udpwsbroadcaster v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/main.rs:136:67 [INFO] [stdout] | [INFO] [stdout] 136 | ... client.received_signed_guid = base64::decode(signed).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `received_signed_guid_b64` [INFO] [stdout] --> src/main.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn CheckIfSignedGuidIsValid(received_signed_guid_b64:String, public_rsa_key_given: String, sent_guid: String)-> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_received_signed_guid_b64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `public_rsa_key_given` [INFO] [stdout] --> src/main.rs:62:66 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn CheckIfSignedGuidIsValid(received_signed_guid_b64:String, public_rsa_key_given: String, sent_guid: String)-> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_rsa_key_given` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sent_guid` [INFO] [stdout] --> src/main.rs:62:96 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn CheckIfSignedGuidIsValid(received_signed_guid_b64:String, public_rsa_key_given: String, sent_guid: String)-> bool { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sent_guid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handshake_list` [INFO] [stdout] --> src/main.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let mut handshake_list: Arc>> = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handshake_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handshake_connection_list` [INFO] [stdout] --> src/main.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut handshake_connection_list: Arc>> = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handshake_connection_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `created_websocket_list` [INFO] [stdout] --> src/main.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut created_websocket_list: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_created_websocket_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut handshake_list: Arc>> = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let mut handshake_connection_list: Arc>> = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let mut created_websocket_list: HashMap> = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ref_handshake_state`, `ref_websocket`, and `ref_given_index` are never read [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct WebSocketRSATunnelHandshakeRef <'handshake, 'websocket>{ [INFO] [stdout] | ------------------------------ fields in this struct [INFO] [stdout] 21 | ref_handshake_state: &'handshake RSATunnelHanshake, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | ref_websocket: &'websocket tungstenite::WebSocket, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 23 | ref_given_index: u32 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WebSocketRSATunnelHandshake` is never constructed [INFO] [stdout] --> src/main.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct WebSocketRSATunnelHandshake { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CheckIfSignedGuidIsValid` should have a snake case name [INFO] [stdout] --> src/main.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn CheckIfSignedGuidIsValid(received_signed_guid_b64:String, public_rsa_key_given: String, sent_guid: String)-> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_if_signed_guid_is_valid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "11289aa1f454f5a96dfdbea7657e840bd3b0c386786b6a7d9e5281a0ace097f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11289aa1f454f5a96dfdbea7657e840bd3b0c386786b6a7d9e5281a0ace097f0", kill_on_drop: false }` [INFO] [stdout] 11289aa1f454f5a96dfdbea7657e840bd3b0c386786b6a7d9e5281a0ace097f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5588963d24c85db9434c20479bc3ad07791804e58f661ae88c3db0a5281d2051 [INFO] running `Command { std: "docker" "start" "-a" "5588963d24c85db9434c20479bc3ad07791804e58f661ae88c3db0a5281d2051", kill_on_drop: false }` [INFO] [stderr] Compiling be_eloistree_udpwsbroadcaster v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/main.rs:136:67 [INFO] [stdout] | [INFO] [stdout] 136 | ... client.received_signed_guid = base64::decode(signed).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `received_signed_guid_b64` [INFO] [stdout] --> src/main.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn CheckIfSignedGuidIsValid(received_signed_guid_b64:String, public_rsa_key_given: String, sent_guid: String)-> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_received_signed_guid_b64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `public_rsa_key_given` [INFO] [stdout] --> src/main.rs:62:66 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn CheckIfSignedGuidIsValid(received_signed_guid_b64:String, public_rsa_key_given: String, sent_guid: String)-> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_rsa_key_given` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sent_guid` [INFO] [stdout] --> src/main.rs:62:96 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn CheckIfSignedGuidIsValid(received_signed_guid_b64:String, public_rsa_key_given: String, sent_guid: String)-> bool { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sent_guid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handshake_list` [INFO] [stdout] --> src/main.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let mut handshake_list: Arc>> = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handshake_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handshake_connection_list` [INFO] [stdout] --> src/main.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut handshake_connection_list: Arc>> = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handshake_connection_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `created_websocket_list` [INFO] [stdout] --> src/main.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut created_websocket_list: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_created_websocket_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut handshake_list: Arc>> = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let mut handshake_connection_list: Arc>> = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let mut created_websocket_list: HashMap> = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ref_handshake_state`, `ref_websocket`, and `ref_given_index` are never read [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct WebSocketRSATunnelHandshakeRef <'handshake, 'websocket>{ [INFO] [stdout] | ------------------------------ fields in this struct [INFO] [stdout] 21 | ref_handshake_state: &'handshake RSATunnelHanshake, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | ref_websocket: &'websocket tungstenite::WebSocket, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 23 | ref_given_index: u32 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WebSocketRSATunnelHandshake` is never constructed [INFO] [stdout] --> src/main.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct WebSocketRSATunnelHandshake { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CheckIfSignedGuidIsValid` should have a snake case name [INFO] [stdout] --> src/main.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn CheckIfSignedGuidIsValid(received_signed_guid_b64:String, public_rsa_key_given: String, sent_guid: String)-> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_if_signed_guid_is_valid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "5588963d24c85db9434c20479bc3ad07791804e58f661ae88c3db0a5281d2051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5588963d24c85db9434c20479bc3ad07791804e58f661ae88c3db0a5281d2051", kill_on_drop: false }` [INFO] [stdout] 5588963d24c85db9434c20479bc3ad07791804e58f661ae88c3db0a5281d2051 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dc8f2a875699d9e325ad358811c759fffa11167ae477b0dd89e7bb7506e2f4eb [INFO] running `Command { std: "docker" "start" "-a" "dc8f2a875699d9e325ad358811c759fffa11167ae477b0dd89e7bb7506e2f4eb", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::vec` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::vec; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stderr] --> src/main.rs:136:67 [INFO] [stderr] | [INFO] [stderr] 136 | ... client.received_signed_guid = base64::decode(signed).unwrap(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `received_signed_guid_b64` [INFO] [stderr] --> src/main.rs:62:33 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn CheckIfSignedGuidIsValid(received_signed_guid_b64:String, public_rsa_key_given: String, sent_guid: String)-> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_received_signed_guid_b64` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `public_rsa_key_given` [INFO] [stderr] --> src/main.rs:62:66 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn CheckIfSignedGuidIsValid(received_signed_guid_b64:String, public_rsa_key_given: String, sent_guid: String)-> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_rsa_key_given` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sent_guid` [INFO] [stderr] --> src/main.rs:62:96 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn CheckIfSignedGuidIsValid(received_signed_guid_b64:String, public_rsa_key_given: String, sent_guid: String)-> bool { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sent_guid` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `handshake_list` [INFO] [stderr] --> src/main.rs:73:13 [INFO] [stderr] | [INFO] [stderr] 73 | let mut handshake_list: Arc>> = Arc::new(Mutex::new(Vec::new())); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handshake_list` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `handshake_connection_list` [INFO] [stderr] --> src/main.rs:74:13 [INFO] [stderr] | [INFO] [stderr] 74 | let mut handshake_connection_list: Arc>> = Arc::new(Mutex::new(Vec::new())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handshake_connection_list` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `created_websocket_list` [INFO] [stderr] --> src/main.rs:77:13 [INFO] [stderr] | [INFO] [stderr] 77 | let mut created_websocket_list: HashMap> = HashMap::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_created_websocket_list` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 73 | let mut handshake_list: Arc>> = Arc::new(Mutex::new(Vec::new())); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:74:9 [INFO] [stderr] | [INFO] [stderr] 74 | let mut handshake_connection_list: Arc>> = Arc::new(Mutex::new(Vec::new())); [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | let mut created_websocket_list: HashMap> = HashMap::new(); [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: fields `ref_handshake_state`, `ref_websocket`, and `ref_given_index` are never read [INFO] [stderr] --> src/main.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 20 | struct WebSocketRSATunnelHandshakeRef <'handshake, 'websocket>{ [INFO] [stderr] | ------------------------------ fields in this struct [INFO] [stderr] 21 | ref_handshake_state: &'handshake RSATunnelHanshake, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 22 | ref_websocket: &'websocket tungstenite::WebSocket, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 23 | ref_given_index: u32 [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `WebSocketRSATunnelHandshake` is never constructed [INFO] [stderr] --> src/main.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | struct WebSocketRSATunnelHandshake { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `CheckIfSignedGuidIsValid` should have a snake case name [INFO] [stderr] --> src/main.rs:62:8 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn CheckIfSignedGuidIsValid(received_signed_guid_b64:String, public_rsa_key_given: String, sent_guid: String)-> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_if_signed_guid_is_valid` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `be_eloistree_udpwsbroadcaster` (bin "be_eloistree_udpwsbroadcaster" test) generated 14 warnings (run `cargo fix --bin "be_eloistree_udpwsbroadcaster" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/be_eloistree_udpwsbroadcaster-edc11141aab4e1fc) [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" "dc8f2a875699d9e325ad358811c759fffa11167ae477b0dd89e7bb7506e2f4eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc8f2a875699d9e325ad358811c759fffa11167ae477b0dd89e7bb7506e2f4eb", kill_on_drop: false }` [INFO] [stdout] dc8f2a875699d9e325ad358811c759fffa11167ae477b0dd89e7bb7506e2f4eb