[INFO] fetching crate tokio-file-futures 0.1.0... [INFO] checking tokio-file-futures-0.1.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate tokio-file-futures 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate tokio-file-futures 0.1.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio-file-futures 0.1.0 [INFO] finished tweaking crates.io crate tokio-file-futures 0.1.0 [INFO] tweaked toml for crates.io crate tokio-file-futures 0.1.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea945162399f5afecc941f0289c6b19324e066b4b35691c5f66393385661f318 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ea945162399f5afecc941f0289c6b19324e066b4b35691c5f66393385661f318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea945162399f5afecc941f0289c6b19324e066b4b35691c5f66393385661f318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea945162399f5afecc941f0289c6b19324e066b4b35691c5f66393385661f318", kill_on_drop: false }` [INFO] [stdout] ea945162399f5afecc941f0289c6b19324e066b4b35691c5f66393385661f318 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab7e57daeddb017e7db95cf14cc89cb50cda48556362773d92f0845d6b93e060 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ab7e57daeddb017e7db95cf14cc89cb50cda48556362773d92f0845d6b93e060", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking tokio-file-futures v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0271]: type mismatch resolving `, [closure@examples/example.rs:32:58: 37:34]> as futures::IntoFuture>::Error == (tokio_fs::File, std::io::Error)` [INFO] [stdout] --> examples/example.rs:31:46 [INFO] [stdout] | [INFO] [stdout] 31 | ... file.try_clone().and_then(|(file, _file2)| { [INFO] [stdout] | ^^^^^^^^ expected struct `std::io::Error`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::io::Error` [INFO] [stdout] found tuple `(tokio_fs::File, std::io::Error)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `, [closure@examples/example.rs:32:58: 37:34]> as futures::IntoFuture>::Error == (tokio_fs::File, std::io::Error)` [INFO] [stdout] --> examples/example.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | file.sync_data().and_then(|file| { [INFO] [stdout] | ^^^^^^^^ expected struct `std::io::Error`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::io::Error` [INFO] [stdout] found tuple `(tokio_fs::File, std::io::Error)` [INFO] [stdout] = note: required because of the requirements on the impl of `futures::Future` for `futures::AndThen, [closure@examples/example.rs:32:58: 37:34]>, [closure@examples/example.rs:31:55: 38:30]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `, [closure@examples/example.rs:32:58: 37:34]> as futures::IntoFuture>::Error == (tokio_fs::File, std::io::Error)` [INFO] [stdout] --> examples/example.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | file.sync_all().and_then(|file| { [INFO] [stdout] | ^^^^^^^^ expected struct `std::io::Error`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::io::Error` [INFO] [stdout] found tuple `(tokio_fs::File, std::io::Error)` [INFO] [stdout] = note: required because of the requirements on the impl of `futures::Future` for `futures::AndThen, [closure@examples/example.rs:32:58: 37:34]>, [closure@examples/example.rs:31:55: 38:30]>` [INFO] [stdout] = note: required because of the requirements on the impl of `futures::IntoFuture` for `futures::AndThen, [closure@examples/example.rs:32:58: 37:34]>, [closure@examples/example.rs:31:55: 38:30]>` [INFO] [stdout] = note: 1 redundant requirements hidden [INFO] [stdout] = note: required because of the requirements on the impl of `futures::Future` for `futures::AndThen, futures::AndThen, [closure@examples/example.rs:32:58: 37:34]>, [closure@examples/example.rs:31:55: 38:30]>, [closure@examples/example.rs:30:51: 39:26]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `, [closure@examples/example.rs:32:58: 37:34]> as futures::IntoFuture>::Error == (tokio_fs::File, std::io::Error)` [INFO] [stdout] --> examples/example.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | let future3 = file.set_len(30) [INFO] [stdout] | ___________________________^ [INFO] [stdout] 28 | | .and_then(|file| { [INFO] [stdout] 29 | | file.sync_all().and_then(|file| { [INFO] [stdout] 30 | | file.sync_data().and_then(|file| { [INFO] [stdout] ... | [INFO] [stdout] 40 | | }) [INFO] [stdout] 41 | | }) [INFO] [stdout] | |__________________^ expected tuple, found struct `std::io::Error` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/future/and_then.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AndThen where A: Future, B: IntoFuture { [INFO] [stdout] | ---------- required by this bound in `futures::AndThen` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(tokio_fs::File, std::io::Error)` [INFO] [stdout] found struct `std::io::Error` [INFO] [stdout] = note: required because of the requirements on the impl of `futures::Future` for `futures::AndThen, [closure@examples/example.rs:32:58: 37:34]>, [closure@examples/example.rs:31:55: 38:30]>` [INFO] [stdout] = note: required because of the requirements on the impl of `futures::IntoFuture` for `futures::AndThen, [closure@examples/example.rs:32:58: 37:34]>, [closure@examples/example.rs:31:55: 38:30]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map_err` exists for struct `futures::AndThen, futures::AndThen, futures::AndThen, futures::AndThen, [closure@examples/example.rs:32:58: 37:34]>, [closure@examples/example.rs:31:55: 38:30]>, [closure@examples/example.rs:30:51: 39:26]>, [closure@examples/example.rs:29:46: 40:22]>, [closure@examples/example.rs:28:27: 41:18]>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/example.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | .map_err(|e| println!("Error3: {}", e)); [INFO] [stdout] | ^^^^^^^ method cannot be called on `futures::AndThen, futures::AndThen, futures::AndThen, futures::AndThen, [closure@examples/example.rs:32:58: 37:34]>, [closure@examples/example.rs:31:55: 38:30]>, [closure@examples/example.rs:30:51: 39:26]>, [closure@examples/example.rs:29:46: 40:22]>, [closure@examples/example.rs:28:27: 41:18]>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/future/and_then.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AndThen where A: Future, B: IntoFuture { [INFO] [stdout] | ---------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `<_ as futures::IntoFuture>::Error = std::io::Error` [INFO] [stdout] | doesn't satisfy `_: futures::Future` [INFO] [stdout] | doesn't satisfy `_: futures::IntoFuture` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `, futures::AndThen, futures::AndThen, [closure@examples/example.rs:32:58: 37:34]>, [closure@examples/example.rs:31:55: 38:30]>, [closure@examples/example.rs:30:51: 39:26]>, [closure@examples/example.rs:29:46: 40:22]> as futures::IntoFuture>::Error = std::io::Error` [INFO] [stdout] which is required by `futures::AndThen, futures::AndThen, futures::AndThen, futures::AndThen, [closure@examples/example.rs:32:58: 37:34]>, [closure@examples/example.rs:31:55: 38:30]>, [closure@examples/example.rs:30:51: 39:26]>, [closure@examples/example.rs:29:46: 40:22]>, [closure@examples/example.rs:28:27: 41:18]>: futures::Future` [INFO] [stdout] `futures::AndThen, futures::AndThen, futures::AndThen, [closure@examples/example.rs:32:58: 37:34]>, [closure@examples/example.rs:31:55: 38:30]>, [closure@examples/example.rs:30:51: 39:26]>, [closure@examples/example.rs:29:46: 40:22]>: futures::IntoFuture` [INFO] [stdout] which is required by `futures::AndThen, futures::AndThen, futures::AndThen, futures::AndThen, [closure@examples/example.rs:32:58: 37:34]>, [closure@examples/example.rs:31:55: 38:30]>, [closure@examples/example.rs:30:51: 39:26]>, [closure@examples/example.rs:29:46: 40:22]>, [closure@examples/example.rs:28:27: 41:18]>: futures::Future` [INFO] [stdout] `futures::AndThen, futures::AndThen, futures::AndThen, futures::AndThen, [closure@examples/example.rs:32:58: 37:34]>, [closure@examples/example.rs:31:55: 38:30]>, [closure@examples/example.rs:30:51: 39:26]>, [closure@examples/example.rs:29:46: 40:22]>, [closure@examples/example.rs:28:27: 41:18]>: futures::Future` [INFO] [stdout] which is required by `&mut futures::AndThen, futures::AndThen, futures::AndThen, futures::AndThen, [closure@examples/example.rs:32:58: 37:34]>, [closure@examples/example.rs:31:55: 38:30]>, [closure@examples/example.rs:30:51: 39:26]>, [closure@examples/example.rs:29:46: 40:22]>, [closure@examples/example.rs:28:27: 41:18]>: futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-file-futures` due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "ab7e57daeddb017e7db95cf14cc89cb50cda48556362773d92f0845d6b93e060", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab7e57daeddb017e7db95cf14cc89cb50cda48556362773d92f0845d6b93e060", kill_on_drop: false }` [INFO] [stdout] ab7e57daeddb017e7db95cf14cc89cb50cda48556362773d92f0845d6b93e060