[INFO] fetching crate mai 0.1.0... [INFO] testing mai-0.1.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate mai 0.1.0 into /workspace/builds/worker-70/source [INFO] validating manifest of crates.io crate mai 0.1.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mai 0.1.0 [INFO] finished tweaking crates.io crate mai 0.1.0 [INFO] tweaked toml for crates.io crate mai 0.1.0 written to /workspace/builds/worker-70/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc870e35256e1faac8e31d1c15b2ac4a25a60bb9f5d2f6b12c41ae17d24b9099 [INFO] running `Command { std: "docker" "start" "-a" "bc870e35256e1faac8e31d1c15b2ac4a25a60bb9f5d2f6b12c41ae17d24b9099", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc870e35256e1faac8e31d1c15b2ac4a25a60bb9f5d2f6b12c41ae17d24b9099", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc870e35256e1faac8e31d1c15b2ac4a25a60bb9f5d2f6b12c41ae17d24b9099", kill_on_drop: false }` [INFO] [stdout] bc870e35256e1faac8e31d1c15b2ac4a25a60bb9f5d2f6b12c41ae17d24b9099 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d32eff12f7d20d939bc65c3dbbab2478d21deca66d6cdc954b50b05f6a4ba9f [INFO] running `Command { std: "docker" "start" "-a" "4d32eff12f7d20d939bc65c3dbbab2478d21deca66d6cdc954b50b05f6a4ba9f", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling slab v0.1.3 [INFO] [stderr] Compiling bytes v0.3.0 [INFO] [stderr] Compiling lifeguard v0.5.2 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling miow v0.1.5 [INFO] [stderr] Compiling mio v0.5.1 [INFO] [stderr] Compiling mai v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/evented_frame_stream.rs:211:7 [INFO] [stdout] | [INFO] [stdout] 211 | try!(self.register_interest_in_writing(event_loop, token)) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/codec.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | fn encode(&mut self, frame: &F, &mut [u8]) -> EncodingResult; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut [u8]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/codec.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | fn decode(&mut self, &[u8]) -> DecodingResult; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/evented_byte_stream.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | fn read_into_buffer(&mut self, &mut Buffer) -> io::Result; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Buffer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/evented_byte_stream.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | fn write_from_buffer(&mut self, &mut Buffer) -> io::Result; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Buffer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/settings.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | fn set_option(self, T) -> T; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Evented` [INFO] [stdout] --> src/protocol_engine.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use mio::{Evented, EventSet, PollOpt, Token}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Recycleable` [INFO] [stdout] --> src/protocol_engine.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use lifeguard::{self, Recycleable, Pool, StartingSize, MaxSize, Supplier}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/protocol_engine.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/protocol_engine.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/evented_frame_stream.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | let mut outbox = self.outbox(outbox_pool); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol_engine.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | let mut stream_session: &mut StreamSession

= stream_session.unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol_engine.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let (mut efs, mut session) = stream_session.components(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol_engine.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | let (mut efs, mut session) = stream_session.components(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol_engine.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | let mut stream_session: &mut StreamSession

= stream_session.unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol_engine.rs:216:18 [INFO] [stdout] | [INFO] [stdout] 216 | let (mut efs, mut session) = stream_session.components(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol_engine.rs:216:27 [INFO] [stdout] | [INFO] [stdout] 216 | let (mut efs, mut session) = stream_session.components(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol_engine.rs:531:26 [INFO] [stdout] | [INFO] [stdout] 531 | let (codec, _stream, mut write_buffer, outbox) = efs.writing_toolset(buffer_pool, outbox_pool); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.19s [INFO] running `Command { std: "docker" "inspect" "4d32eff12f7d20d939bc65c3dbbab2478d21deca66d6cdc954b50b05f6a4ba9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d32eff12f7d20d939bc65c3dbbab2478d21deca66d6cdc954b50b05f6a4ba9f", kill_on_drop: false }` [INFO] [stdout] 4d32eff12f7d20d939bc65c3dbbab2478d21deca66d6cdc954b50b05f6a4ba9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d5bedde71742b817a6a9af1ba178ce7837666576ed87afc0e039cb3ad248931 [INFO] running `Command { std: "docker" "start" "-a" "4d5bedde71742b817a6a9af1ba178ce7837666576ed87afc0e039cb3ad248931", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/evented_frame_stream.rs:211:7 [INFO] [stdout] | [INFO] [stdout] 211 | try!(self.register_interest_in_writing(event_loop, token)) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/codec.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | fn encode(&mut self, frame: &F, &mut [u8]) -> EncodingResult; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut [u8]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/codec.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | fn decode(&mut self, &[u8]) -> DecodingResult; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/evented_byte_stream.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | fn read_into_buffer(&mut self, &mut Buffer) -> io::Result; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Buffer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/evented_byte_stream.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | fn write_from_buffer(&mut self, &mut Buffer) -> io::Result; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Buffer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/settings.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | fn set_option(self, T) -> T; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Evented` [INFO] [stdout] --> src/protocol_engine.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use mio::{Evented, EventSet, PollOpt, Token}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Recycleable` [INFO] [stdout] --> src/protocol_engine.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use lifeguard::{self, Recycleable, Pool, StartingSize, MaxSize, Supplier}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/protocol_engine.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/protocol_engine.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/evented_frame_stream.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | let mut outbox = self.outbox(outbox_pool); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol_engine.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | let mut stream_session: &mut StreamSession

= stream_session.unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol_engine.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let (mut efs, mut session) = stream_session.components(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol_engine.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | let (mut efs, mut session) = stream_session.components(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol_engine.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | let mut stream_session: &mut StreamSession

= stream_session.unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mai v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol_engine.rs:216:18 [INFO] [stdout] | [INFO] [stdout] 216 | let (mut efs, mut session) = stream_session.components(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol_engine.rs:216:27 [INFO] [stdout] | [INFO] [stdout] 216 | let (mut efs, mut session) = stream_session.components(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol_engine.rs:531:26 [INFO] [stdout] | [INFO] [stdout] 531 | let (codec, _stream, mut write_buffer, outbox) = efs.writing_toolset(buffer_pool, outbox_pool); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/evented_frame_stream.rs:211:7 [INFO] [stdout] | [INFO] [stdout] 211 | try!(self.register_interest_in_writing(event_loop, token)) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/codec.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | fn encode(&mut self, frame: &F, &mut [u8]) -> EncodingResult; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut [u8]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/codec.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | fn decode(&mut self, &[u8]) -> DecodingResult; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/evented_byte_stream.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | fn read_into_buffer(&mut self, &mut Buffer) -> io::Result; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Buffer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/evented_byte_stream.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | fn write_from_buffer(&mut self, &mut Buffer) -> io::Result; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Buffer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/settings.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | fn set_option(self, T) -> T; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Evented` [INFO] [stdout] --> src/protocol_engine.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use mio::{Evented, EventSet, PollOpt, Token}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Recycleable` [INFO] [stdout] --> src/protocol_engine.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use lifeguard::{self, Recycleable, Pool, StartingSize, MaxSize, Supplier}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/protocol_engine.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/protocol_engine.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/evented_frame_stream.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | let mut outbox = self.outbox(outbox_pool); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol_engine.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | let mut stream_session: &mut StreamSession

= stream_session.unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol_engine.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let (mut efs, mut session) = stream_session.components(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol_engine.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | let (mut efs, mut session) = stream_session.components(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol_engine.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | let mut stream_session: &mut StreamSession

= stream_session.unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol_engine.rs:216:18 [INFO] [stdout] | [INFO] [stdout] 216 | let (mut efs, mut session) = stream_session.components(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol_engine.rs:216:27 [INFO] [stdout] | [INFO] [stdout] 216 | let (mut efs, mut session) = stream_session.components(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol_engine.rs:531:26 [INFO] [stdout] | [INFO] [stdout] 531 | let (codec, _stream, mut write_buffer, outbox) = efs.writing_toolset(buffer_pool, outbox_pool); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.21s [INFO] running `Command { std: "docker" "inspect" "4d5bedde71742b817a6a9af1ba178ce7837666576ed87afc0e039cb3ad248931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d5bedde71742b817a6a9af1ba178ce7837666576ed87afc0e039cb3ad248931", kill_on_drop: false }` [INFO] [stdout] 4d5bedde71742b817a6a9af1ba178ce7837666576ed87afc0e039cb3ad248931 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 46d2c59965712a94604a71ec9f29db9313b578512962bda40ac8fc8dec8832a1 [INFO] running `Command { std: "docker" "start" "-a" "46d2c59965712a94604a71ec9f29db9313b578512962bda40ac8fc8dec8832a1", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/evented_frame_stream.rs:211:7 [INFO] [stderr] | [INFO] [stderr] 211 | try!(self.register_interest_in_writing(event_loop, token)) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/codec.rs:54:35 [INFO] [stderr] | [INFO] [stderr] 54 | fn encode(&mut self, frame: &F, &mut [u8]) -> EncodingResult; [INFO] [stderr] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut [u8]` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/codec.rs:55:24 [INFO] [stderr] | [INFO] [stderr] 55 | fn decode(&mut self, &[u8]) -> DecodingResult; [INFO] [stderr] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/evented_byte_stream.rs:7:34 [INFO] [stderr] | [INFO] [stderr] 7 | fn read_into_buffer(&mut self, &mut Buffer) -> io::Result; [INFO] [stderr] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Buffer` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/evented_byte_stream.rs:8:35 [INFO] [stderr] | [INFO] [stderr] 8 | fn write_from_buffer(&mut self, &mut Buffer) -> io::Result; [INFO] [stderr] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Buffer` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/settings.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | fn set_option(self, T) -> T; [INFO] [stderr] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: unused import: `Evented` [INFO] [stderr] --> src/protocol_engine.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use mio::{Evented, EventSet, PollOpt, Token}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Recycleable` [INFO] [stderr] --> src/protocol_engine.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | use lifeguard::{self, Recycleable, Pool, StartingSize, MaxSize, Supplier}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Read` [INFO] [stderr] --> src/protocol_engine.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | use std::io::{self, Read, Write}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> src/protocol_engine.rs:8:27 [INFO] [stderr] | [INFO] [stderr] 8 | use std::io::{self, Read, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/evented_frame_stream.rs:215:9 [INFO] [stderr] | [INFO] [stderr] 215 | let mut outbox = self.outbox(outbox_pool); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/protocol_engine.rs:131:12 [INFO] [stderr] | [INFO] [stderr] 131 | let mut stream_session: &mut StreamSession

= stream_session.unwrap(); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/protocol_engine.rs:133:13 [INFO] [stderr] | [INFO] [stderr] 133 | let (mut efs, mut session) = stream_session.components(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/protocol_engine.rs:133:22 [INFO] [stderr] | [INFO] [stderr] 133 | let (mut efs, mut session) = stream_session.components(); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/protocol_engine.rs:215:17 [INFO] [stderr] | [INFO] [stderr] 215 | let mut stream_session: &mut StreamSession

= stream_session.unwrap(); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/protocol_engine.rs:216:18 [INFO] [stderr] | [INFO] [stderr] 216 | let (mut efs, mut session) = stream_session.components(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/protocol_engine.rs:216:27 [INFO] [stderr] | [INFO] [stderr] 216 | let (mut efs, mut session) = stream_session.components(); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/protocol_engine.rs:531:26 [INFO] [stderr] | [INFO] [stderr] 531 | let (codec, _stream, mut write_buffer, outbox) = efs.writing_toolset(buffer_pool, outbox_pool); [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `mai` (lib) generated 18 warnings [INFO] [stderr] warning: `mai` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/mai-c8725c4fdc033f44) [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] [stderr] Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-f47c72e169456a0e) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::test_restack ... ok [INFO] [stdout] test tests::test_restack_everything_consumed ... ok [INFO] [stdout] test tests::test_restack_nothing_consumed ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests mai [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" "46d2c59965712a94604a71ec9f29db9313b578512962bda40ac8fc8dec8832a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46d2c59965712a94604a71ec9f29db9313b578512962bda40ac8fc8dec8832a1", kill_on_drop: false }` [INFO] [stdout] 46d2c59965712a94604a71ec9f29db9313b578512962bda40ac8fc8dec8832a1