[INFO] fetching crate recon-link 0.3.0... [INFO] testing recon-link-0.3.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate recon-link 0.3.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate recon-link 0.3.0 [INFO] finished tweaking crates.io crate recon-link 0.3.0 [INFO] tweaked toml for crates.io crate recon-link 0.3.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate recon-link 0.3.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 93 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.4.12 (available: v1.11.1) [INFO] [stderr] Adding env_logger v0.4.3 (available: v0.11.10) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.32) [INFO] [stderr] Adding state_machine_future v0.1.8 (available: v0.2.0) [INFO] [stderr] Adding tokio-retry v0.1.1 (available: v0.3.0) [INFO] [stderr] Adding tokio-timer v0.1.2 (available: v0.2.13) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 597fbcfdf5616418e94c0cb856fe8b73058f1a47a7be7c579282b44a75b1cd3c [INFO] running `Command { std: "docker" "start" "-a" "597fbcfdf5616418e94c0cb856fe8b73058f1a47a7be7c579282b44a75b1cd3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "597fbcfdf5616418e94c0cb856fe8b73058f1a47a7be7c579282b44a75b1cd3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "597fbcfdf5616418e94c0cb856fe8b73058f1a47a7be7c579282b44a75b1cd3c", kill_on_drop: false }` [INFO] [stdout] 597fbcfdf5616418e94c0cb856fe8b73058f1a47a7be7c579282b44a75b1cd3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1615c35e5e476bab4e74f5ad927c9ce297eeeca7b319368645e0c380eda8adb [INFO] running `Command { std: "docker" "start" "-a" "d1615c35e5e476bab4e74f5ad927c9ce297eeeca7b319368645e0c380eda8adb", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling rent_to_own v0.1.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling tokio-timer v0.1.2 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling tokio-retry v0.1.1 [INFO] [stderr] Compiling darling_core v0.8.6 [INFO] [stderr] Compiling darling_macro v0.8.6 [INFO] [stderr] Compiling darling v0.8.6 [INFO] [stderr] Compiling derive_state_machine_future v0.1.8 [INFO] [stderr] Compiling state_machine_future v0.1.8 [INFO] [stderr] Compiling recon-link v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/conn.rs:143:16 [INFO] [stdout] | [INFO] [stdout] 143 | })) as (Box>); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 143 - })) as (Box>); [INFO] [stdout] 143 + })) as Box> ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conn.rs:236:29 [INFO] [stdout] | [INFO] [stdout] 236 | sending = match try!(connected.stream.poll()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conn.rs:281:19 [INFO] [stdout] | [INFO] [stdout] 281 | match try!(connected.sink.start_send(msg)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conn.rs:295:19 [INFO] [stdout] | [INFO] [stdout] 295 | match try!(connected.sink.poll_complete()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conn.rs:309:19 [INFO] [stdout] | [INFO] [stdout] 309 | match try!(connected.tcp.poll_complete()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/framing.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_io::codec::{Framed, Encoder, Decoder}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/framing.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | pub type FramedLineTransport = Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/conn.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | tcp_future: 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] 90 | tcp_future: Box>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/conn.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | })) as (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] 143 | })) as (Box>); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> src/framing.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | inner.framed(Parser) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.21s [INFO] running `Command { std: "docker" "inspect" "d1615c35e5e476bab4e74f5ad927c9ce297eeeca7b319368645e0c380eda8adb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1615c35e5e476bab4e74f5ad927c9ce297eeeca7b319368645e0c380eda8adb", kill_on_drop: false }` [INFO] [stdout] d1615c35e5e476bab4e74f5ad927c9ce297eeeca7b319368645e0c380eda8adb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 969f6d6e043587ad0de29724b8fa47f1f8fee9f016a8ca1002473c2751d542c9 [INFO] running `Command { std: "docker" "start" "-a" "969f6d6e043587ad0de29724b8fa47f1f8fee9f016a8ca1002473c2751d542c9", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling recon-link v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/conn.rs:143:16 [INFO] [stdout] | [INFO] [stdout] 143 | })) as (Box>); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 143 - })) as (Box>); [INFO] [stdout] 143 + })) as Box> ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conn.rs:236:29 [INFO] [stdout] | [INFO] [stdout] 236 | sending = match try!(connected.stream.poll()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conn.rs:281:19 [INFO] [stdout] | [INFO] [stdout] 281 | match try!(connected.sink.start_send(msg)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conn.rs:295:19 [INFO] [stdout] | [INFO] [stdout] 295 | match try!(connected.sink.poll_complete()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conn.rs:309:19 [INFO] [stdout] | [INFO] [stdout] 309 | match try!(connected.tcp.poll_complete()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/framing.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_io::codec::{Framed, Encoder, Decoder}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/framing.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | pub type FramedLineTransport = Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/conn.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | tcp_future: 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] 90 | tcp_future: Box>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/conn.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | })) as (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] 143 | })) as (Box>); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> src/framing.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | inner.framed(Parser) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/conn.rs:143:16 [INFO] [stdout] | [INFO] [stdout] 143 | })) as (Box>); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 143 - })) as (Box>); [INFO] [stdout] 143 + })) as Box> ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conn.rs:236:29 [INFO] [stdout] | [INFO] [stdout] 236 | sending = match try!(connected.stream.poll()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conn.rs:281:19 [INFO] [stdout] | [INFO] [stdout] 281 | match try!(connected.sink.start_send(msg)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conn.rs:295:19 [INFO] [stdout] | [INFO] [stdout] 295 | match try!(connected.sink.poll_complete()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conn.rs:309:19 [INFO] [stdout] | [INFO] [stdout] 309 | match try!(connected.tcp.poll_complete()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/framing.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_io::codec::{Framed, Encoder, Decoder}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/framing.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | pub type FramedLineTransport = Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/conn.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | tcp_future: 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] 90 | tcp_future: Box>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/reconnect.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | type Future = 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] 89 | type Future = Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/conn.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | })) as (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] 143 | })) as (Box>); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> src/framing.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | inner.framed(Parser) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `Command { std: "docker" "inspect" "969f6d6e043587ad0de29724b8fa47f1f8fee9f016a8ca1002473c2751d542c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "969f6d6e043587ad0de29724b8fa47f1f8fee9f016a8ca1002473c2751d542c9", kill_on_drop: false }` [INFO] [stdout] 969f6d6e043587ad0de29724b8fa47f1f8fee9f016a8ca1002473c2751d542c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1626c1eb1f2a19696f9860fbd33a21ca89b3bde72dbac289e8a9fe44ddc04e5f [INFO] running `Command { std: "docker" "start" "-a" "1626c1eb1f2a19696f9860fbd33a21ca89b3bde72dbac289e8a9fe44ddc04e5f", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/conn.rs:143:16 [INFO] [stderr] | [INFO] [stderr] 143 | })) as (Box>); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 143 - })) as (Box>); [INFO] [stderr] 143 + })) as Box> ; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/conn.rs:236:29 [INFO] [stderr] | [INFO] [stderr] 236 | sending = match try!(connected.stream.poll()) { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/conn.rs:281:19 [INFO] [stderr] | [INFO] [stderr] 281 | match try!(connected.sink.start_send(msg)) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/conn.rs:295:19 [INFO] [stderr] | [INFO] [stderr] 295 | match try!(connected.sink.poll_complete()) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/conn.rs:309:19 [INFO] [stderr] | [INFO] [stderr] 309 | match try!(connected.tcp.poll_complete()) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stderr] --> src/framing.rs:4:23 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_io::codec::{Framed, Encoder, Decoder}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stderr] --> src/framing.rs:71:35 [INFO] [stderr] | [INFO] [stderr] 71 | pub type FramedLineTransport = Framed; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/conn.rs:90:25 [INFO] [stderr] | [INFO] [stderr] 90 | tcp_future: Box>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 90 | tcp_future: Box>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/conn.rs:143:21 [INFO] [stderr] | [INFO] [stderr] 143 | })) as (Box>); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 143 | })) as (Box>); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stderr] --> src/framing.rs:76:11 [INFO] [stderr] | [INFO] [stderr] 76 | inner.framed(Parser) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `recon-link` (lib) generated 10 warnings (run `cargo fix --lib -p recon-link` to apply 3 suggestions) [INFO] [stderr] warning: `recon-link` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/reconnect.rs:89:23 [INFO] [stderr] | [INFO] [stderr] 89 | type Future = Box>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 89 | type Future = Box>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `recon-link` (example "reconnect") generated 1 warning (run `cargo fix --example "reconnect" -p recon-link` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/recon_link-91eb7f1fa24c29de) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests recon_link [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/conn.rs:143:16 [INFO] [stderr] | [INFO] [stderr] 143 | })) as (Box>); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 143 - })) as (Box>); [INFO] [stderr] 143 + })) as Box> ; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1626c1eb1f2a19696f9860fbd33a21ca89b3bde72dbac289e8a9fe44ddc04e5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1626c1eb1f2a19696f9860fbd33a21ca89b3bde72dbac289e8a9fe44ddc04e5f", kill_on_drop: false }` [INFO] [stdout] 1626c1eb1f2a19696f9860fbd33a21ca89b3bde72dbac289e8a9fe44ddc04e5f