[INFO] fetching crate kache 0.1.0... [INFO] testing kache-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate kache 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate kache 0.1.0 [INFO] finished tweaking crates.io crate kache 0.1.0 [INFO] tweaked toml for crates.io crate kache 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kache 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kache 0.1.0 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-tar v0.3.0 [INFO] [stderr] Downloaded indicatif v0.17.0-beta.1 [INFO] [stderr] Downloaded futures-executor v0.3.18 [INFO] [stderr] Downloaded argh_shared v0.1.6 [INFO] [stderr] Downloaded futures-macro v0.3.18 [INFO] [stderr] Downloaded argh v0.1.6 [INFO] [stderr] Downloaded zstd-safe v3.1.0+zstd.1.4.9 [INFO] [stderr] Downloaded argh_derive v0.1.6 [INFO] [stderr] Downloaded zstd v0.7.0+zstd.1.4.9 [INFO] [stderr] Downloaded futures v0.3.18 [INFO] [stderr] Downloaded async-pipe v0.1.3 [INFO] [stderr] Downloaded rusoto_s3 v0.47.0 [INFO] [stderr] Downloaded libc v0.2.109 [INFO] [stderr] Downloaded zstd-sys v1.5.0+zstd.1.4.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0a8f597d7388cfa7f4d5543276f2c98207751da4b4a0d46cae97c86b01e7766 [INFO] running `Command { std: "docker" "start" "-a" "c0a8f597d7388cfa7f4d5543276f2c98207751da4b4a0d46cae97c86b01e7766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0a8f597d7388cfa7f4d5543276f2c98207751da4b4a0d46cae97c86b01e7766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0a8f597d7388cfa7f4d5543276f2c98207751da4b4a0d46cae97c86b01e7766", kill_on_drop: false }` [INFO] [stdout] c0a8f597d7388cfa7f4d5543276f2c98207751da4b4a0d46cae97c86b01e7766 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44aa188c83aec97b3320f5762afd0acc1e255bcacb2c8e09682bfa5cb7a896dc [INFO] running `Command { std: "docker" "start" "-a" "44aa188c83aec97b3320f5762afd0acc1e255bcacb2c8e09682bfa5cb7a896dc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-io v0.3.18 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling zstd-safe v3.1.0+zstd.1.4.9 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling argh_shared v0.1.6 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling rusoto_core v0.47.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling base-x v0.2.8 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling zstd-sys v1.5.0+zstd.1.4.9 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling async-pipe v0.1.3 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling indicatif v0.17.0-beta.1 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling argh_derive v0.1.6 [INFO] [stderr] Compiling argh v0.1.6 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling ct-logs v0.8.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling futures-executor v0.3.18 [INFO] [stderr] Compiling futures v0.3.18 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-tar v0.3.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling rusoto_credential v0.47.0 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling rusoto_signature v0.47.0 [INFO] [stderr] Compiling rusoto_s3 v0.47.0 [INFO] [stderr] Compiling zstd v0.7.0+zstd.1.4.9 [INFO] [stderr] Compiling async-compression v0.3.8 [INFO] [stderr] Compiling kache v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `wrap_async_read` found for struct `ProgressBar` in the current scope [INFO] [stdout] --> src/aws.rs:193:24 [INFO] [stdout] | [INFO] [stdout] 193 | let mut body = pb.wrap_async_read(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `wrap_read` with a similar name [INFO] [stdout] | [INFO] [stdout] 193 - let mut body = pb.wrap_async_read(body); [INFO] [stdout] 193 + let mut body = pb.wrap_read(body); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wrap_async_read` found for struct `ProgressBar` in the current scope [INFO] [stdout] --> src/aws.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | let body = pb.wrap_async_read(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `wrap_read` with a similar name [INFO] [stdout] | [INFO] [stdout] 215 - let body = pb.wrap_async_read(body); [INFO] [stdout] 215 + let body = pb.wrap_read(body); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `async_pipe::PipeWriter: tokio::io::AsyncWrite` is not satisfied [INFO] [stdout] --> src/main.rs:117:40 [INFO] [stdout] | [INFO] [stdout] 117 | let tar_ = ZstdEncoder::with_quality(writer, Level::Precise(6)); [INFO] [stdout] | ------------------------- ^^^^^^ the trait `tokio::io::AsyncWrite` is not implemented for `async_pipe::PipeWriter` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `tokio` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.14.0/src/io/async_write.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub trait AsyncWrite { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/aws.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::io::{AsyncBufRead, AsyncRead, AsyncReadExt}; [INFO] [stdout] | ----- one version of crate `tokio` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | let (writer, reader) = async_pipe::pipe(); [INFO] [stdout] | ---------- one version of crate `tokio` used here, as a dependency of crate `async_pipe` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-pipe-0.1.3/src/writer.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PipeWriter { [INFO] [stdout] | --------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-0.2.25/src/future/try_join.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / pin_project! { [INFO] [stdout] 26 | | pub(crate) struct TryJoin3 [INFO] [stdout] 27 | | where [INFO] [stdout] 28 | | F1: Future, [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `async_compression::tokio::write::ZstdEncoder::::with_quality` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-compression-0.3.8/src/tokio/write/mod.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | algos!(tokio::write); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | required by a bound in this associated function [INFO] [stdout] | required by this bound in `ZstdEncoder::::with_quality` [INFO] [stdout] = note: this error originates in the macro `encoder` which comes from the expansion of the macro `algos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `async_pipe::PipeWriter: tokio::io::AsyncWrite` is not satisfied [INFO] [stdout] --> src/main.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 118 | let mut tar_ = tokio_tar::Builder::new(tar_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `tokio::io::AsyncWrite` is not implemented for `async_pipe::PipeWriter` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `tokio` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.14.0/src/io/async_write.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub trait AsyncWrite { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/aws.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::io::{AsyncBufRead, AsyncRead, AsyncReadExt}; [INFO] [stdout] | ----- one version of crate `tokio` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | let (writer, reader) = async_pipe::pipe(); [INFO] [stdout] | ---------- one version of crate `tokio` used here, as a dependency of crate `async_pipe` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-pipe-0.1.3/src/writer.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PipeWriter { [INFO] [stdout] | --------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-0.2.25/src/future/try_join.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / pin_project! { [INFO] [stdout] 26 | | pub(crate) struct TryJoin3 [INFO] [stdout] 27 | | where [INFO] [stdout] 28 | | F1: Future, [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `async_compression::tokio::write::ZstdEncoder` to implement `tokio::io::AsyncWrite` [INFO] [stdout] note: required by a bound in `tokio_tar::Builder` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-tar-0.3.0/src/builder.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Builder { [INFO] [stdout] | ^^^^^ required by this bound in `Builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `async_pipe::PipeWriter: tokio::io::AsyncWrite` is not satisfied [INFO] [stdout] --> src/main.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 118 | let mut tar_ = tokio_tar::Builder::new(tar_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `tokio::io::AsyncWrite` is not implemented for `async_pipe::PipeWriter` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `tokio` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.14.0/src/io/async_write.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub trait AsyncWrite { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/aws.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::io::{AsyncBufRead, AsyncRead, AsyncReadExt}; [INFO] [stdout] | ----- one version of crate `tokio` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | let (writer, reader) = async_pipe::pipe(); [INFO] [stdout] | ---------- one version of crate `tokio` used here, as a dependency of crate `async_pipe` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-pipe-0.1.3/src/writer.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PipeWriter { [INFO] [stdout] | --------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-0.2.25/src/future/try_join.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / pin_project! { [INFO] [stdout] 26 | | pub(crate) struct TryJoin3 [INFO] [stdout] 27 | | where [INFO] [stdout] 28 | | F1: Future, [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `async_compression::tokio::write::ZstdEncoder` to implement `tokio::io::AsyncWrite` [INFO] [stdout] note: required by a bound in `tokio_tar::Builder` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-tar-0.3.0/src/builder.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Builder { [INFO] [stdout] | ^^^^^ required by this bound in `Builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `mode` exists for struct `tokio_tar::Builder>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | tar_.mode(tokio_tar::HeaderMode::Complete); [INFO] [stdout] | ^^^^ private field, not a method [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-compression-0.3.8/src/tokio/write/mod.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | algos!(tokio::write); [INFO] [stdout] | ----------------------- doesn't satisfy `_: AsyncWrite` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-pipe-0.1.3/src/writer.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PipeWriter { [INFO] [stdout] | --------------------- doesn't satisfy `async_pipe::PipeWriter: tokio::io::AsyncWrite` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `async_pipe::PipeWriter: tokio::io::AsyncWrite` [INFO] [stdout] which is required by `async_compression::tokio::write::ZstdEncoder: tokio::io::AsyncWrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `append_path_with_name` exists for struct `tokio_tar::Builder>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | tar_.append_path_with_name(base.join(&relative), slug.join(&relative)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-compression-0.3.8/src/tokio/write/mod.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | algos!(tokio::write); [INFO] [stdout] | ----------------------- doesn't satisfy `_: AsyncWrite` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-pipe-0.1.3/src/writer.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PipeWriter { [INFO] [stdout] | --------------------- doesn't satisfy `async_pipe::PipeWriter: tokio::io::AsyncWrite` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `async_pipe::PipeWriter: tokio::io::AsyncWrite` [INFO] [stdout] which is required by `async_compression::tokio::write::ZstdEncoder: tokio::io::AsyncWrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `into_inner` exists for struct `tokio_tar::Builder>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | let mut tar_ = tar_.into_inner().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-compression-0.3.8/src/tokio/write/mod.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | algos!(tokio::write); [INFO] [stdout] | ----------------------- doesn't satisfy `_: AsyncWrite` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-pipe-0.1.3/src/writer.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PipeWriter { [INFO] [stdout] | --------------------- doesn't satisfy `async_pipe::PipeWriter: tokio::io::AsyncWrite` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `async_pipe::PipeWriter: tokio::io::AsyncWrite` [INFO] [stdout] which is required by `async_compression::tokio::write::ZstdEncoder: tokio::io::AsyncWrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `async_pipe::PipeReader: tokio::io::AsyncRead` is not satisfied [INFO] [stdout] --> src/main.rs:112:69 [INFO] [stdout] | [INFO] [stdout] 112 | fn tar(paths: impl Iterator) -> impl AsyncRead { [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `tokio::io::AsyncRead` is not implemented for `async_pipe::PipeReader` [INFO] [stdout] ... [INFO] [stdout] 132 | AlsoPollFuture { reader, task: task.fuse() } [INFO] [stdout] | -------------------------------------------- return type was inferred to be `AlsoPollFuture` here [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `tokio` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.14.0/src/io/async_read.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait AsyncRead { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/aws.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::io::{AsyncBufRead, AsyncRead, AsyncReadExt}; [INFO] [stdout] | ----- one version of crate `tokio` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | let (writer, reader) = async_pipe::pipe(); [INFO] [stdout] | ---------- one version of crate `tokio` used here, as a dependency of crate `async_pipe` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-pipe-0.1.3/src/reader.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PipeReader { [INFO] [stdout] | --------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-0.2.25/src/future/try_join.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / pin_project! { [INFO] [stdout] 26 | | pub(crate) struct TryJoin3 [INFO] [stdout] 27 | | where [INFO] [stdout] 28 | | F1: Future, [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required for `AlsoPollFuture` to implement `tokio::io::AsyncRead` [INFO] [stdout] --> src/main.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | impl AsyncRead for AlsoPollFuture [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 165 | where [INFO] [stdout] 166 | R: AsyncRead, [INFO] [stdout] | --------- unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `impl AsyncBufRead` cannot be shared between threads safely [INFO] [stdout] --> src/main.rs:140:44 [INFO] [stdout] | [INFO] [stdout] 140 | let mut entries = tokio_tar::Archive::new(tar).entries().unwrap(); [INFO] [stdout] | ----------------------- ^^^ `impl AsyncBufRead` cannot be shared between threads safely [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required because it appears within the type `&mut impl AsyncBufRead` [INFO] [stdout] note: required because it appears within the type `Pin<&mut impl AsyncBufRead>` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it appears within the type `Decoder, ZstdDecoder>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-compression-0.3.8/src/tokio/bufread/generic/decoder.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Decoder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `async_compression::tokio::bufread::ZstdDecoder>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-compression-0.3.8/src/tokio/bufread/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | algos!(tokio::bufread); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `BufReader>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.14.0/src/io/util/buf_reader.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct BufReader { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Archive::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-tar-0.3.0/src/archive.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | impl Archive { [INFO] [stdout] | ^^^^ required by this bound in `Archive::::new` [INFO] [stdout] 135 | /// Create a new archive with the underlying object as the reader. [INFO] [stdout] 136 | pub fn new(obj: R) -> Archive { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/kache-635ab3875e59fdbf.long-type-13155636675486300080.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `algos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider restricting opaque type `impl AsyncBufRead` with trait `Sync` [INFO] [stdout] | [INFO] [stdout] 135 | async fn untar(slugs: BTreeMap, tar: impl AsyncBufRead + std::marker::Sync) -> Result<(), io::Error> { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `impl AsyncBufRead` cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:140:44 [INFO] [stdout] | [INFO] [stdout] 140 | let mut entries = tokio_tar::Archive::new(tar).entries().unwrap(); [INFO] [stdout] | ----------------------- ^^^ `impl AsyncBufRead` cannot be sent between threads safely [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required because it appears within the type `&mut impl AsyncBufRead` [INFO] [stdout] note: required because it appears within the type `Pin<&mut impl AsyncBufRead>` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it appears within the type `Decoder, ZstdDecoder>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-compression-0.3.8/src/tokio/bufread/generic/decoder.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Decoder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `async_compression::tokio::bufread::ZstdDecoder>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-compression-0.3.8/src/tokio/bufread/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | algos!(tokio::bufread); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `BufReader>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.14.0/src/io/util/buf_reader.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct BufReader { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Archive::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-tar-0.3.0/src/archive.rs:134:31 [INFO] [stdout] | [INFO] [stdout] 134 | impl Archive { [INFO] [stdout] | ^^^^ required by this bound in `Archive::::new` [INFO] [stdout] 135 | /// Create a new archive with the underlying object as the reader. [INFO] [stdout] 136 | pub fn new(obj: R) -> Archive { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/kache-635ab3875e59fdbf.long-type-13155636675486300080.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `algos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider restricting opaque type `impl AsyncBufRead` with trait `Send` [INFO] [stdout] | [INFO] [stdout] 135 | async fn untar(slugs: BTreeMap, tar: impl AsyncBufRead + std::marker::Send) -> Result<(), io::Error> { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `entries` exists for struct `Archive>>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:140:49 [INFO] [stdout] | [INFO] [stdout] 140 | let mut entries = tokio_tar::Archive::new(tar).entries().unwrap(); [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.14.0/src/io/util/buf_reader.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / pin_project! { [INFO] [stdout] 11 | | /// The `BufReader` struct adds buffering to any reader. [INFO] [stdout] 12 | | /// [INFO] [stdout] 13 | | /// It can be excessively inefficient to work directly with a [`AsyncRead`] [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] | |_- doesn't satisfy `_: Send` or `_: Sync` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `impl AsyncBufRead: Sync` [INFO] [stdout] which is required by `tokio::io::BufReader>>: Sync` [INFO] [stdout] `impl AsyncBufRead: std::marker::Send` [INFO] [stdout] which is required by `tokio::io::BufReader>>: std::marker::Send` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/kache-635ab3875e59fdbf.long-type-10287164884233470113.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kache` (bin "kache") due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "44aa188c83aec97b3320f5762afd0acc1e255bcacb2c8e09682bfa5cb7a896dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44aa188c83aec97b3320f5762afd0acc1e255bcacb2c8e09682bfa5cb7a896dc", kill_on_drop: false }` [INFO] [stdout] 44aa188c83aec97b3320f5762afd0acc1e255bcacb2c8e09682bfa5cb7a896dc