[INFO] fetching crate tokio-file-futures 0.1.0... [INFO] testing tokio-file-futures-0.1.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate tokio-file-futures 0.1.0 into /workspace/builds/worker-4-tc2/source [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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio-file-futures 0.1.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 56 packages to latest compatible versions [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding tokio v0.1.22 (available: v1.47.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb06720e46ca872586efe3971fe00f355f9c3cf3d6982498667669830c74d68a [INFO] running `Command { std: "docker" "start" "-a" "bb06720e46ca872586efe3971fe00f355f9c3cf3d6982498667669830c74d68a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb06720e46ca872586efe3971fe00f355f9c3cf3d6982498667669830c74d68a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb06720e46ca872586efe3971fe00f355f9c3cf3d6982498667669830c74d68a", kill_on_drop: false }` [INFO] [stdout] bb06720e46ca872586efe3971fe00f355f9c3cf3d6982498667669830c74d68a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f96f1ce0fb0c18cbe7e99530d223b69d1f58f682c7dab5fc490e35a6746ab792 [INFO] running `Command { std: "docker" "start" "-a" "f96f1ce0fb0c18cbe7e99530d223b69d1f58f682c7dab5fc490e35a6746ab792", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [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` profile [unoptimized + debuginfo] target(s) in 2.02s [INFO] running `Command { std: "docker" "inspect" "f96f1ce0fb0c18cbe7e99530d223b69d1f58f682c7dab5fc490e35a6746ab792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f96f1ce0fb0c18cbe7e99530d223b69d1f58f682c7dab5fc490e35a6746ab792", kill_on_drop: false }` [INFO] [stdout] f96f1ce0fb0c18cbe7e99530d223b69d1f58f682c7dab5fc490e35a6746ab792 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfecf66e750753e5bdb41305b3650bc0a27bf1659eed7be15ad7f8235c1bb107 [INFO] running `Command { std: "docker" "start" "-a" "cfecf66e750753e5bdb41305b3650bc0a27bf1659eed7be15ad7f8235c1bb107", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-file-futures v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0271]: type mismatch resolving ` as IntoFuture>::Error == (..., ...)` [INFO] [stdout] --> examples/example.rs:31:46 [INFO] [stdout] | [INFO] [stdout] 31 | ... file.try_clone().and_then(|(file, _file2)| { [INFO] [stdout] | ^^^^^^^^ expected `(File, Error)`, found `Error` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(tokio_fs::File, std::io::Error)` [INFO] [stdout] found struct `std::io::Error` [INFO] [stdout] note: required by a bound in `futures::Future::and_then` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.31/src/future/mod.rs:528:29 [INFO] [stdout] | [INFO] [stdout] 526 | fn and_then(self, f: F) -> AndThen [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 527 | where F: FnOnce(Self::Item) -> B, [INFO] [stdout] 528 | B: IntoFuture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Future::and_then` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/example-75639e672d79d8a4.long-type-4960819209206287204.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as IntoFuture>::Error == (..., ...)` [INFO] [stdout] --> examples/example.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | file.sync_data().and_then(|file| { [INFO] [stdout] | ^^^^^^^^ expected `(File, Error)`, found `Error` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(tokio_fs::File, std::io::Error)` [INFO] [stdout] found struct `std::io::Error` [INFO] [stdout] = note: required for `AndThen, ...>` to implement `futures::Future` [INFO] [stdout] note: required by a bound in `futures::Future::and_then` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.31/src/future/mod.rs:528:29 [INFO] [stdout] | [INFO] [stdout] 526 | fn and_then(self, f: F) -> AndThen [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 527 | where F: FnOnce(Self::Item) -> B, [INFO] [stdout] 528 | B: IntoFuture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Future::and_then` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/example-75639e672d79d8a4.long-type-4960819209206287204.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map_err` exists for struct `AndThen, AndThen, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/example.rs:42:18 [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] 41 | | }) [INFO] [stdout] 42 | | .map_err(|e| println!("Error3: {}", e)); [INFO] [stdout] | | -^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | --------------------------- doesn't satisfy `<_ as IntoFuture>::Error = Error`, `_: Future` or `_: 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: 32:76}>, {closure@examples/example.rs:31:55: 31:71}>, {closure@examples/example.rs:30:51: 30:57}>, {closure@examples/example.rs:29:46: 29:52}> 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: 32:76}>, {closure@examples/example.rs:31:55: 31:71}>, {closure@examples/example.rs:30:51: 30:57}>, {closure@examples/example.rs:29:46: 29:52}>, {closure@examples/example.rs:28:27: 28:33}>: futures::Future` [INFO] [stdout] `futures::AndThen, futures::AndThen, futures::AndThen, {closure@examples/example.rs:32:58: 32:76}>, {closure@examples/example.rs:31:55: 31:71}>, {closure@examples/example.rs:30:51: 30:57}>, {closure@examples/example.rs:29:46: 29:52}>: futures::IntoFuture` [INFO] [stdout] which is required by `futures::AndThen, futures::AndThen, futures::AndThen, futures::AndThen, {closure@examples/example.rs:32:58: 32:76}>, {closure@examples/example.rs:31:55: 31:71}>, {closure@examples/example.rs:30:51: 30:57}>, {closure@examples/example.rs:29:46: 29:52}>, {closure@examples/example.rs:28:27: 28:33}>: futures::Future` [INFO] [stdout] `futures::AndThen, futures::AndThen, futures::AndThen, futures::AndThen, {closure@examples/example.rs:32:58: 32:76}>, {closure@examples/example.rs:31:55: 31:71}>, {closure@examples/example.rs:30:51: 30:57}>, {closure@examples/example.rs:29:46: 29:52}>, {closure@examples/example.rs:28:27: 28:33}>: futures::Future` [INFO] [stdout] which is required by `&mut futures::AndThen, futures::AndThen, futures::AndThen, futures::AndThen, {closure@examples/example.rs:32:58: 32:76}>, {closure@examples/example.rs:31:55: 31:71}>, {closure@examples/example.rs:30:51: 30:57}>, {closure@examples/example.rs:29:46: 29:52}>, {closure@examples/example.rs:28:27: 28:33}>: futures::Future` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/example-75639e672d79d8a4.long-type-118435788878563585.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: 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` (example "example") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "cfecf66e750753e5bdb41305b3650bc0a27bf1659eed7be15ad7f8235c1bb107", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfecf66e750753e5bdb41305b3650bc0a27bf1659eed7be15ad7f8235c1bb107", kill_on_drop: false }` [INFO] [stdout] cfecf66e750753e5bdb41305b3650bc0a27bf1659eed7be15ad7f8235c1bb107