[INFO] cloning repository https://github.com/dkeehl/chunfen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dkeehl/chunfen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdkeehl%2Fchunfen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdkeehl%2Fchunfen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d7b66ed0687f0c2adaf4e0146ae28231b88c0e9 [INFO] checking dkeehl/chunfen against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdkeehl%2Fchunfen" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dkeehl/chunfen on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dkeehl/chunfen [INFO] finished tweaking git repo https://github.com/dkeehl/chunfen [INFO] tweaked toml for git repo https://github.com/dkeehl/chunfen written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dkeehl/chunfen 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-reactor v0.1.3 [INFO] [stderr] Downloaded fern v0.5.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c47c0eee955cb9bd3b01c9e311c32a1652a92e7108a85e844eac02596ad63bd [INFO] running `Command { std: "docker" "start" "-a" "4c47c0eee955cb9bd3b01c9e311c32a1652a92e7108a85e844eac02596ad63bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c47c0eee955cb9bd3b01c9e311c32a1652a92e7108a85e844eac02596ad63bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c47c0eee955cb9bd3b01c9e311c32a1652a92e7108a85e844eac02596ad63bd", kill_on_drop: false }` [INFO] [stdout] 4c47c0eee955cb9bd3b01c9e311c32a1652a92e7108a85e844eac02596ad63bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10d0bc3d364e9f5a03a9d865777610461338987f88da9b3119cd890af3a5c7e0 [INFO] running `Command { std: "docker" "start" "-a" "10d0bc3d364e9f5a03a9d865777610461338987f88da9b3119cd890af3a5c7e0", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.39 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Checking futures v0.1.25 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking crossbeam-utils v0.5.0 [INFO] [stderr] Checking slab v0.4.1 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking lazycell v0.6.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking crossbeam-epoch v0.5.2 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking bytes v0.4.10 [INFO] [stderr] Checking net2 v0.2.32 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Checking crossbeam-deque v0.6.1 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking mio v0.6.14 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking tokio-executor v0.1.5 [INFO] [stderr] Checking tokio-io v0.1.9 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Checking tokio-timer v0.2.7 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking nom v4.1.1 [INFO] [stderr] Checking getopts v0.2.18 [INFO] [stderr] Checking tokio-reactor v0.1.3 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking fern v0.5.6 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Checking tokio-threadpool v0.1.8 [INFO] [stderr] Checking tokio-tcp v0.1.2 [INFO] [stderr] Checking tokio-udp v0.1.2 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking untrusted v0.5.1 [INFO] [stderr] Checking tokio-fs v0.1.4 [INFO] [stderr] Checking tokio v0.1.7 [INFO] [stderr] Checking chunfen-socks v0.1.0 (/opt/rustwide/workdir/chunfen-socks) [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> chunfen-socks/src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> chunfen-socks/src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(unused)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> chunfen-socks/src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> chunfen-socks/src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> chunfen-socks/src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(unused)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> chunfen-socks/src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-socks/src/connector.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 93 | -> Box + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 93 | -> Box + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-socks/src/utils.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | -> Box + Send> { Box::new(x) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | -> Box + Send> { Box::new(x) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-socks/src/connector.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 93 | -> Box + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 93 | -> Box + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-socks/src/utils.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | -> Box + Send> { Box::new(x) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | -> Box + Send> { Box::new(x) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-socks/src/connector.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | -> Box + Send> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 | -> Box + Send> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-socks/src/connector.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | -> Box + Send> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | -> Box + Send> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-socks/src/connector.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 162 | -> Box + Send> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 | -> Box + Send> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-socks/src/connector.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | -> Box + Send> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 | -> Box + Send> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-socks/src/connector.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | -> Box + Send> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | -> Box + Send> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-socks/src/connector.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 162 | -> Box + Send> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 | -> Box + Send> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ring v0.12.1 [INFO] [stdout] warning: constant `SOCKS_V4` is never used [INFO] [stdout] --> chunfen-socks/src/lib.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const SOCKS_V4:u8 = 4; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SOCKS_V4` is never used [INFO] [stdout] --> chunfen-socks/src/lib.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const SOCKS_V4:u8 = 4; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chunfen-sec v0.1.0 (/opt/rustwide/workdir/chunfen-sec) [INFO] [stdout] warning: the item `ring` is imported redundantly [INFO] [stdout] --> chunfen-sec/src/encryption.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ring; [INFO] [stdout] | ^^^^ the item `ring` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> chunfen-sec/src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(unused)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ring` is imported redundantly [INFO] [stdout] --> chunfen-sec/src/encryption.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ring; [INFO] [stdout] | ^^^^ the item `ring` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> chunfen-sec/src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(unused)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> chunfen-sec/src/encryption.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ring` is imported redundantly [INFO] [stdout] --> chunfen-sec/src/suites.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ring; [INFO] [stdout] | ^^^^ the item `ring` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ring` is imported redundantly [INFO] [stdout] --> chunfen-sec/src/suites.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ring; [INFO] [stdout] | ^^^^ the item `ring` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `log` is imported redundantly [INFO] [stdout] --> chunfen-sec/src/test.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use log::{self, Record, Metadata, Level, SetLoggerError}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: chunfen-sec/src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate log; [INFO] [stdout] | ----------------- the item `log` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/session.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | msg_encryptor: Box, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 | msg_encryptor: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/session.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | msg_encryptor: Box, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 | msg_encryptor: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/session.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | msg_decryptor: Box, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | msg_decryptor: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/session.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | msg_decryptor: Box, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | msg_decryptor: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/session.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | fn read_tls(&mut self, r: &mut Read) -> Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn read_tls(&mut self, r: &mut dyn Read) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/session.rs:16:37 [INFO] [stdout] | [INFO] [stdout] 16 | fn write_tls(&mut self, w: &mut Write) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | fn write_tls(&mut self, w: &mut dyn Write) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/session.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | fn read_tls(&mut self, r: &mut Read) -> Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn read_tls(&mut self, r: &mut dyn Read) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/session.rs:255:50 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn set_msg_encryptor(&mut self, enc: Box) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 255 | pub fn set_msg_encryptor(&mut self, enc: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/session.rs:16:37 [INFO] [stdout] | [INFO] [stdout] 16 | fn write_tls(&mut self, w: &mut Write) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | fn write_tls(&mut self, w: &mut dyn Write) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/session.rs:259:50 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn set_msg_decryptor(&mut self, dec: Box) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 259 | pub fn set_msg_decryptor(&mut self, dec: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/encryption.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | impl MsgEncryptor { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | impl dyn MsgEncryptor { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/encryption.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | impl MsgDecryptor { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | impl dyn MsgDecryptor { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/session.rs:255:50 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn set_msg_encryptor(&mut self, enc: Box) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 255 | pub fn set_msg_encryptor(&mut self, enc: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/session.rs:259:50 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn set_msg_decryptor(&mut self, dec: Box) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 259 | pub fn set_msg_decryptor(&mut self, dec: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/encryption.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn plain() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | pub fn plain() -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/encryption.rs:40:68 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new(suite: &SupportedCipherSuite, secret: &[u8]) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new(suite: &SupportedCipherSuite, secret: &[u8]) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/encryption.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | impl MsgEncryptor { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | impl dyn MsgEncryptor { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/encryption.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | impl MsgDecryptor { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | impl dyn MsgDecryptor { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/encryption.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn plain() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | pub fn plain() -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/encryption.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn plain() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | pub fn plain() -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/encryption.rs:40:68 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new(suite: &SupportedCipherSuite, secret: &[u8]) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new(suite: &SupportedCipherSuite, secret: &[u8]) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/encryption.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn plain() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | pub fn plain() -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/encryption.rs:57:68 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(suite: &SupportedCipherSuite, secret: &[u8]) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(suite: &SupportedCipherSuite, secret: &[u8]) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/encryption.rs:57:68 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(suite: &SupportedCipherSuite, secret: &[u8]) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(suite: &SupportedCipherSuite, secret: &[u8]) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/utils/vec_buffer.rs:45:40 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn write_to(&mut self, w: &mut Write) -> io::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | pub fn write_to(&mut self, w: &mut dyn Write) -> io::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/utils/vec_buffer.rs:45:40 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn write_to(&mut self, w: &mut Write) -> io::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | pub fn write_to(&mut self, w: &mut dyn Write) -> io::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/utils/msg_deframer.rs:35:41 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn read_from(&mut self, r: &mut Read) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | pub fn read_from(&mut self, r: &mut dyn Read) -> io::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/utils/msg_deframer.rs:35:41 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn read_from(&mut self, r: &mut Read) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | pub fn read_from(&mut self, r: &mut dyn Read) -> io::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/session.rs:320:44 [INFO] [stdout] | [INFO] [stdout] 320 | fn read_tls(&mut self, r: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: chunfen-sec/src/client.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | session_struct!(ClientSession with state: ClientState); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `session_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/session.rs:324:45 [INFO] [stdout] | [INFO] [stdout] 324 | fn write_tls(&mut self, w: &mut Write) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: chunfen-sec/src/client.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | session_struct!(ClientSession with state: ClientState); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `session_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/session.rs:320:44 [INFO] [stdout] | [INFO] [stdout] 320 | fn read_tls(&mut self, r: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: chunfen-sec/src/server.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | session_struct!(ServerSession with state: ServerState); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `session_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/session.rs:320:44 [INFO] [stdout] | [INFO] [stdout] 320 | fn read_tls(&mut self, r: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: chunfen-sec/src/client.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | session_struct!(ClientSession with state: ClientState); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `session_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/session.rs:324:45 [INFO] [stdout] | [INFO] [stdout] 324 | fn write_tls(&mut self, w: &mut Write) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: chunfen-sec/src/server.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | session_struct!(ServerSession with state: ServerState); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `session_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/session.rs:324:45 [INFO] [stdout] | [INFO] [stdout] 324 | fn write_tls(&mut self, w: &mut Write) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: chunfen-sec/src/client.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | session_struct!(ClientSession with state: ClientState); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `session_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/session.rs:320:44 [INFO] [stdout] | [INFO] [stdout] 320 | fn read_tls(&mut self, r: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: chunfen-sec/src/server.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | session_struct!(ServerSession with state: ServerState); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `session_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/session.rs:324:45 [INFO] [stdout] | [INFO] [stdout] 324 | fn write_tls(&mut self, w: &mut Write) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: chunfen-sec/src/server.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | session_struct!(ServerSession with state: ServerState); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `session_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> chunfen-sec/src/data.rs:179:51 [INFO] [stdout] | [INFO] [stdout] 179 | write!(f, "{} of type {:?}", self.description(), typ), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> chunfen-sec/src/data.rs:181:44 [INFO] [stdout] | [INFO] [stdout] 181 | write!(f, "{}, {:?}", self.description(), alert), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> chunfen-sec/src/data.rs:183:42 [INFO] [stdout] | [INFO] [stdout] 183 | write!(f, "{}, {}", self.description(), why), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> chunfen-sec/src/data.rs:186:71 [INFO] [stdout] | [INFO] [stdout] 186 | TLSError::PeerSentOversizedRecord => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> chunfen-sec/src/data.rs:187:45 [INFO] [stdout] | [INFO] [stdout] 187 | _ => write!(f, "{}: {:?}", self.description(), self), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/session.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | msg_encryptor: MsgEncryptor::plain(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 121 | msg_encryptor: ::plain(), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/session.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 122 | msg_decryptor: MsgDecryptor::plain(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 122 | msg_decryptor: ::plain(), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> chunfen-sec/src/data.rs:179:51 [INFO] [stdout] | [INFO] [stdout] 179 | write!(f, "{} of type {:?}", self.description(), typ), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> chunfen-sec/src/data.rs:181:44 [INFO] [stdout] | [INFO] [stdout] 181 | write!(f, "{}, {:?}", self.description(), alert), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> chunfen-sec/src/data.rs:183:42 [INFO] [stdout] | [INFO] [stdout] 183 | write!(f, "{}, {}", self.description(), why), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> chunfen-sec/src/data.rs:186:71 [INFO] [stdout] | [INFO] [stdout] 186 | TLSError::PeerSentOversizedRecord => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> chunfen-sec/src/data.rs:187:45 [INFO] [stdout] | [INFO] [stdout] 187 | _ => write!(f, "{}: {:?}", self.description(), self), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/session.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | msg_encryptor: MsgEncryptor::plain(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 121 | msg_encryptor: ::plain(), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/session.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 122 | msg_decryptor: MsgDecryptor::plain(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 122 | msg_decryptor: ::plain(), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/encryption.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | let e = MsgEncryptor::new(&TLS13_AES_128_GCM_SHA256, SECRET); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 206 | let e = ::new(&TLS13_AES_128_GCM_SHA256, SECRET); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/encryption.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | let e = MsgEncryptor::new(&TLS13_AES_128_GCM_SHA256, SECRET); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 227 | let e = ::new(&TLS13_AES_128_GCM_SHA256, SECRET); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/encryption.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | let d = MsgDecryptor::new(&TLS13_AES_128_GCM_SHA256, SECRET); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 228 | let d = ::new(&TLS13_AES_128_GCM_SHA256, SECRET); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/client.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | self.common.set_msg_encryptor(MsgEncryptor::new(suite, &write_key)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | self.common.set_msg_encryptor(::new(suite, &write_key)); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/client.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | self.common.set_msg_decryptor(MsgDecryptor::new(suite, &read_key)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | self.common.set_msg_decryptor(::new(suite, &read_key)); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/server.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | self.common.set_msg_encryptor(MsgEncryptor::new(&suite, &write_key)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 | self.common.set_msg_encryptor(::new(&suite, &write_key)); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/server.rs:72:39 [INFO] [stdout] | [INFO] [stdout] 72 | self.common.set_msg_decryptor(MsgDecryptor::new(&suite, &read_key)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 | self.common.set_msg_decryptor(::new(&suite, &read_key)); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/client.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | self.common.set_msg_encryptor(MsgEncryptor::new(suite, &write_key)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | self.common.set_msg_encryptor(::new(suite, &write_key)); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/client.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | self.common.set_msg_decryptor(MsgDecryptor::new(suite, &read_key)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | self.common.set_msg_decryptor(::new(suite, &read_key)); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/server.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | self.common.set_msg_encryptor(MsgEncryptor::new(&suite, &write_key)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 | self.common.set_msg_encryptor(::new(&suite, &write_key)); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> chunfen-sec/src/server.rs:72:39 [INFO] [stdout] | [INFO] [stdout] 72 | self.common.set_msg_decryptor(MsgDecryptor::new(&suite, &read_key)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 | self.common.set_msg_decryptor(::new(&suite, &read_key)); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chunfen-sec/src/data.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | Opaque(Vec), [INFO] [stdout] | ------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 77 | Opaque(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chunfen-sec/src/data.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | Opaque(Vec), [INFO] [stdout] | ------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 77 | Opaque(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chunfen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sized` is imported redundantly [INFO] [stdout] --> src/utils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::marker::Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Sized` is already defined here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(unused)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Id` is imported redundantly [INFO] [stdout] --> src/server.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::utils::{*, Id}; [INFO] [stdout] | - ^^ [INFO] [stdout] | | [INFO] [stdout] | the item `Id` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sized` is imported redundantly [INFO] [stdout] --> src/utils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::marker::Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Sized` is already defined here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(unused)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Id` is imported redundantly [INFO] [stdout] --> src/server.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::utils::{*, Id}; [INFO] [stdout] | - ^^ [INFO] [stdout] | | [INFO] [stdout] | the item `Id` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tunnel_port.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | Box::new(fut) as Box + Send> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 | Box::new(fut) as Box + Send> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tunnel_port.rs:65:53 [INFO] [stdout] | [INFO] [stdout] 65 | Box::new(drop_res!(fut)) as Box + Send> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | Box::new(drop_res!(fut)) as Box + Send> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tunnel_port.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | Box::new(fut) as Box + Send> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 | Box::new(fut) as Box + Send> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tunnel_port.rs:65:53 [INFO] [stdout] | [INFO] [stdout] 65 | Box::new(drop_res!(fut)) as Box + Send> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | Box::new(drop_res!(fut)) as Box + Send> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tunnel_port.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | -> Box + Send> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 | -> Box + Send> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tunnel_port.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | -> Box + Send> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 | -> Box + Send> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/framed.rs:80:44 [INFO] [stdout] | [INFO] [stdout] 80 | if 0 == try_ready!(self.stream.read_buf(&mut self.r_buffer)) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `tokio_io::AsyncRead::read_buf(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(read_buf)]` to the crate attributes to enable `std::io::Read::read_buf` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(read_buf)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/framed.rs:80:44 [INFO] [stdout] | [INFO] [stdout] 80 | if 0 == try_ready!(self.stream.read_buf(&mut self.r_buffer)) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `tokio_io::AsyncRead::read_buf(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(read_buf)]` to the crate attributes to enable `std::io::Read::read_buf` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(read_buf)] [INFO] [stdout] | [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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.67s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "10d0bc3d364e9f5a03a9d865777610461338987f88da9b3119cd890af3a5c7e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10d0bc3d364e9f5a03a9d865777610461338987f88da9b3119cd890af3a5c7e0", kill_on_drop: false }` [INFO] [stdout] 10d0bc3d364e9f5a03a9d865777610461338987f88da9b3119cd890af3a5c7e0 [INFO] checking dkeehl/chunfen against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdkeehl%2Fchunfen" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dkeehl/chunfen on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dkeehl/chunfen [INFO] finished tweaking git repo https://github.com/dkeehl/chunfen [INFO] tweaked toml for git repo https://github.com/dkeehl/chunfen written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dkeehl/chunfen 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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9fda5a357ae218d1ebc005a379e4f7babec02f9a32586047220713cae3eb257f [INFO] running `Command { std: "docker" "start" "-a" "9fda5a357ae218d1ebc005a379e4f7babec02f9a32586047220713cae3eb257f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9fda5a357ae218d1ebc005a379e4f7babec02f9a32586047220713cae3eb257f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fda5a357ae218d1ebc005a379e4f7babec02f9a32586047220713cae3eb257f", kill_on_drop: false }` [INFO] [stdout] 9fda5a357ae218d1ebc005a379e4f7babec02f9a32586047220713cae3eb257f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed129dddc9147793d827ea7d012e590a765f78dc824e9dac119439c6a24efafb [INFO] running `Command { std: "docker" "start" "-a" "ed129dddc9147793d827ea7d012e590a765f78dc824e9dac119439c6a24efafb", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.39 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Checking futures v0.1.25 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking crossbeam-utils v0.5.0 [INFO] [stderr] Checking slab v0.4.1 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Checking lazycell v0.6.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Checking crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.32 [INFO] [stderr] Checking bytes v0.4.10 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.10/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 334 | buf_get_impl!(self, 2, BigEndian::read_u16); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.10/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 355 | buf_get_impl!(self, 2, LittleEndian::read_u16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.10/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 384 | buf_get_impl!(self, 2, BigEndian::read_i16); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.10/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 405 | buf_get_impl!(self, 2, LittleEndian::read_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.10/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 434 | buf_get_impl!(self, 4, BigEndian::read_u32); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.10/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 455 | buf_get_impl!(self, 4, LittleEndian::read_u32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand v0.5.5 [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.10/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 484 | buf_get_impl!(self, 4, BigEndian::read_i32); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.10/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 505 | buf_get_impl!(self, 4, LittleEndian::read_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.10/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 534 | buf_get_impl!(self, 8, BigEndian::read_u64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.10/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 555 | buf_get_impl!(self, 8, LittleEndian::read_u64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.10/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 584 | buf_get_impl!(self, 8, BigEndian::read_i64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.10/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 605 | buf_get_impl!(self, 8, LittleEndian::read_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.10/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 827 | buf_get_impl!(self, 4, BigEndian::read_f32); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.10/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 849 | buf_get_impl!(self, 4, LittleEndian::read_f32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.10/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 879 | buf_get_impl!(self, 8, BigEndian::read_f64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.10/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 901 | buf_get_impl!(self, 8, LittleEndian::read_f64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Checking mio v0.6.14 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0284`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bytes` (lib) due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/mio-0.6.14/src/poll.rs:2065:13 [INFO] [stdout] | [INFO] [stdout] 2065 | panic!(); [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mio` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "ed129dddc9147793d827ea7d012e590a765f78dc824e9dac119439c6a24efafb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed129dddc9147793d827ea7d012e590a765f78dc824e9dac119439c6a24efafb", kill_on_drop: false }` [INFO] [stdout] ed129dddc9147793d827ea7d012e590a765f78dc824e9dac119439c6a24efafb