[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] checking hanskorg/yar-client-rust against try#53184dc07942a1944769a9e15fc2cb08c9f62e9d for pr-99197 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanskorg%2Fyar-client-rust" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hanskorg/yar-client-rust on toolchain 53184dc07942a1944769a9e15fc2cb08c9f62e9d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+53184dc07942a1944769a9e15fc2cb08c9f62e9d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1/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-1/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" "+53184dc07942a1944769a9e15fc2cb08c9f62e9d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+53184dc07942a1944769a9e15fc2cb08c9f62e9d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac2404956d950b417680a72ee3758435e643399f1e4124e4a26ec635642568e4 [INFO] running `Command { std: "docker" "start" "-a" "ac2404956d950b417680a72ee3758435e643399f1e4124e4a26ec635642568e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac2404956d950b417680a72ee3758435e643399f1e4124e4a26ec635642568e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac2404956d950b417680a72ee3758435e643399f1e4124e4a26ec635642568e4", kill_on_drop: false }` [INFO] [stdout] ac2404956d950b417680a72ee3758435e643399f1e4124e4a26ec635642568e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+53184dc07942a1944769a9e15fc2cb08c9f62e9d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4834b6875b59b20e6265ec14ee241495eab66f0d8a439be91908c07702e576c2 [INFO] running `Command { std: "docker" "start" "-a" "4834b6875b59b20e6265ec14ee241495eab66f0d8a439be91908c07702e576c2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cc v1.0.9 [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking rustc-demangle v0.1.7 [INFO] [stderr] Checking serde v1.0.37 [INFO] [stderr] Checking num-traits v0.2.2 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking byteorder v1.2.2 [INFO] [stderr] Checking itoa v0.4.1 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Compiling proc-macro2 v0.3.6 [INFO] [stderr] Compiling quote v0.5.1 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking socket2 v0.3.4 [INFO] [stderr] Compiling syn v0.13.1 [INFO] [stderr] Checking snowflake-multi-threaded v0.1.1 [INFO] [stderr] Compiling libz-sys v1.0.18 [INFO] [stderr] Compiling openssl-sys v0.9.28 [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_derive v1.0.37 [INFO] [stderr] Checking serde_json v1.0.13 [INFO] [stderr] Checking bincode v1.0.0 [INFO] [stderr] Checking backtrace v0.3.5 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking curl v0.4.11 [INFO] [stderr] Checking yar_client v0.1.3 (/opt/rustwide/workdir) [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: 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/transport/client.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | packager:Box, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - packager:Box, [INFO] [stdout] 46 + packager:Box, [INFO] [stdout] | [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] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - packager:Box, [INFO] [stdout] 46 + packager:Box, [INFO] [stdout] | [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] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - pub fn encode(&self, packager:&Box,token:&str, provider:&str )->Result>{ [INFO] [stdout] 34 + pub fn encode(&self, packager:&Box,token:&str, provider:&str )->Result>{ [INFO] [stdout] | [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] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - pub fn encode(&self, packager:&Box,token:&str, provider:&str )->Result>{ [INFO] [stdout] 34 + pub fn encode(&self, packager:&Box,token:&str, provider:&str )->Result>{ [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 49 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 49 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [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: 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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 - YarError::TimeError(ref err)=> Some(err as &error::Error), [INFO] [stdout] 52 + YarError::TimeError(ref err)=> Some(err as &dyn error::Error), [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - YarError::CURLError(ref err)=> Some(err as &error::Error), [INFO] [stdout] 53 + YarError::CURLError(ref err)=> Some(err as &dyn error::Error), [INFO] [stdout] | [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: 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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 - YarError::TimeError(ref err)=> Some(err as &error::Error), [INFO] [stdout] 52 + YarError::TimeError(ref err)=> Some(err as &dyn error::Error), [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - YarError::CURLError(ref err)=> Some(err as &error::Error), [INFO] [stdout] 53 + YarError::CURLError(ref err)=> Some(err as &dyn error::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::convert::From::from` that must be used [INFO] [stdout] --> src/transport/client.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | String::from("111"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::convert::From::from` that must be used [INFO] [stdout] --> src/transport/client.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | String::from("111"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 08s [INFO] running `Command { std: "docker" "inspect" "4834b6875b59b20e6265ec14ee241495eab66f0d8a439be91908c07702e576c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4834b6875b59b20e6265ec14ee241495eab66f0d8a439be91908c07702e576c2", kill_on_drop: false }` [INFO] [stdout] 4834b6875b59b20e6265ec14ee241495eab66f0d8a439be91908c07702e576c2