[INFO] cloning repository https://github.com/rukletsov/rcr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rukletsov/rcr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frukletsov%2Frcr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frukletsov%2Frcr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d274cec3a6e1a1efe26f8b4ea54cca3d7313c4cd [INFO] checking rukletsov/rcr against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frukletsov%2Frcr" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rukletsov/rcr [INFO] finished tweaking git repo https://github.com/rukletsov/rcr [INFO] tweaked toml for git repo https://github.com/rukletsov/rcr written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rukletsov/rcr on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rukletsov/rcr 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a613e7b762498c7d6e65b43e2348e3bd06f07838b84bef8302837886f3c9aed9 [INFO] running `Command { std: "docker" "start" "-a" "a613e7b762498c7d6e65b43e2348e3bd06f07838b84bef8302837886f3c9aed9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a613e7b762498c7d6e65b43e2348e3bd06f07838b84bef8302837886f3c9aed9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a613e7b762498c7d6e65b43e2348e3bd06f07838b84bef8302837886f3c9aed9", kill_on_drop: false }` [INFO] [stdout] a613e7b762498c7d6e65b43e2348e3bd06f07838b84bef8302837886f3c9aed9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8231c049ac3273a0383aa0e93f032e2d8a45d389f856c728bcc9a3d2a838000a [INFO] running `Command { std: "docker" "start" "-a" "8231c049ac3273a0383aa0e93f032e2d8a45d389f856c728bcc9a3d2a838000a", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.39 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking futures v0.1.18 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking slab v0.4.0 [INFO] [stderr] Checking lazycell v0.6.0 [INFO] [stderr] Compiling version_check v0.1.3 [INFO] [stderr] Checking scoped-tls v0.1.1 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking take v0.1.0 [INFO] [stderr] Checking smallvec v0.2.1 [INFO] [stderr] Checking httparse v1.2.4 [INFO] [stderr] Checking base64 v0.9.0 [INFO] [stderr] Checking crossbeam-epoch v0.4.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Compiling unicase v2.1.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking net2 v0.2.32 [INFO] [stderr] Checking crossbeam-deque v0.3.0 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking bytes v0.4.6 [INFO] [stderr] Checking mio v0.6.14 [INFO] [stderr] Checking mime v0.3.5 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking tokio-executor v0.1.0 [INFO] [stderr] Checking tokio-io v0.1.6 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking relay v0.1.1 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking tokio-threadpool v0.1.0 [INFO] [stderr] Checking tokio-reactor v0.1.0 [INFO] [stderr] Checking tokio v0.1.2 [INFO] [stderr] Checking tokio-core v0.1.13 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking hyper v0.11.22 [INFO] [stderr] Checking rcr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/daemon/main.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | type Future = Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/daemon/main.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | type Future = Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): futures::IntoFuture` is not satisfied [INFO] [stdout] --> src/daemon/main.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | }).and_then(move |content|{ [INFO] [stdout] | ^^^^^^^^ the trait `futures::Future` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `futures::Future`: [INFO] [stdout] &'a mut F [INFO] [stdout] AssertUnwindSafe [INFO] [stdout] BiLockAcquire [INFO] [stdout] Box [INFO] [stdout] Concat2 [INFO] [stdout] Either [INFO] [stdout] Failed [INFO] [stdout] Flush [INFO] [stdout] and 89 others [INFO] [stdout] = note: required for `()` to implement `futures::IntoFuture` [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.18/src/future/mod.rs:527:18 [INFO] [stdout] | [INFO] [stdout] 525 | fn and_then(self, f: F) -> AndThen [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 526 | where F: FnOnce(Self::Item) -> B, [INFO] [stdout] 527 | B: IntoFuture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Future::and_then` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): futures::IntoFuture` is not satisfied [INFO] [stdout] --> src/daemon/main.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | }).and_then(move |content|{ [INFO] [stdout] | ^^^^^^^^ the trait `futures::Future` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `futures::Future`: [INFO] [stdout] &'a mut F [INFO] [stdout] AssertUnwindSafe [INFO] [stdout] BiLockAcquire [INFO] [stdout] Box [INFO] [stdout] Concat2 [INFO] [stdout] Either [INFO] [stdout] Failed [INFO] [stdout] Flush [INFO] [stdout] and 89 others [INFO] [stdout] = note: required for `()` to implement `futures::IntoFuture` [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.18/src/future/mod.rs:527:18 [INFO] [stdout] | [INFO] [stdout] 525 | fn and_then(self, f: F) -> AndThen [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 526 | where F: FnOnce(Self::Item) -> B, [INFO] [stdout] 527 | B: IntoFuture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Future::and_then` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/daemon/main.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 24 | let future = match (req.method(), req.path()) { [INFO] [stdout] | ______________________- [INFO] [stdout] 25 | | (&Method::Get, "/") => { [INFO] [stdout] 26 | | response.set_body("Help:"); [INFO] [stdout] 27 | | futures::future::ok(response) [INFO] [stdout] | | ----------------------------- this is found to be of type `Failed, _>` [INFO] [stdout] ... | [INFO] [stdout] 31 | | futures::future::ok(response) [INFO] [stdout] | | ----------------------------- this is found to be of type `Failed, _>` [INFO] [stdout] ... | [INFO] [stdout] 34 | | let f = req.body().concat2().map(|chunk| { [INFO] [stdout] | | ------- one of the found closures [INFO] [stdout] ... | [INFO] [stdout] 37 | | }).and_then(move |content|{ [INFO] [stdout] | | -------------- one of the found closures [INFO] [stdout] ... | [INFO] [stdout] 44 | | f [INFO] [stdout] | | ^ expected `Done, _>`, found `AndThen, ...>, (), ...>` [INFO] [stdout] ... | [INFO] [stdout] 50 | | }; [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Failed, _>` [INFO] [stdout] found struct `futures::AndThen, {closure@src/daemon/main.rs:34:50: 34:57}>, (), {closure@src/daemon/main.rs:37:29: 37:43}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/daemon/main.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 24 | let future = match (req.method(), req.path()) { [INFO] [stdout] | ______________________- [INFO] [stdout] 25 | | (&Method::Get, "/") => { [INFO] [stdout] 26 | | response.set_body("Help:"); [INFO] [stdout] 27 | | futures::future::ok(response) [INFO] [stdout] | | ----------------------------- this is found to be of type `Failed, _>` [INFO] [stdout] ... | [INFO] [stdout] 31 | | futures::future::ok(response) [INFO] [stdout] | | ----------------------------- this is found to be of type `Failed, _>` [INFO] [stdout] ... | [INFO] [stdout] 34 | | let f = req.body().concat2().map(|chunk| { [INFO] [stdout] | | ------- one of the found closures [INFO] [stdout] ... | [INFO] [stdout] 37 | | }).and_then(move |content|{ [INFO] [stdout] | | -------------- one of the found closures [INFO] [stdout] ... | [INFO] [stdout] 44 | | f [INFO] [stdout] | | ^ expected `Done, _>`, found `AndThen, ...>, (), ...>` [INFO] [stdout] ... | [INFO] [stdout] 50 | | }; [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Failed, _>` [INFO] [stdout] found struct `futures::AndThen, {closure@src/daemon/main.rs:34:50: 34:57}>, (), {closure@src/daemon/main.rs:37:29: 37:43}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rcr` (bin "daemon" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rcr` (bin "daemon") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "8231c049ac3273a0383aa0e93f032e2d8a45d389f856c728bcc9a3d2a838000a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8231c049ac3273a0383aa0e93f032e2d8a45d389f856c728bcc9a3d2a838000a", kill_on_drop: false }` [INFO] [stdout] 8231c049ac3273a0383aa0e93f032e2d8a45d389f856c728bcc9a3d2a838000a