[INFO] cloning repository https://github.com/silvadanilo/rust-proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/silvadanilo/rust-proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsilvadanilo%2Frust-proxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsilvadanilo%2Frust-proxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 810c3eda6468e30c26e2e93b8a609147c9cfc51a [INFO] testing silvadanilo/rust-proxy against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsilvadanilo%2Frust-proxy" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/silvadanilo/rust-proxy [INFO] finished tweaking git repo https://github.com/silvadanilo/rust-proxy [INFO] tweaked toml for git repo https://github.com/silvadanilo/rust-proxy written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/silvadanilo/rust-proxy on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/silvadanilo/rust-proxy 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.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `proxy` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 08798c7b26a07635b0274137180f93c94c391562a57c1943fe3504a0aa1cbe25 [INFO] running `Command { std: "docker" "start" "08798c7b26a07635b0274137180f93c94c391562a57c1943fe3504a0aa1cbe25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08798c7b26a07635b0274137180f93c94c391562a57c1943fe3504a0aa1cbe25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "08798c7b26a07635b0274137180f93c94c391562a57c1943fe3504a0aa1cbe25" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08798c7b26a07635b0274137180f93c94c391562a57c1943fe3504a0aa1cbe25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "08798c7b26a07635b0274137180f93c94c391562a57c1943fe3504a0aa1cbe25" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `proxy` (manifest) generated 1 warning [INFO] [stderr] Compiling libc v0.2.20 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling cfg-if v0.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazycell v0.4.0 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling scoped-tls v0.1.0 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.4.0 [INFO] [stderr] Compiling futures v0.1.10 [INFO] [stderr] Compiling net2 v0.2.26 [INFO] [stderr] Compiling thread-id v3.0.0 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling thread_local v0.3.2 [INFO] [stderr] Compiling aho-corasick v0.6.2 [INFO] [stderr] Compiling mio v0.6.4 [INFO] [stderr] Compiling regex v0.2.1 [INFO] [stderr] Compiling tokio-core v0.1.4 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling tokio-proto v0.1.0 [INFO] [stderr] Compiling env_logger v0.4.0 [INFO] [stderr] Compiling tokio-line v0.1.0 (https://github.com/tokio-rs/tokio-line#482614ae) [INFO] [stderr] Compiling proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::LogLevel` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use log::LogLevel; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NotReady` and `Ready` [INFO] [stdout] --> src/main.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use futures::Async::{NotReady, Ready}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FutureResult`, `loop_fn`, and `ok` [INFO] [stdout] --> src/main.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use futures::future::{ok, loop_fn, Future, FutureResult, Loop}; [INFO] [stdout] | ^^ ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::sync::mpsc::UnboundedReceiver` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use futures::sync::mpsc::UnboundedReceiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `finished` [INFO] [stdout] --> src/main.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | use futures::{finished, Stream, Sink, stream}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/main.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | use std::io::{Read, Write, ErrorKind}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str` [INFO] [stdout] --> src/main.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | use std::{io, str}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Codec`, `EasyBuf`, and `Framed` [INFO] [stdout] --> src/main.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | use tokio_core::io::{Io, Codec, EasyBuf, Framed}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | ) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:59:65 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn broadcast(&self, message: String) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 | pub fn broadcast(&self, message: String) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: From<()>` is not satisfied [INFO] [stdout] --> src/main.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | .fold(sender, |sender, msg| { [INFO] [stdout] | ^^^^ the trait `From<()>` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 for more information) [INFO] [stdout] = help: you might have intended to use the type `()` here instead [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/main.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 114 | let writer = rx [INFO] [stdout] | -- this expression has type `Receiver` [INFO] [stdout] 115 | .map_err(|()| unreachable!("rx can't fail")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Stream::Error` is `!` here [INFO] [stdout] note: required by a bound in `futures::Stream::fold` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.10/src/stream/mod.rs:558:28 [INFO] [stdout] | [INFO] [stdout] 156 | pub trait Stream { [INFO] [stdout] ... [INFO] [stdout] 555 | fn fold(self, init: T, f: F) -> Fold [INFO] [stdout] ... [INFO] [stdout] 558 | Self::Error: From, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Stream::fold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: From<()>` is not satisfied [INFO] [stdout] --> src/main.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | let writer = rx [INFO] [stdout] | ______________________^ [INFO] [stdout] 115 | | .map_err(|()| unreachable!("rx can't fail")) [INFO] [stdout] 116 | | .fold(sender, |sender, msg| { [INFO] [stdout] 117 | | sender.send(msg).map_err(|_| ()) [INFO] [stdout] ... | [INFO] [stdout] 120 | | Ok(()) [INFO] [stdout] 121 | | }) [INFO] [stdout] | |______________^ the trait `From<()>` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] help: the trait `futures::Future` is conditionally implemented for `Fold` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.10/src/stream/fold.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / impl Future for Fold [INFO] [stdout] 41 | | where S: Stream, [INFO] [stdout] 42 | | F: FnMut(T, S::Item) -> Fut, [INFO] [stdout] 43 | | Fut: IntoFuture, [INFO] [stdout] 44 | | S::Error: From, [INFO] [stdout] | |_____________________----------------^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied requirement introduced here: `, {closure@...}> as Stream>::Error: From<_>` [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 for more information) [INFO] [stdout] = help: you might have intended to use the type `()` here instead [INFO] [stdout] = note: required for `Fold, {closure@...}>, {closure@...}, _, _>` to implement `futures::Future` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/release/build/proxy/51f26e7ceadb5943/out/proxy.long-type-1726456226613491623.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 `!: From<()>` is not satisfied [INFO] [stdout] --> src/main.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | .map(|_| -> Result<(), ()> { [INFO] [stdout] | ^^^ the trait `From<()>` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] help: the trait `futures::Future` is conditionally implemented for `Fold` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.10/src/stream/fold.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / impl Future for Fold [INFO] [stdout] 41 | | where S: Stream, [INFO] [stdout] 42 | | F: FnMut(T, S::Item) -> Fut, [INFO] [stdout] 43 | | Fut: IntoFuture, [INFO] [stdout] 44 | | S::Error: From, [INFO] [stdout] | |_____________________----------------^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied requirement introduced here: `, {closure@...}> as Stream>::Error: From<_>` [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 for more information) [INFO] [stdout] = help: you might have intended to use the type `()` here instead [INFO] [stdout] = note: required for `Fold, {closure@...}>, {closure@...}, _, _>` to implement `futures::Future` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/release/build/proxy/51f26e7ceadb5943/out/proxy.long-type-1726456226613491623.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 213 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 216 | let clients = ConnectedClients::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `proxy` (bin "proxy") due to 3 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "08798c7b26a07635b0274137180f93c94c391562a57c1943fe3504a0aa1cbe25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08798c7b26a07635b0274137180f93c94c391562a57c1943fe3504a0aa1cbe25", kill_on_drop: false }` [INFO] [stdout] 08798c7b26a07635b0274137180f93c94c391562a57c1943fe3504a0aa1cbe25