[INFO] fetching crate socketioxide 0.18.0... [INFO] testing socketioxide-0.18.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate socketioxide 0.18.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate socketioxide 0.18.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate socketioxide 0.18.0 [INFO] tweaked toml for crates.io crate socketioxide 0.18.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate socketioxide 0.18.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate socketioxide 0.18.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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cfg-if v1.0.1 [INFO] [stderr] Downloaded tracing-attributes v0.1.29 [INFO] [stderr] Downloaded bitflags v2.9.1 [INFO] [stderr] Downloaded serde_derive v1.0.225 [INFO] [stderr] Downloaded serde_core v1.0.225 [INFO] [stderr] Downloaded rmp-serde v1.3.0 [INFO] [stderr] Downloaded wit-bindgen-rt v0.39.0 [INFO] [stderr] Downloaded axum-core v0.5.5 [INFO] [stderr] Downloaded crunchy v0.2.3 [INFO] [stderr] Downloaded engineioxide v0.17.1 [INFO] [stderr] Downloaded serde_path_to_error v0.1.17 [INFO] [stderr] Downloaded anstyle v1.0.11 [INFO] [stderr] Downloaded uuid v1.17.0 [INFO] [stderr] Downloaded axum v0.8.6 [INFO] [stderr] Downloaded codspeed v4.0.4 [INFO] [stderr] Downloaded state v0.6.0 [INFO] [stderr] Downloaded zerocopy v0.8.25 [INFO] [stderr] Downloaded bumpalo v3.18.1 [INFO] [stderr] Downloaded prettyplease v0.2.34 [INFO] [stderr] Downloaded wasi v0.14.2+wasi-0.2.4 [INFO] [stderr] Downloaded tokio-tungstenite v0.26.2 [INFO] [stderr] Downloaded statrs v0.18.0 [INFO] [stderr] Downloaded codspeed-criterion-compat-walltime v4.0.4 [INFO] [stderr] Downloaded cc v1.2.26 [INFO] [stderr] Downloaded loom v0.5.6 [INFO] [stderr] Downloaded tokio-tungstenite v0.28.0 [INFO] [stderr] Downloaded socketioxide-parser-common v0.17.0 [INFO] [stderr] Downloaded rand v0.9.1 [INFO] [stderr] Downloaded thiserror v2.0.15 [INFO] [stderr] Downloaded derive_arbitrary v1.4.1 [INFO] [stderr] Downloaded thiserror-impl v2.0.15 [INFO] [stderr] Downloaded hermit-abi v0.5.1 [INFO] [stderr] Downloaded codspeed-criterion-compat v4.0.4 [INFO] [stderr] Downloaded matchit v0.8.4 [INFO] [stderr] Downloaded engineioxide-core v0.2.0 [INFO] [stderr] Downloaded rustversion v1.0.21 [INFO] [stderr] Downloaded r-efi v5.2.0 [INFO] [stderr] Downloaded is-terminal v0.4.16 [INFO] [stderr] Downloaded rmp v0.8.14 [INFO] [stderr] Downloaded generator v0.7.5 [INFO] [stderr] Downloaded zerocopy-derive v0.8.25 [INFO] [stderr] Downloaded tungstenite v0.26.2 [INFO] [stderr] Downloaded socketioxide-parser-msgpack v0.17.0 [INFO] [stderr] Downloaded socketioxide-core v0.17.0 [INFO] [stderr] Downloaded tungstenite v0.28.0 [INFO] [stderr] Downloaded redox_syscall v0.5.12 [INFO] [stderr] Downloaded serde v1.0.225 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 148cdca45fc5ca1c365c82a7e5b01e33586f344b0ae328e745ba26064d6e0cc1 [INFO] running `Command { std: "docker" "start" "-a" "148cdca45fc5ca1c365c82a7e5b01e33586f344b0ae328e745ba26064d6e0cc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "148cdca45fc5ca1c365c82a7e5b01e33586f344b0ae328e745ba26064d6e0cc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "148cdca45fc5ca1c365c82a7e5b01e33586f344b0ae328e745ba26064d6e0cc1", kill_on_drop: false }` [INFO] [stdout] 148cdca45fc5ca1c365c82a7e5b01e33586f344b0ae328e745ba26064d6e0cc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71ff6edeec294a16a4a8b0f8f6a047a8aa6525412c18736c9f7e37130d266304 [INFO] running `Command { std: "docker" "start" "-a" "71ff6edeec294a16a4a8b0f8f6a047a8aa6525412c18736c9f7e37130d266304", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling thiserror-impl v2.0.15 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling engineioxide-core v0.2.0 [INFO] [stderr] Compiling socketioxide-core v0.17.0 [INFO] [stderr] Compiling socketioxide-parser-common v0.17.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling engineioxide v0.17.1 [INFO] [stderr] Compiling socketioxide v0.18.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `call` is never used [INFO] [stdout] --> src/handler/disconnect.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub(crate) trait ErasedDisconnectHandler: Send + Sync + 'static { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 54 | fn call(&self, s: Arc>, reason: DisconnectReason); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.82s [INFO] running `Command { std: "docker" "inspect" "71ff6edeec294a16a4a8b0f8f6a047a8aa6525412c18736c9f7e37130d266304", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71ff6edeec294a16a4a8b0f8f6a047a8aa6525412c18736c9f7e37130d266304", kill_on_drop: false }` [INFO] [stdout] 71ff6edeec294a16a4a8b0f8f6a047a8aa6525412c18736c9f7e37130d266304 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbed0ba4366fa70acf8788d9ae4ff63e4dd9524115e39b4a564df8101acfead9 [INFO] running `Command { std: "docker" "start" "-a" "dbed0ba4366fa70acf8788d9ae4ff63e4dd9524115e39b4a564df8101acfead9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling prettyplease v0.2.34 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling bindgen v0.72.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling statrs v0.18.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling codspeed-criterion-compat v4.0.4 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.15 [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling engineioxide-core v0.2.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling socketioxide-core v0.17.0 [INFO] [stderr] Compiling socketioxide-parser-common v0.17.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling tungstenite v0.28.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling axum-core v0.5.5 [INFO] [stderr] Compiling codspeed v4.0.4 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-tungstenite v0.28.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling engineioxide v0.17.1 [INFO] [stderr] Compiling axum v0.8.6 [INFO] [stderr] Compiling codspeed-criterion-compat-walltime v4.0.4 [INFO] [stderr] Compiling socketioxide v0.18.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `call` is never used [INFO] [stdout] --> src/handler/disconnect.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub(crate) trait ErasedDisconnectHandler: Send + Sync + 'static { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 54 | fn call(&self, s: Arc>, reason: DisconnectReason); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engineioxide::Packet` [INFO] [stdout] --> tests/connect.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use engineioxide::Packet::*; [INFO] [stdout] | ^^^^^^ could not find `Packet` in `engineioxide` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engineioxide::Packet` [INFO] [stdout] --> tests/acknowledgement.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use engineioxide::Packet::*; [INFO] [stdout] | ^^^^^^ could not find `Packet` in `engineioxide` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing` [INFO] [stdout] --> tests/fixture.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | tracing::error!(?e, buf, "impossible to write to websocket"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing` [INFO] [stdout] --> tests/fixture.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | tracing::error!(?e, buf, "impossible to write to websocket"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engineioxide::Packet` [INFO] [stdout] --> tests/concurrent_emit.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use engineioxide::Packet::*; [INFO] [stdout] | ^^^^^^ could not find `Packet` in `engineioxide` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ws_init` found for reference `&SocketIoService` in the current scope [INFO] [stdout] --> tests/fixture.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | tokio::spawn(svc.ws_init(StreamImpl::new(tx, rx1), ProtocolVersion::V5, None, parts)); [INFO] [stdout] | ^^^^^^^ method not found in `&SocketIoService` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ws_init` found for reference `&SocketIoService` in the current scope [INFO] [stdout] --> tests/fixture.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | tokio::spawn(svc.ws_init(StreamImpl::new(tx, rx1), ProtocolVersion::V5, None, parts)); [INFO] [stdout] | ^^^^^^^ method not found in `&SocketIoService` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_dummy_sock` found for struct `SocketIo` in the current scope [INFO] [stdout] --> tests/connect.rs:66:27 [INFO] [stdout] | [INFO] [stdout] 66 | let (_, mut srx) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `SocketIo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/connect.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let (_, mut srx) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | let p = assert_some!(srx.recv().await); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 66 | let (_, mut srx): (_, _) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_dummy_sock` found for struct `SocketIo` in the current scope [INFO] [stdout] --> tests/acknowledgement.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | let (stx, mut srx) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `SocketIo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/acknowledgement.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let (stx, mut srx) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | assert_some!(srx.recv().await); // NS connect packet [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 32 | let (stx, mut srx): (_, _) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, {type error})` [INFO] [stdout] --> tests/acknowledgement.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let (stx, mut srx) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | assert_ok!(stx.send(Message("31[\"oof\"]".into())).await); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 32 | let (stx, mut srx): (_, _) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `socketioxide::extract::Extension`, `socketioxide::extract::MaybeExtension`, `socketioxide::extract::State` [INFO] [stdout] --> tests/extractors.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 7 | use socketioxide::extract::{Data, Event, Extension, MaybeExtension, SocketRef, State, TryData}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ no `State` in `extract` [INFO] [stdout] | | | [INFO] [stdout] | | no `MaybeExtension` in `extract` [INFO] [stdout] | no `Extension` in `extract` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] axum::Extension [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] axum::extract::State [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 - use socketioxide::extract::{Data, Event, Extension, MaybeExtension, SocketRef, State, TryData}; [INFO] [stdout] 7 + use socketioxide::extract::{Data, Event, extensions, MaybeExtension, SocketRef, State, TryData}; [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | use socketioxide::extract::{Data, Event, Extension, MaybeHttpExtension, SocketRef, State, TryData}; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engineioxide::Packet` [INFO] [stdout] --> tests/extractors.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use engineioxide::Packet as EioPacket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Packet` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 14 - use engineioxide::Packet as EioPacket; [INFO] [stdout] 14 + use engineioxide::packet as EioPacket; [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 14 - use engineioxide::Packet as EioPacket; [INFO] [stdout] 14 + use socketioxide_core::packet::Packet as EioPacket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing` [INFO] [stdout] --> tests/fixture.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | tracing::error!(?e, buf, "impossible to write to websocket"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_dummy_sock` found for struct `SocketIo` in the current scope [INFO] [stdout] --> tests/acknowledgement.rs:95:37 [INFO] [stdout] | [INFO] [stdout] 95 | let (stx, mut srx) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `SocketIo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_dummy_sock` found for struct `SocketIo` in the current scope [INFO] [stdout] --> tests/connect.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 106 | let (_, mut srx) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `SocketIo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/acknowledgement.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let (stx, mut srx) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 96 | assert_some!(srx.recv().await); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 95 | let (stx, mut srx): (_, _) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/connect.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let (_, mut srx) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 107 | [INFO] [stdout] 108 | let p = assert_some!(srx.recv().await); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 106 | let (_, mut srx): (_, _) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, {type error})` [INFO] [stdout] --> tests/acknowledgement.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let (stx, mut srx) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | assert_ok!(stx.send(Message(format!("3{ack}[\"oof\"]").into())).await); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 95 | let (stx, mut srx): (_, _) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stderr] error: could not compile `socketioxide` (test "fixture") due to 2 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `new_dummy_sock` found for struct `SocketIo` in the current scope [INFO] [stdout] --> tests/concurrent_emit.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | let (_stx, mut srx) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `SocketIo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/concurrent_emit.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let (_stx, mut srx) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | assert_some!(srx.recv().await); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 31 | let (_stx, mut srx): (_, _) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `socketioxide` (test "acknowledgement") due to 7 previous errors [INFO] [stdout] error[E0599]: no method named `new_dummy_sock` found for struct `SocketIo` in the current scope [INFO] [stdout] --> tests/connect.rs:125:31 [INFO] [stdout] | [INFO] [stdout] 125 | let (_stx, mut _srx) = io.new_dummy_sock("/admin/132/board", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `SocketIo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_dummy_sock` found for struct `SocketIo` in the current scope [INFO] [stdout] --> tests/connect.rs:142:31 [INFO] [stdout] | [INFO] [stdout] 142 | let (_stx, mut _srx) = io.new_dummy_sock("/admin/test/board", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `SocketIo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_dummy_sock` found for struct `SocketIo` in the current scope [INFO] [stdout] --> tests/connect.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | let (stx, mut srx) = io.new_dummy_sock("/test1", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `SocketIo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, tokio::sync::mpsc::Receiver<_>)` [INFO] [stdout] --> tests/connect.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | let (stx, mut srx) = io.new_dummy_sock("/test1", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 157 | timeout_rcv(&mut srx).await; [INFO] [stdout] 158 | assert_ok!(stx.try_send(create_msg("/test1", "delete_ns", ()))); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 156 | let (stx, mut srx): (_, tokio::sync::mpsc::Receiver) = io.new_dummy_sock("/test1", ()).await; [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_dummy_sock` found for struct `SocketIo` in the current scope [INFO] [stdout] --> tests/connect.rs:178:29 [INFO] [stdout] | [INFO] [stdout] 178 | let (stx, mut srx) = io.new_dummy_sock("/test1", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `SocketIo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, tokio::sync::mpsc::Receiver<_>)` [INFO] [stdout] --> tests/connect.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let (stx, mut srx) = io.new_dummy_sock("/test1", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 179 | timeout_rcv(&mut srx).await; [INFO] [stdout] 180 | assert_ok!(stx.try_send(create_msg("/test1", "delete_ns", ()))); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 178 | let (stx, mut srx): (_, tokio::sync::mpsc::Receiver) = io.new_dummy_sock("/test1", ()).await; [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_dummy_sock` found for struct `SocketIo` in the current scope [INFO] [stdout] --> tests/connect.rs:200:29 [INFO] [stdout] | [INFO] [stdout] 200 | let (stx, mut srx) = io.new_dummy_sock("/test1", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `SocketIo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, tokio::sync::mpsc::Receiver<_>)` [INFO] [stdout] --> tests/connect.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | let (stx, mut srx) = io.new_dummy_sock("/test1", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 201 | timeout_rcv(&mut srx).await; [INFO] [stdout] 202 | assert_ok!(stx.try_send(create_msg("/test1", "delete_ns", ()))); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 200 | let (stx, mut srx): (_, tokio::sync::mpsc::Receiver) = io.new_dummy_sock("/test1", ()).await; [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `socketioxide` (test "concurrent_emit") due to 3 previous errors [INFO] [stdout] error[E0599]: no method named `ws_init` found for reference `&SocketIoService` in the current scope [INFO] [stdout] --> tests/fixture.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | tokio::spawn(svc.ws_init(StreamImpl::new(tx, rx1), ProtocolVersion::V5, None, parts)); [INFO] [stdout] | ^^^^^^^ method not found in `&SocketIoService` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `extensions` on type `SocketRef` [INFO] [stdout] --> tests/extractors.rs:157:11 [INFO] [stdout] | [INFO] [stdout] 157 | s.extensions.insert(123usize); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `extensions` on type `SocketRef` [INFO] [stdout] --> tests/extractors.rs:199:11 [INFO] [stdout] | [INFO] [stdout] 199 | s.extensions.insert(123usize); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_dummy_sock` found for struct `SocketIo` in the current scope [INFO] [stdout] --> tests/connect.rs:223:29 [INFO] [stdout] | [INFO] [stdout] 223 | let (stx, mut srx) = io.new_dummy_sock("/test2", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `SocketIo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, tokio::sync::mpsc::Receiver<_>)` [INFO] [stdout] --> tests/connect.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | let (stx, mut srx) = io.new_dummy_sock("/test2", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | assert_ok!(stx.try_send(Close)); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 223 | let (stx, mut srx): (_, tokio::sync::mpsc::Receiver) = io.new_dummy_sock("/test2", ()).await; [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_dummy_sock` found for struct `SocketIo` in the current scope [INFO] [stdout] --> tests/connect.rs:229:31 [INFO] [stdout] | [INFO] [stdout] 229 | let (_stx, mut _srx) = io.new_dummy_sock("/test2", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `SocketIo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_state` found for struct `SocketIoBuilder` in the current scope [INFO] [stdout] --> tests/extractors.rs:43:39 [INFO] [stdout] | [INFO] [stdout] 43 | let (_, io) = SocketIo::builder().with_state(state).build_svc(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `with_adapter` with a similar name [INFO] [stdout] | [INFO] [stdout] 43 - let (_, io) = SocketIo::builder().with_state(state).build_svc(); [INFO] [stdout] 43 + let (_, io) = SocketIo::builder().with_adapter(state).build_svc(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `socketioxide` (test "connect") due to 16 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/extractors.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | io.ns("/", async |socket: SocketRef, State(state): State| { [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/extractors.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let (stx, mut srx) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 58 | srx.recv().await; [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 57 | let (stx, mut srx): (_, _) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, {type error})` [INFO] [stdout] --> tests/extractors.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let (stx, mut srx) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | assert_ok!(stx.try_send(create_msg("/", "test", "foo"))); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 57 | let (stx, mut srx): (_, _) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_dummy_sock` found for struct `SocketIo` in the current scope [INFO] [stdout] --> tests/extractors.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `SocketIo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_dummy_sock` found for struct `SocketIo` in the current scope [INFO] [stdout] --> tests/extractors.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | io.new_dummy_sock("/", 1321).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `SocketIo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_dummy_sock` found for struct `SocketIo` in the current scope [INFO] [stdout] --> tests/extractors.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | let (stx, _rtx) = io.new_dummy_sock("/", "foo").await; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `SocketIo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/extractors.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let (stx, _rtx) = io.new_dummy_sock("/", "foo").await; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | assert_ok!(stx.try_send(create_msg("/", "test", "oof"))); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 99 | let (stx, _rtx): (_, _) = io.new_dummy_sock("/", "foo").await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `socketioxide` (test "disconnect_reason") due to 2 previous errors [INFO] [stdout] error[E0599]: no method named `new_dummy_sock` found for struct `SocketIo` in the current scope [INFO] [stdout] --> tests/extractors.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `SocketIo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_dummy_sock` found for struct `SocketIo` in the current scope [INFO] [stdout] --> tests/extractors.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | io.new_dummy_sock("/", 1321).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `SocketIo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_dummy_sock` found for struct `SocketIo` in the current scope [INFO] [stdout] --> tests/extractors.rs:132:26 [INFO] [stdout] | [INFO] [stdout] 132 | let (stx, _rtx) = io.new_dummy_sock("/", "foo").await; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `SocketIo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/extractors.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let (stx, _rtx) = io.new_dummy_sock("/", "foo").await; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | assert_ok!(stx.try_send(create_msg("/", "test", "oof"))); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 132 | let (stx, _rtx): (_, _) = io.new_dummy_sock("/", "foo").await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with` found for fn item `fn(SocketRef, {type error}) -> impl Future {ns_root}` in the current scope [INFO] [stdout] --> tests/extractors.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | io.ns("/", ns_root.with(set_ext)); [INFO] [stdout] | ^^^^ method not found in `fn(SocketRef, {type error}) -> impl Future {ns_root}` [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/extractors-c730d311aaa26dc1.long-type-10298486338759430861.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(SocketRef, {type error}) -> ... {ns_root}: ConnectHandler<..., _>` is not satisfied [INFO] [stdout] --> tests/extractors.rs:164:20 [INFO] [stdout] | [INFO] [stdout] 164 | io.ns("/test", ns_root); [INFO] [stdout] | -- ^^^^^^^ Invalid ConnectHandler [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `ConnectHandler` is not implemented for fn item `fn(SocketRef, {type error}) -> impl Future {ns_root}` [INFO] [stdout] = note: This function is not a ConnectHandler. Check that: [INFO] [stdout] * It is a clonable async `FnOnce` that returns nothing. [INFO] [stdout] * All its arguments are valid connect extractors. [INFO] [stdout] * If you use a custom adapter, it must be generic over the adapter type. [INFO] [stdout] See `https://docs.rs/socketioxide/latest/socketioxide/extract/index.html` for details. [INFO] [stdout] [INFO] [stdout] note: required by a bound in `SocketIo::::ns` [INFO] [stdout] --> /opt/rustwide/workdir/src/io.rs:716:12 [INFO] [stdout] | [INFO] [stdout] 714 | pub fn ns(&self, path: impl Into>, callback: C) -> A::InitRes [INFO] [stdout] | -- required by a bound in this associated function [INFO] [stdout] 715 | where [INFO] [stdout] 716 | C: ConnectHandler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `SocketIo::::ns` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/extractors-c730d311aaa26dc1.long-type-10298486338759430861.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_dummy_sock` found for struct `SocketIo` in the current scope [INFO] [stdout] --> tests/extractors.rs:167:27 [INFO] [stdout] | [INFO] [stdout] 167 | let (tx, mut rx) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `SocketIo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, tokio::sync::mpsc::Receiver<_>)` [INFO] [stdout] --> tests/extractors.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let (tx, mut rx) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | assert_ok!(tx.try_send(create_msg("/", "test", ()))); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 167 | let (tx, mut rx): (_, tokio::sync::mpsc::Receiver) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_dummy_sock` found for struct `SocketIo` in the current scope [INFO] [stdout] --> tests/extractors.rs:180:27 [INFO] [stdout] | [INFO] [stdout] 180 | let (tx, mut rx) = io.new_dummy_sock("/test", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `SocketIo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, tokio::sync::mpsc::Receiver<_>)` [INFO] [stdout] --> tests/extractors.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | let (tx, mut rx) = io.new_dummy_sock("/test", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | assert_ok!(tx.try_send(create_msg("/test", "test", ()))); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 180 | let (tx, mut rx): (_, tokio::sync::mpsc::Receiver) = io.new_dummy_sock("/test", ()).await; [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with` found for fn item `fn(SocketRef, {type error}) -> impl Future {ns_root}` in the current scope [INFO] [stdout] --> tests/extractors.rs:204:24 [INFO] [stdout] | [INFO] [stdout] 204 | io.ns("/", ns_root.with(set_ext)); [INFO] [stdout] | ^^^^ method not found in `fn(SocketRef, {type error}) -> impl Future {ns_root}` [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/extractors-c730d311aaa26dc1.long-type-17685282744393904720.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(SocketRef, {type error}) -> ... {ns_root}: ConnectHandler<..., _>` is not satisfied [INFO] [stdout] --> tests/extractors.rs:206:20 [INFO] [stdout] | [INFO] [stdout] 206 | io.ns("/test", ns_root); [INFO] [stdout] | -- ^^^^^^^ Invalid ConnectHandler [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `ConnectHandler` is not implemented for fn item `fn(SocketRef, {type error}) -> impl Future {ns_root}` [INFO] [stdout] = note: This function is not a ConnectHandler. Check that: [INFO] [stdout] * It is a clonable async `FnOnce` that returns nothing. [INFO] [stdout] * All its arguments are valid connect extractors. [INFO] [stdout] * If you use a custom adapter, it must be generic over the adapter type. [INFO] [stdout] See `https://docs.rs/socketioxide/latest/socketioxide/extract/index.html` for details. [INFO] [stdout] [INFO] [stdout] note: required by a bound in `SocketIo::::ns` [INFO] [stdout] --> /opt/rustwide/workdir/src/io.rs:716:12 [INFO] [stdout] | [INFO] [stdout] 714 | pub fn ns(&self, path: impl Into>, callback: C) -> A::InitRes [INFO] [stdout] | -- required by a bound in this associated function [INFO] [stdout] 715 | where [INFO] [stdout] 716 | C: ConnectHandler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `SocketIo::::ns` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/extractors-c730d311aaa26dc1.long-type-17685282744393904720.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_dummy_sock` found for struct `SocketIo` in the current scope [INFO] [stdout] --> tests/extractors.rs:209:27 [INFO] [stdout] | [INFO] [stdout] 209 | let (tx, mut rx) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `SocketIo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, tokio::sync::mpsc::Receiver<_>)` [INFO] [stdout] --> tests/extractors.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | let (tx, mut rx) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | assert_ok!(tx.try_send(create_msg("/", "test", ()))); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 209 | let (tx, mut rx): (_, tokio::sync::mpsc::Receiver) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_dummy_sock` found for struct `SocketIo` in the current scope [INFO] [stdout] --> tests/extractors.rs:222:27 [INFO] [stdout] | [INFO] [stdout] 222 | let (tx, mut rx) = io.new_dummy_sock("/test", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `SocketIo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, tokio::sync::mpsc::Receiver<_>)` [INFO] [stdout] --> tests/extractors.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | let (tx, mut rx) = io.new_dummy_sock("/test", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | assert_ok!(tx.try_send(create_msg("/test", "test", ()))); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 222 | let (tx, mut rx): (_, tokio::sync::mpsc::Receiver) = io.new_dummy_sock("/test", ()).await; [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_dummy_sock` found for struct `SocketIo` in the current scope [INFO] [stdout] --> tests/extractors.rs:252:27 [INFO] [stdout] | [INFO] [stdout] 252 | let (tx, mut rx) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `SocketIo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, tokio::sync::mpsc::Receiver<_>)` [INFO] [stdout] --> tests/extractors.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | let (tx, mut rx) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | tx.try_send(create_msg("/", "my_event", ())).unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 252 | let (tx, mut rx): (_, tokio::sync::mpsc::Receiver) = io.new_dummy_sock("/", ()).await; [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0432, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `socketioxide` (test "extractors") due to 32 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `new_dummy` found for struct `ns::Namespace` in the current scope [INFO] [stdout] --> src/ack.rs:287:45 [INFO] [stdout] | [INFO] [stdout] 287 | let ns = Namespace::::new_dummy([sid]); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `ns::Namespace` [INFO] [stdout] | [INFO] [stdout] ::: src/ns.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Namespace { [INFO] [stdout] | -------------------------------- function or associated item `new_dummy` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_dummy` found for struct `socket::Socket` in the current scope [INFO] [stdout] --> src/ack.rs:288:30 [INFO] [stdout] | [INFO] [stdout] 288 | let socket = Socket::new_dummy(sid, ns); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `socket::Socket<_>` [INFO] [stdout] | [INFO] [stdout] ::: src/socket.rs:284:1 [INFO] [stdout] | [INFO] [stdout] 284 | pub struct Socket { [INFO] [stdout] | -------------------------------------------- function or associated item `new_dummy` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `socket::Socket<_>`, consider using `socket::Socket::::new` which returns `socket::Socket<_>` [INFO] [stdout] --> src/socket.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | / pub(crate) fn new( [INFO] [stdout] 309 | | sid: Sid, [INFO] [stdout] 310 | | ns: Arc>, [INFO] [stdout] 311 | | esocket: Arc>>, [INFO] [stdout] 312 | | parser: Parser, [INFO] [stdout] 313 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_dummy` found for struct `ns::Namespace` in the current scope [INFO] [stdout] --> src/socket.rs:881:45 [INFO] [stdout] | [INFO] [stdout] 881 | let ns = Namespace::::new_dummy([sid]); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `ns::Namespace` [INFO] [stdout] | [INFO] [stdout] ::: src/ns.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Namespace { [INFO] [stdout] | -------------------------------- function or associated item `new_dummy` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_dummy` found for struct `socket::Socket` in the current scope [INFO] [stdout] --> src/socket.rs:882:43 [INFO] [stdout] | [INFO] [stdout] 284 | pub struct Socket { [INFO] [stdout] | -------------------------------------------- function or associated item `new_dummy` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 882 | let socket: Arc = Socket::new_dummy(sid, ns).into(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `socket::Socket<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `socket::Socket<_>`, consider using `socket::Socket::::new` which returns `socket::Socket<_>` [INFO] [stdout] --> src/socket.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | / pub(crate) fn new( [INFO] [stdout] 309 | | sid: Sid, [INFO] [stdout] 310 | | ns: Arc>, [INFO] [stdout] 311 | | esocket: Arc>>, [INFO] [stdout] 312 | | parser: Parser, [INFO] [stdout] 313 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_dummy` found for struct `engineioxide::Socket` in the current scope [INFO] [stdout] --> src/client.rs:460:31 [INFO] [stdout] | [INFO] [stdout] 460 | let sock = EIoSocket::new_dummy(Sid::new(), close_fn); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `engineioxide::Socket<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_dummy` found for struct `engineioxide::Socket` in the current scope [INFO] [stdout] --> src/client.rs:470:31 [INFO] [stdout] | [INFO] [stdout] 470 | let sock = EIoSocket::new_dummy(Sid::new(), close_fn); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `engineioxide::Socket<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_dummy` found for struct `engineioxide::Socket` in the current scope [INFO] [stdout] --> src/client.rs:485:31 [INFO] [stdout] | [INFO] [stdout] 485 | let sock = EIoSocket::new_dummy(Sid::new(), close_fn); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `engineioxide::Socket<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_dummy` found for struct `engineioxide::Socket` in the current scope [INFO] [stdout] --> src/io.rs:791:58 [INFO] [stdout] | [INFO] [stdout] 791 | let socket = Socket::>::new_dummy(sid, Box::new(|_, _| {})); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `engineioxide::Socket>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `socketioxide` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "dbed0ba4366fa70acf8788d9ae4ff63e4dd9524115e39b4a564df8101acfead9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbed0ba4366fa70acf8788d9ae4ff63e4dd9524115e39b4a564df8101acfead9", kill_on_drop: false }` [INFO] [stdout] dbed0ba4366fa70acf8788d9ae4ff63e4dd9524115e39b4a564df8101acfead9