[INFO] cloning repository https://github.com/brb/socks5-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brb/socks5-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrb%2Fsocks5-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrb%2Fsocks5-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b20b1cc6839ef95eb7907c48d3203babb0ea4c2 [INFO] checking brb/socks5-rs against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrb%2Fsocks5-rs" "/workspace/builds/worker-45/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-45/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brb/socks5-rs on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/brb/socks5-rs [INFO] finished tweaking git repo https://github.com/brb/socks5-rs [INFO] tweaked toml for git repo https://github.com/brb/socks5-rs written to /workspace/builds/worker-45/source/Cargo.toml [INFO] crate git repo https://github.com/brb/socks5-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc4f6ba8cdc9b2ea1548ba6408ecce5eb83c0eae77d3b5dcd6baec2f744beedf [INFO] running `Command { std: "docker" "start" "-a" "fc4f6ba8cdc9b2ea1548ba6408ecce5eb83c0eae77d3b5dcd6baec2f744beedf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc4f6ba8cdc9b2ea1548ba6408ecce5eb83c0eae77d3b5dcd6baec2f744beedf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc4f6ba8cdc9b2ea1548ba6408ecce5eb83c0eae77d3b5dcd6baec2f744beedf", kill_on_drop: false }` [INFO] [stdout] fc4f6ba8cdc9b2ea1548ba6408ecce5eb83c0eae77d3b5dcd6baec2f744beedf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e90158007b7df46a92223c52c6b1ede16e43d7d692402afc6a37ac73c0b94906 [INFO] running `Command { std: "docker" "start" "-a" "e90158007b7df46a92223c52c6b1ede16e43d7d692402afc6a37ac73c0b94906", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking libc v0.2.39 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Checking workers v0.1.0 (/opt/rustwide/workdir/workers) [INFO] [stderr] Checking deque v0.3.2 [INFO] [stderr] Checking log v0.4.1 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> workers/src/lib.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | type Job = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> workers/src/lib.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | type Job = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.32 [INFO] [stderr] Checking bytes v0.4.6 [INFO] [stderr] Checking mio v0.6.14 [INFO] [stderr] Checking tcph v0.1.0 (/opt/rustwide/workdir/tcph) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tcph/src/lib.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | fsm: Box, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn FSM` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tcph/src/lib.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | spawn: fn() -> Box, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn FSM` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tcph/src/lib.rs:136:70 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn register(&mut self, addr: &SocketAddr, spawn: fn() -> Box) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn FSM` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tcph/src/lib.rs:480:37 [INFO] [stdout] | [INFO] [stdout] 480 | fn read_until_would_block(src: &mut Read, buf: &mut BytesMut) -> Result<(usize, bool), Error> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tcph/src/lib.rs:507:30 [INFO] [stdout] | [INFO] [stdout] 507 | fn write_and_flush(dst: &mut Write, buf: &[u8]) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tcph/src/lib.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | fsm: Box, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn FSM` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tcph/src/lib.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | spawn: fn() -> Box, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn FSM` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tcph/src/lib.rs:136:70 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn register(&mut self, addr: &SocketAddr, spawn: fn() -> Box) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn FSM` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tcph/src/lib.rs:480:37 [INFO] [stdout] | [INFO] [stdout] 480 | fn read_until_would_block(src: &mut Read, buf: &mut BytesMut) -> Result<(usize, bool), Error> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tcph/src/lib.rs:507:30 [INFO] [stdout] | [INFO] [stdout] 507 | fn write_and_flush(dst: &mut Write, buf: &[u8]) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tcph/src/lib.rs:350:33 [INFO] [stdout] | [INFO] [stdout] 350 | if let Some(mut conn) = fsm_state.conns.get_mut(&cref) { [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] --> tcph/src/lib.rs:350:33 [INFO] [stdout] | [INFO] [stdout] 350 | if let Some(mut conn) = fsm_state.conns.get_mut(&cref) { [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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking socks5-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bin/main.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/main.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | fn builder() -> Box { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn FSM` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bin/main.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/main.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | fn builder() -> Box { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn FSM` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.66s [INFO] running `Command { std: "docker" "inspect" "e90158007b7df46a92223c52c6b1ede16e43d7d692402afc6a37ac73c0b94906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e90158007b7df46a92223c52c6b1ede16e43d7d692402afc6a37ac73c0b94906", kill_on_drop: false }` [INFO] [stdout] e90158007b7df46a92223c52c6b1ede16e43d7d692402afc6a37ac73c0b94906