[INFO] cloning repository https://github.com/hanskorg/yar-client-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hanskorg/yar-client-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanskorg%2Fyar-client-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanskorg%2Fyar-client-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d18ae1ea469cf150880e64acb3f83c692a17e48 [INFO] testing hanskorg/yar-client-rust against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanskorg%2Fyar-client-rust" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hanskorg/yar-client-rust on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-13/source/.cargo/config [INFO] started tweaking git repo https://github.com/hanskorg/yar-client-rust [INFO] finished tweaking git repo https://github.com/hanskorg/yar-client-rust [INFO] tweaked toml for git repo https://github.com/hanskorg/yar-client-rust written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/hanskorg/yar-client-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.37 [INFO] [stderr] Downloaded cc v1.0.9 [INFO] [stderr] Downloaded serde_derive_internals v0.23.0 [INFO] [stderr] Downloaded vcpkg v0.2.2 [INFO] [stderr] Downloaded serde_json v1.0.13 [INFO] [stderr] Downloaded syn v0.13.1 [INFO] [stderr] Downloaded serde v1.0.37 [INFO] [stderr] Downloaded itoa v0.4.1 [INFO] [stderr] Downloaded bincode v1.0.0 [INFO] [stderr] Downloaded schannel v0.1.11 [INFO] [stderr] Downloaded curl v0.4.11 [INFO] [stderr] Downloaded libz-sys v1.0.18 [INFO] [stderr] Downloaded rustc-demangle v0.1.7 [INFO] [stderr] Downloaded proc-macro2 v0.3.6 [INFO] [stderr] Downloaded snowflake-multi-threaded v0.1.1 [INFO] [stderr] Downloaded quote v0.5.1 [INFO] [stderr] Downloaded socket2 v0.3.4 [INFO] [stderr] Downloaded openssl-sys v0.9.28 [INFO] [stderr] Downloaded curl-sys v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff011fc8770f00ac923aad7253d242caa935fbd52576a235a36d265b6d529eae [INFO] running `Command { std: "docker" "start" "-a" "ff011fc8770f00ac923aad7253d242caa935fbd52576a235a36d265b6d529eae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff011fc8770f00ac923aad7253d242caa935fbd52576a235a36d265b6d529eae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff011fc8770f00ac923aad7253d242caa935fbd52576a235a36d265b6d529eae", kill_on_drop: false }` [INFO] [stdout] ff011fc8770f00ac923aad7253d242caa935fbd52576a235a36d265b6d529eae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86e219a0fc105839c42185efc64c629a2841877f42eac37118cb661a935fc8bb [INFO] running `Command { std: "docker" "start" "-a" "86e219a0fc105839c42185efc64c629a2841877f42eac37118cb661a935fc8bb", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.9 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling rustc-demangle v0.1.7 [INFO] [stderr] Compiling serde v1.0.37 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling itoa v0.4.1 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling proc-macro2 v0.3.6 [INFO] [stderr] Compiling socket2 v0.3.4 [INFO] [stderr] Compiling snowflake-multi-threaded v0.1.1 [INFO] [stderr] Compiling quote v0.5.1 [INFO] [stderr] Compiling syn v0.13.1 [INFO] [stderr] Compiling openssl-sys v0.9.28 [INFO] [stderr] Compiling libz-sys v1.0.18 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling curl-sys v0.4.1 [INFO] [stderr] Compiling serde_derive_internals v0.23.0 [INFO] [stderr] Compiling serde_json v1.0.13 [INFO] [stderr] Compiling bincode v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.37 [INFO] [stderr] Compiling backtrace v0.3.5 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling curl v0.4.11 [INFO] [stderr] Compiling yar_client v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/transport/client.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | packager:Box, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Packager` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/transport/request.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn encode(&self, packager:&Box,token:&str, provider:&str )->Result>{ [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Packager` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/packager/mod.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | fn unpack(&self, Vec) -> YarResponse; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:52:57 [INFO] [stdout] | [INFO] [stdout] 52 | YarError::TimeError(ref err)=> Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:53:57 [INFO] [stdout] | [INFO] [stdout] 53 | YarError::CURLError(ref err)=> Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 42 | YarError::TimeError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:43:49 [INFO] [stdout] | [INFO] [stdout] 43 | YarError::CURLError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 50s [INFO] running `Command { std: "docker" "inspect" "86e219a0fc105839c42185efc64c629a2841877f42eac37118cb661a935fc8bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86e219a0fc105839c42185efc64c629a2841877f42eac37118cb661a935fc8bb", kill_on_drop: false }` [INFO] [stdout] 86e219a0fc105839c42185efc64c629a2841877f42eac37118cb661a935fc8bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d0a13de329424a30a046288c78ea605f98b99e76d1bb22b46fcb04277cde0ab [INFO] running `Command { std: "docker" "start" "-a" "1d0a13de329424a30a046288c78ea605f98b99e76d1bb22b46fcb04277cde0ab", kill_on_drop: false }` [INFO] [stderr] Compiling yar_client v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/transport/client.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | packager:Box, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Packager` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/transport/request.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn encode(&self, packager:&Box,token:&str, provider:&str )->Result>{ [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Packager` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/packager/mod.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | fn unpack(&self, Vec) -> YarResponse; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:52:57 [INFO] [stdout] | [INFO] [stdout] 52 | YarError::TimeError(ref err)=> Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:53:57 [INFO] [stdout] | [INFO] [stdout] 53 | YarError::CURLError(ref err)=> Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 42 | YarError::TimeError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:43:49 [INFO] [stdout] | [INFO] [stdout] 43 | YarError::CURLError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/transport/client.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | packager:Box, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Packager` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/transport/request.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn encode(&self, packager:&Box,token:&str, provider:&str )->Result>{ [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Packager` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/packager/mod.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | fn unpack(&self, Vec) -> YarResponse; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:52:57 [INFO] [stdout] | [INFO] [stdout] 52 | YarError::TimeError(ref err)=> Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:53:57 [INFO] [stdout] | [INFO] [stdout] 53 | YarError::CURLError(ref err)=> Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 42 | YarError::TimeError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:43:49 [INFO] [stdout] | [INFO] [stdout] 43 | YarError::CURLError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.85s [INFO] running `Command { std: "docker" "inspect" "1d0a13de329424a30a046288c78ea605f98b99e76d1bb22b46fcb04277cde0ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d0a13de329424a30a046288c78ea605f98b99e76d1bb22b46fcb04277cde0ab", kill_on_drop: false }` [INFO] [stdout] 1d0a13de329424a30a046288c78ea605f98b99e76d1bb22b46fcb04277cde0ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e11080da0d50d8adcaab09433bd15e21c4c5611951dee5294b77a6f0d40ba1b7 [INFO] running `Command { std: "docker" "start" "-a" "e11080da0d50d8adcaab09433bd15e21c4c5611951dee5294b77a6f0d40ba1b7", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/transport/client.rs:46:18 [INFO] [stderr] | [INFO] [stderr] 46 | packager:Box, [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Packager` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/transport/request.rs:34:40 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn encode(&self, packager:&Box,token:&str, provider:&str )->Result>{ [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Packager` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/packager/mod.rs:20:22 [INFO] [stderr] | [INFO] [stderr] 20 | fn unpack(&self, Vec) -> YarResponse; [INFO] [stderr] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:49:32 [INFO] [stderr] | [INFO] [stderr] 49 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:52:57 [INFO] [stderr] | [INFO] [stderr] 52 | YarError::TimeError(ref err)=> Some(err as &error::Error), [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:53:57 [INFO] [stderr] | [INFO] [stderr] 53 | YarError::CURLError(ref err)=> Some(err as &error::Error), [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:42:49 [INFO] [stderr] | [INFO] [stderr] 42 | YarError::TimeError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:43:49 [INFO] [stderr] | [INFO] [stderr] 43 | YarError::CURLError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `yar_client` (lib) generated 8 warnings [INFO] [stderr] warning: `yar_client` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/yar_client-2e70f143cd75568a) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test::test_builder ... ok [INFO] [stdout] test test::test_no_method ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests yar_client [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/transport/client.rs - transport::client::YarClient::call (line 57) ... ok [INFO] [stdout] test src/lib.rs - (line 14) ... ok [INFO] [stdout] test src/transport/client.rs - transport::client::Builder::build (line 151) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.53s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e11080da0d50d8adcaab09433bd15e21c4c5611951dee5294b77a6f0d40ba1b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e11080da0d50d8adcaab09433bd15e21c4c5611951dee5294b77a6f0d40ba1b7", kill_on_drop: false }` [INFO] [stdout] e11080da0d50d8adcaab09433bd15e21c4c5611951dee5294b77a6f0d40ba1b7