[INFO] fetching crate polk 1.1.3... [INFO] checking polk-1.1.3 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate polk 1.1.3 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate polk 1.1.3 on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate polk 1.1.3 [INFO] finished tweaking crates.io crate polk 1.1.3 [INFO] tweaked toml for crates.io crate polk 1.1.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83985312cc75d0773277bc62bd3549df0e30e8617a31b27162967b132783cd02 [INFO] running `Command { std: "docker" "start" "-a" "83985312cc75d0773277bc62bd3549df0e30e8617a31b27162967b132783cd02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83985312cc75d0773277bc62bd3549df0e30e8617a31b27162967b132783cd02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83985312cc75d0773277bc62bd3549df0e30e8617a31b27162967b132783cd02", kill_on_drop: false }` [INFO] [stdout] 83985312cc75d0773277bc62bd3549df0e30e8617a31b27162967b132783cd02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4985c290c803a40a96969997fa12a59fa2b1a0b3363f995d52e2e435486e861 [INFO] running `Command { std: "docker" "start" "-a" "f4985c290c803a40a96969997fa12a59fa2b1a0b3363f995d52e2e435486e861", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling libc v0.2.145 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.59 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Checking gimli v0.27.2 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking regex-syntax v0.7.2 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking symlink v0.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking object v0.30.3 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling openssl-sys v0.9.88 [INFO] [stderr] Compiling libz-sys v1.1.9 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling curl-sys v0.4.63+curl-8.1.2 [INFO] [stderr] Compiling libgit2-sys v0.7.11 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking addr2line v0.19.0 [INFO] [stderr] Checking regex v1.8.3 [INFO] [stderr] Compiling serde_derive v1.0.163 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking git2 v0.7.5 [INFO] [stderr] Checking polk v1.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/util.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | env::home_dir().expect("user does not have home directory") [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] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | types { [INFO] [stdout] 3 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] 4 | | } [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (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] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | types { [INFO] [stdout] 3 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] 4 | | } [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (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] --> src/cache.rs:294:66 [INFO] [stdout] | [INFO] [stdout] 294 | fn open_manifest_backend(&self) -> Result<(UserManifest, Box), 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 294 | fn open_manifest_backend(&self) -> Result<(UserManifest, Box), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cache.rs:294:66 [INFO] [stdout] | [INFO] [stdout] 294 | fn open_manifest_backend(&self) -> Result<(UserManifest, Box), 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 294 | fn open_manifest_backend(&self) -> Result<(UserManifest, Box), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/mod.rs:13:55 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn setup(dest: &Path, source: S) -> Result, 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] 13 | pub fn setup(dest: &Path, source: S) -> Result, Error> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/mod.rs:21:54 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn open(path: &Path, source: S) -> Result, 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] 21 | pub fn open(path: &Path, source: S) -> Result, Error> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/mod.rs:13:55 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn setup(dest: &Path, source: S) -> Result, 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] 13 | pub fn setup(dest: &Path, source: S) -> Result, Error> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/mod.rs:21:54 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn open(path: &Path, source: S) -> Result, 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] 21 | pub fn open(path: &Path, source: S) -> Result, Error> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | types { [INFO] [stdout] 3 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] 4 | | } [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (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::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | types { [INFO] [stdout] 3 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] 4 | | } [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/cache.rs:338:29 [INFO] [stdout] | [INFO] [stdout] 338 | let temp_path = path.clone().parent().unwrap_or(path).join(format!(".{}.{}.backup", file_name, random_token())); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/cache.rs:338:29 [INFO] [stdout] | [INFO] [stdout] 338 | let temp_path = path.clone().parent().unwrap_or(path).join(format!(".{}.{}.backup", file_name, random_token())); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `polk` (bin "polk") due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `polk` (bin "polk" test) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f4985c290c803a40a96969997fa12a59fa2b1a0b3363f995d52e2e435486e861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4985c290c803a40a96969997fa12a59fa2b1a0b3363f995d52e2e435486e861", kill_on_drop: false }` [INFO] [stdout] f4985c290c803a40a96969997fa12a59fa2b1a0b3363f995d52e2e435486e861