[INFO] crate tokio-file-futures 0.1.0 is already in cache [INFO] testing tokio-file-futures-0.1.0 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] extracting crate tokio-file-futures 0.1.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate tokio-file-futures 0.1.0 on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [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-8/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 86d4bd63e9fc5cef5b943efdbf48fdfe327bff0b3a56dd15eeb8d8b249eb024a [INFO] running `"docker" "start" "-a" "86d4bd63e9fc5cef5b943efdbf48fdfe327bff0b3a56dd15eeb8d8b249eb024a"` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-file-futures v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.86s [INFO] running `"docker" "inspect" "86d4bd63e9fc5cef5b943efdbf48fdfe327bff0b3a56dd15eeb8d8b249eb024a"` [INFO] running `"docker" "rm" "-f" "86d4bd63e9fc5cef5b943efdbf48fdfe327bff0b3a56dd15eeb8d8b249eb024a"` [INFO] [stdout] 86d4bd63e9fc5cef5b943efdbf48fdfe327bff0b3a56dd15eeb8d8b249eb024a [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e2ad92c33fb5c215c945c6baa5775c181b891d8fe7bb96e2ac908e83cf54dacb [INFO] running `"docker" "start" "-a" "e2ad92c33fb5c215c945c6baa5775c181b891d8fe7bb96e2ac908e83cf54dacb"` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-uds v0.2.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-file-futures v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0271]: type mismatch resolving `, [closure@examples/example.rs:32:58: 37:34]> as futures::IntoFuture>::Error == (tokio_fs::File, std::io::Error)` [INFO] [stderr] --> examples/example.rs:31:46 [INFO] [stderr] | [INFO] [stderr] 31 | ... file.try_clone().and_then(|(file, _file2)| { [INFO] [stderr] | ^^^^^^^^ expected struct `std::io::Error`, found tuple [INFO] [stderr] | [INFO] [stderr] = note: expected struct `std::io::Error` [INFO] [stderr] found tuple `(tokio_fs::File, std::io::Error)` [INFO] [stderr] [INFO] [stderr] error[E0271]: type mismatch resolving `, [closure@examples/example.rs:32:58: 37:34]> as futures::IntoFuture>::Error == (tokio_fs::File, std::io::Error)` [INFO] [stderr] --> examples/example.rs:30:42 [INFO] [stderr] | [INFO] [stderr] 30 | file.sync_data().and_then(|file| { [INFO] [stderr] | ^^^^^^^^ expected struct `std::io::Error`, found tuple [INFO] [stderr] | [INFO] [stderr] = note: expected struct `std::io::Error` [INFO] [stderr] found tuple `(tokio_fs::File, std::io::Error)` [INFO] [stderr] = 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] [stderr] [INFO] [stderr] error[E0271]: type mismatch resolving `, [closure@examples/example.rs:32:58: 37:34]> as futures::IntoFuture>::Error == (tokio_fs::File, std::io::Error)` [INFO] [stderr] --> examples/example.rs:29:37 [INFO] [stderr] | [INFO] [stderr] 29 | file.sync_all().and_then(|file| { [INFO] [stderr] | ^^^^^^^^ expected struct `std::io::Error`, found tuple [INFO] [stderr] | [INFO] [stderr] = note: expected struct `std::io::Error` [INFO] [stderr] found tuple `(tokio_fs::File, std::io::Error)` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] error[E0271]: type mismatch resolving `, [closure@examples/example.rs:32:58: 37:34]> as futures::IntoFuture>::Error == (tokio_fs::File, std::io::Error)` [INFO] [stderr] --> examples/example.rs:27:27 [INFO] [stderr] | [INFO] [stderr] 27 | let future3 = file.set_len(30) [INFO] [stderr] | ___________________________^ [INFO] [stderr] 28 | | .and_then(|file| { [INFO] [stderr] 29 | | file.sync_all().and_then(|file| { [INFO] [stderr] 30 | | file.sync_data().and_then(|file| { [INFO] [stderr] ... | [INFO] [stderr] 40 | | }) [INFO] [stderr] 41 | | }) [INFO] [stderr] | |__________________^ expected struct `std::io::Error`, found tuple [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.29/src/future/and_then.rs:10:49 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct AndThen where A: Future, B: IntoFuture { [INFO] [stderr] | ---------- required by this bound in `futures::AndThen` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `std::io::Error` [INFO] [stderr] found tuple `(tokio_fs::File, std::io::Error)` [INFO] [stderr] = 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] [stderr] = 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] [stderr] [INFO] [stderr] error[E0599]: no method named `map_err` found 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]>` in the current scope [INFO] [stderr] --> examples/example.rs:42:18 [INFO] [stderr] | [INFO] [stderr] 42 | .map_err(|e| println!("Error3: {}", e)); [INFO] [stderr] | ^^^^^^^ method not found in `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]>` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.29/src/future/and_then.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct AndThen where A: Future, B: IntoFuture { [INFO] [stderr] | ---------------------------------------------------------- [INFO] [stderr] | | [INFO] [stderr] | doesn't satisfy `<_ as futures::IntoFuture>::Error = std::io::Error` [INFO] [stderr] | doesn't satisfy `_: futures::Future` [INFO] [stderr] | doesn't satisfy `_: futures::IntoFuture` [INFO] [stderr] | [INFO] [stderr] = note: the method `map_err` exists but the following trait bounds were not satisfied: [INFO] [stderr] `, 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] [stderr] 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] [stderr] `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] [stderr] 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] [stderr] `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] [stderr] 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] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0271, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0271`. [INFO] [stderr] error: could not compile `tokio-file-futures`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "e2ad92c33fb5c215c945c6baa5775c181b891d8fe7bb96e2ac908e83cf54dacb"` [INFO] running `"docker" "rm" "-f" "e2ad92c33fb5c215c945c6baa5775c181b891d8fe7bb96e2ac908e83cf54dacb"` [INFO] [stdout] e2ad92c33fb5c215c945c6baa5775c181b891d8fe7bb96e2ac908e83cf54dacb