[INFO] crate tokio-file-futures 0.1.0 is already in cache [INFO] checking tokio-file-futures-0.1.0 against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [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 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "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-4/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "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" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] e70c69f855a00b943e11ac70ab3778c98bb93fc47106b661e9d0ad03d950247c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "e70c69f855a00b943e11ac70ab3778c98bb93fc47106b661e9d0ad03d950247c"` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.6 [INFO] [stderr] Checking tokio-file-futures v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio v0.1.22 [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] running `"docker" "inspect" "e70c69f855a00b943e11ac70ab3778c98bb93fc47106b661e9d0ad03d950247c"` [INFO] running `"docker" "rm" "-f" "e70c69f855a00b943e11ac70ab3778c98bb93fc47106b661e9d0ad03d950247c"` [INFO] [stdout] e70c69f855a00b943e11ac70ab3778c98bb93fc47106b661e9d0ad03d950247c