[INFO] updating cached repository https://github.com/frol/rust-futures03-wrapper-test [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 17facb19962fbf1ae7f740d547a066ff875ee37c [INFO] checking frol/rust-futures03-wrapper-test against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrol%2Frust-futures03-wrapper-test" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/frol/rust-futures03-wrapper-test on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/frol/rust-futures03-wrapper-test [INFO] finished tweaking git repo https://github.com/frol/rust-futures03-wrapper-test [INFO] tweaked toml for git repo https://github.com/frol/rust-futures03-wrapper-test written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/frol/rust-futures03-wrapper-test already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 832403893d1518b7705ce623a6fec4e7a8bfb9896f44677e819f991618585c0f [INFO] running `"docker" "start" "-a" "832403893d1518b7705ce623a6fec4e7a8bfb9896f44677e819f991618585c0f"` [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.16 [INFO] [stderr] Checking futures-io-preview v0.3.0-alpha.16 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.16 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.16 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.16 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.16 [INFO] [stderr] Checking compat-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0557]: feature has been removed [INFO] [stderr] --> src/main.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(await_macro, async_await)] [INFO] [stderr] | ^^^^^^^^^^^ feature has been removed [INFO] [stderr] | [INFO] [stderr] = note: subsumed by `.await` syntax [INFO] [stderr] [INFO] [stderr] error[E0557]: feature has been removed [INFO] [stderr] --> src/main.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(await_macro, async_await)] [INFO] [stderr] | ^^^^^^^^^^^ feature has been removed [INFO] [stderr] | [INFO] [stderr] = note: subsumed by `.await` syntax [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:9:30 [INFO] [stderr] | [INFO] [stderr] 9 | fn wrapper(&self) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0495]: cannot infer an appropriate lifetime for autoref due to conflicting requirements [INFO] [stderr] --> src/main.rs:12:23 [INFO] [stderr] | [INFO] [stderr] 12 | Box::new(self.inner().boxed().compat()) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: first, the lifetime cannot outlive the anonymous lifetime #1 defined on the method body at 9:5... [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | / fn wrapper(&self) -> Box> { [INFO] [stderr] 10 | | // Fix v1: fn wrapper<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] 11 | | // Fix v2: fn wrapper(self: std::sync::Arc) -> Box> { [INFO] [stderr] 12 | | Box::new(self.inner().boxed().compat()) [INFO] [stderr] 13 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] note: ...so that reference does not outlive borrowed content [INFO] [stderr] --> src/main.rs:12:18 [INFO] [stderr] | [INFO] [stderr] 12 | Box::new(self.inner().boxed().compat()) [INFO] [stderr] | ^^^^ [INFO] [stderr] = note: but, the lifetime must be valid for the static lifetime... [INFO] [stderr] note: ...so that the expression is assignable [INFO] [stderr] --> src/main.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | Box::new(self.inner().boxed().compat()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: expected `std::boxed::Box<(dyn futures::future::Future + 'static)>` [INFO] [stderr] found `std::boxed::Box>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0495, E0557. [INFO] [stderr] For more information about an error, try `rustc --explain E0495`. [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:9:30 [INFO] [stderr] | [INFO] [stderr] 9 | fn wrapper(&self) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error: could not compile `compat-test`. [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[E0495]: cannot infer an appropriate lifetime for autoref due to conflicting requirements [INFO] [stderr] --> src/main.rs:12:23 [INFO] [stderr] | [INFO] [stderr] 12 | Box::new(self.inner().boxed().compat()) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: first, the lifetime cannot outlive the anonymous lifetime #1 defined on the method body at 9:5... [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | / fn wrapper(&self) -> Box> { [INFO] [stderr] 10 | | // Fix v1: fn wrapper<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] 11 | | // Fix v2: fn wrapper(self: std::sync::Arc) -> Box> { [INFO] [stderr] 12 | | Box::new(self.inner().boxed().compat()) [INFO] [stderr] 13 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] note: ...so that reference does not outlive borrowed content [INFO] [stderr] --> src/main.rs:12:18 [INFO] [stderr] | [INFO] [stderr] 12 | Box::new(self.inner().boxed().compat()) [INFO] [stderr] | ^^^^ [INFO] [stderr] = note: but, the lifetime must be valid for the static lifetime... [INFO] [stderr] note: ...so that the expression is assignable [INFO] [stderr] --> src/main.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | Box::new(self.inner().boxed().compat()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: expected `std::boxed::Box<(dyn futures::future::Future + 'static)>` [INFO] [stderr] found `std::boxed::Box>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0495, E0557. [INFO] [stderr] For more information about an error, try `rustc --explain E0495`. [INFO] [stderr] error: could not compile `compat-test`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "832403893d1518b7705ce623a6fec4e7a8bfb9896f44677e819f991618585c0f"` [INFO] running `"docker" "rm" "-f" "832403893d1518b7705ce623a6fec4e7a8bfb9896f44677e819f991618585c0f"` [INFO] [stdout] 832403893d1518b7705ce623a6fec4e7a8bfb9896f44677e819f991618585c0f