[INFO] cloning repository https://github.com/MrBearing/obniz-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MrBearing/obniz-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrBearing%2Fobniz-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrBearing%2Fobniz-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ad919f8d677a60ee067336ce96c021d0e6258ef [INFO] checking MrBearing/obniz-rust against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrBearing%2Fobniz-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MrBearing/obniz-rust on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MrBearing/obniz-rust [INFO] finished tweaking git repo https://github.com/MrBearing/obniz-rust [INFO] tweaked toml for git repo https://github.com/MrBearing/obniz-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MrBearing/obniz-rust 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tungstenite v0.17.2 [INFO] [stderr] Downloaded tokio-tungstenite v0.14.0 [INFO] [stderr] Downloaded sha-1 v0.9.4 [INFO] [stderr] Downloaded tungstenite v0.13.0 [INFO] [stderr] Downloaded httparse v1.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2b22cc9bcf5ebda54e11a99309f551cd9fbc9907a2ac5594f99406292913ef9 [INFO] running `Command { std: "docker" "start" "-a" "e2b22cc9bcf5ebda54e11a99309f551cd9fbc9907a2ac5594f99406292913ef9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2b22cc9bcf5ebda54e11a99309f551cd9fbc9907a2ac5594f99406292913ef9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2b22cc9bcf5ebda54e11a99309f551cd9fbc9907a2ac5594f99406292913ef9", kill_on_drop: false }` [INFO] [stdout] e2b22cc9bcf5ebda54e11a99309f551cd9fbc9907a2ac5594f99406292913ef9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f09ea078dee6b11ffb9219fad19f11c4beed8d2415ab0c58ca31b9735cc86eb5 [INFO] running `Command { std: "docker" "start" "-a" "f09ea078dee6b11ffb9219fad19f11c4beed8d2415ab0c58ca31b9735cc86eb5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking futures-channel v0.3.15 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-common v0.1.4 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking tungstenite v0.13.0 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking tungstenite v0.17.2 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking tokio-tungstenite v0.14.0 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking obniz-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/server.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | recp.unbounded_send(msg.clone()).unwrap(); [INFO] [stdout] | -------------- ^^^^^^^^^^^ expected `tungstenite::Message`, found `Message` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Message` and `tungstenite::Message` have similar names, but are actually distinct types [INFO] [stdout] note: `Message` is defined in crate `tungstenite` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tungstenite-0.13.0/src/protocol/message.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | pub enum Message { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `tungstenite::Message` is defined in crate `tungstenite` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tungstenite-0.17.2/src/protocol/message.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | pub enum Message { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `tungstenite` are being used? [INFO] [stdout] help: the return type of this call is `tokio_tungstenite::tungstenite::Message` due to the type of the argument passed [INFO] [stdout] --> examples/server.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | recp.unbounded_send(msg.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `unbounded_send` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.15/src/mpsc/mod.rs:825:12 [INFO] [stdout] | [INFO] [stdout] 825 | pub fn unbounded_send(&self, msg: T) -> Result<(), TrySendError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SplitSink, tokio_tungstenite::tungstenite::Message>: futures_util::Sink` is not satisfied [INFO] [stdout] --> examples/server.rs:67:48 [INFO] [stdout] | [INFO] [stdout] 67 | let receive_from_others = rx.map(Ok).forward(outgoing); [INFO] [stdout] | ------- ^^^^^^^^ the trait `futures_util::Sink` is not implemented for `SplitSink, tokio_tungstenite::tungstenite::Message>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures_util::Sink` is implemented for `SplitSink, tokio_tungstenite::tungstenite::Message>` [INFO] [stdout] = help: for that trait implementation, expected `tokio_tungstenite::tungstenite::Message`, found `tungstenite::Message` [INFO] [stdout] note: required by a bound in `futures_util::StreamExt::forward` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.15/src/stream/stream/mod.rs:1338:12 [INFO] [stdout] | [INFO] [stdout] 1336 | fn forward(self, sink: S) -> Forward [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] 1337 | where [INFO] [stdout] 1338 | S: Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `StreamExt::forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SplitSink, tokio_tungstenite::tungstenite::Message>: futures_util::Sink` is not satisfied [INFO] [stdout] --> examples/server.rs:70:38 [INFO] [stdout] | [INFO] [stdout] 70 | future::select(broadcast_incoming, receive_from_others).await; [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^ the trait `futures_util::Sink` is not implemented for `SplitSink, tokio_tungstenite::tungstenite::Message>`, which is required by `Pin<&mut Forward, fn(tungstenite::Message) -> Result {Result::::Ok}>, SplitSink, tokio_tungstenite::tungstenite::Message>>>: futures_util::Future` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures_util::Sink` is implemented for `SplitSink, tokio_tungstenite::tungstenite::Message>` [INFO] [stdout] = help: for that trait implementation, expected `tokio_tungstenite::tungstenite::Message`, found `tungstenite::Message` [INFO] [stdout] = note: required for `Forward, fn(Message) -> Result {Result::<..., ...>::Ok}>, ..., ...>` to implement `futures_util::Future` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required for `Pin<&mut Forward, fn(Message) -> ... {Result::<..., ...>::Ok}>, ...>>` to implement `futures_util::Future` [INFO] [stdout] note: required by a bound in `futures_util::future::select` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.15/src/future/select.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn select(future1: A, future2: B) -> Select [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 87 | B: Future + Unpin, [INFO] [stdout] | ^^^^^^ required by this bound in `select` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/server-41845b687d19838f.long-type-2436141204543876443.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 `SplitSink, tokio_tungstenite::tungstenite::Message>: futures_util::Sink` is not satisfied [INFO] [stdout] --> examples/server.rs:70:59 [INFO] [stdout] | [INFO] [stdout] 70 | future::select(broadcast_incoming, receive_from_others).await; [INFO] [stdout] | --------------------------------------------------------^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the trait `futures_util::Sink` is not implemented for `SplitSink, tokio_tungstenite::tungstenite::Message>`, which is required by `futures_util::future::Select>, futures_util::future::Ready>, {closure@examples/server.rs:52:50: 52:55}>>, Pin<&mut Forward, fn(tungstenite::Message) -> Result {Result::::Ok}>, SplitSink, tokio_tungstenite::tungstenite::Message>>>>: std::future::IntoFuture` [INFO] [stdout] | | help: remove the `.await` [INFO] [stdout] | this call returns `SplitSink, tokio_tungstenite::tungstenite::Message>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures_util::Sink` is implemented for `SplitSink, tokio_tungstenite::tungstenite::Message>` [INFO] [stdout] = help: for that trait implementation, expected `tokio_tungstenite::tungstenite::Message`, found `tungstenite::Message` [INFO] [stdout] = note: required for `Forward, fn(Message) -> Result {Result::<..., ...>::Ok}>, ..., ...>` to implement `futures_util::Future` [INFO] [stdout] = note: 3 redundant requirements hidden [INFO] [stdout] = note: required for `Select>, Ready>, ...>>, ...>` to implement `futures_util::Future` [INFO] [stdout] = note: required for `Select>, Ready>, ...>>, ...>` to implement `std::future::IntoFuture` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/server-41845b687d19838f.long-type-2604377916835484839.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/server-41845b687d19838f.long-type-2436141204543876443.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `obniz-rust` (example "server") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "f09ea078dee6b11ffb9219fad19f11c4beed8d2415ab0c58ca31b9735cc86eb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f09ea078dee6b11ffb9219fad19f11c4beed8d2415ab0c58ca31b9735cc86eb5", kill_on_drop: false }` [INFO] [stdout] f09ea078dee6b11ffb9219fad19f11c4beed8d2415ab0c58ca31b9735cc86eb5