[INFO] fetching crate rusty-socks 0.1.0... [INFO] testing rusty-socks-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate rusty-socks 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate rusty-socks 0.1.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rusty-socks 0.1.0 [INFO] tweaked toml for crates.io crate rusty-socks 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rusty-socks 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rusty-socks 0.1.0 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d939382c548ae18185cfdc1dbb36ec6f62f92d5ec2c112eed9aa98c1bd815ef [INFO] running `Command { std: "docker" "start" "-a" "0d939382c548ae18185cfdc1dbb36ec6f62f92d5ec2c112eed9aa98c1bd815ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d939382c548ae18185cfdc1dbb36ec6f62f92d5ec2c112eed9aa98c1bd815ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d939382c548ae18185cfdc1dbb36ec6f62f92d5ec2c112eed9aa98c1bd815ef", kill_on_drop: false }` [INFO] [stdout] 0d939382c548ae18185cfdc1dbb36ec6f62f92d5ec2c112eed9aa98c1bd815ef [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9f3214e36f362ed7366699f639f94d98e24c62ededc1eecc80274e725fc000a [INFO] running `Command { std: "docker" "start" "-a" "b9f3214e36f362ed7366699f639f94d98e24c62ededc1eecc80274e725fc000a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling oid-registry v0.7.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling asn1-rs-derive v0.5.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling asn1-rs v0.6.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling der-parser v9.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling x509-parser v0.16.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling rusty-socks v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "b9f3214e36f362ed7366699f639f94d98e24c62ededc1eecc80274e725fc000a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9f3214e36f362ed7366699f639f94d98e24c62ededc1eecc80274e725fc000a", kill_on_drop: false }` [INFO] [stdout] b9f3214e36f362ed7366699f639f94d98e24c62ededc1eecc80274e725fc000a [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddf9b799d9f249013557f01fc6b85bc46cf3cfac52410a9ac427aa1269b5f27e [INFO] running `Command { std: "docker" "start" "-a" "ddf9b799d9f249013557f01fc6b85bc46cf3cfac52410a9ac427aa1269b5f27e", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling rusty-socks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> examples/gaming_server.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::sync::{RwLock, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `state` as immutable because it is also borrowed as mutable [INFO] [stdout] --> examples/gaming_server.rs:270:58 [INFO] [stdout] | [INFO] [stdout] 267 | for (lobby_id, lobby) in state.lobbies.iter_mut() { [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 270 | let all_ready = lobby.players.iter().all(|player_id| { [INFO] [stdout] | ^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] 271 | state.players.get(player_id) [INFO] [stdout] | ----- second borrow occurs due to use of `state` in closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_test_server` is never used [INFO] [stdout] --> tests/websocket_auth_test.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | async fn start_test_server() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/gaming_server.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0502, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> examples/trading_client.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-socks` (example "gaming_server") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `clone` found for struct `SplitSink` in the current scope [INFO] [stdout] --> examples/trading_client.rs:114:38 [INFO] [stdout] | [INFO] [stdout] 114 | let sender_clone = ws_sender.clone(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `close` with a similar name [INFO] [stdout] | [INFO] [stdout] 114 - let sender_clone = ws_sender.clone(); [INFO] [stdout] 114 + let sender_clone = ws_sender.close(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `SplitSink` in the current scope [INFO] [stdout] --> examples/trading_client.rs:120:39 [INFO] [stdout] | [INFO] [stdout] 120 | let sender_clone2 = ws_sender.clone(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `close` with a similar name [INFO] [stdout] | [INFO] [stdout] 120 - let sender_clone2 = ws_sender.clone(); [INFO] [stdout] 120 + let sender_clone2 = ws_sender.close(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-socks` (example "trading_client") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ddf9b799d9f249013557f01fc6b85bc46cf3cfac52410a9ac427aa1269b5f27e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddf9b799d9f249013557f01fc6b85bc46cf3cfac52410a9ac427aa1269b5f27e", kill_on_drop: false }` [INFO] [stdout] ddf9b799d9f249013557f01fc6b85bc46cf3cfac52410a9ac427aa1269b5f27e