[INFO] updating cached repository https://github.com/yavrib/rust-closures-playground
[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] ac31b4f22d24ab919d6edb5ab9396af3f9bbecc3
[INFO] checking yavrib/rust-closures-playground against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyavrib%2Frust-closures-playground" "/workspace/builds/worker-1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/yavrib/rust-closures-playground on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/yavrib/rust-closures-playground
[INFO] finished tweaking git repo https://github.com/yavrib/rust-closures-playground
[INFO] tweaked toml for git repo https://github.com/yavrib/rust-closures-playground written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/yavrib/rust-closures-playground already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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] 0d35bf8cd4bc08dc9231269f433acc73a0528066ed582c11a63a35c0acb9ddec
[INFO] running `"docker" "start" "-a" "0d35bf8cd4bc08dc9231269f433acc73a0528066ed582c11a63a35c0acb9ddec"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Checking rust-closures-playground v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]  --> src/main.rs:3:58
[INFO] [stderr]   |
[INFO] [stderr] 3 |     fn no_lifetime_specified_higher_order_function() -> &(Fn(i32) -> i32) {
[INFO] [stderr]   |                                                          ^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]  --> src/main.rs:3:59
[INFO] [stderr]   |
[INFO] [stderr] 3 |     fn no_lifetime_specified_higher_order_function() -> &(Fn(i32) -> i32) {
[INFO] [stderr]   |                                                           ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32) -> i32`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]   --> src/main.rs:10:70
[INFO] [stderr]    |
[INFO] [stderr] 10 |     fn static_lifetime_specified_higher_order_function() -> &'static (Fn(i32) -> i32) {
[INFO] [stderr]    |                                                                      ^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/main.rs:10:71
[INFO] [stderr]    |
[INFO] [stderr] 10 |     fn static_lifetime_specified_higher_order_function() -> &'static (Fn(i32) -> i32) {
[INFO] [stderr]    |                                                                       ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32) -> i32`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/main.rs:17:45
[INFO] [stderr]    |
[INFO] [stderr] 17 |     fn boxed_higher_order_function() -> Box<Fn(i32) -> i32> {
[INFO] [stderr]    |                                             ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32) -> i32`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/main.rs:23:39
[INFO] [stderr]    |
[INFO] [stderr] 23 |     fn higher_order_function() -> Box<Fn(i32) -> i32> {
[INFO] [stderr]    |                                       ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32) -> i32`
[INFO] [stderr] 
[INFO] [stderr] error[E0106]: missing lifetime specifier
[INFO] [stderr]  --> src/main.rs:3:57
[INFO] [stderr]   |
[INFO] [stderr] 3 |     fn no_lifetime_specified_higher_order_function() -> &(Fn(i32) -> i32) {
[INFO] [stderr]   |                                                         ^ help: consider giving it a 'static lifetime: `&'static`
[INFO] [stderr]   |
[INFO] [stderr]   = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
[INFO] [stderr] 
[INFO] [stderr] error[E0228]: the lifetime bound for this object type cannot be deduced from context; please supply an explicit bound
[INFO] [stderr]  --> src/main.rs:3:59
[INFO] [stderr]   |
[INFO] [stderr] 3 |     fn no_lifetime_specified_higher_order_function() -> &(Fn(i32) -> i32) {
[INFO] [stderr]   |                                                           ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0106`.
[INFO] [stderr] error: could not compile `rust-closures-playground`.
[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] warning: unnecessary parentheses around type
[INFO] [stderr]  --> src/main.rs:3:58
[INFO] [stderr]   |
[INFO] [stderr] 3 |     fn no_lifetime_specified_higher_order_function() -> &(Fn(i32) -> i32) {
[INFO] [stderr]   |                                                          ^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]  --> src/main.rs:3:59
[INFO] [stderr]   |
[INFO] [stderr] 3 |     fn no_lifetime_specified_higher_order_function() -> &(Fn(i32) -> i32) {
[INFO] [stderr]   |                                                           ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32) -> i32`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]   --> src/main.rs:10:70
[INFO] [stderr]    |
[INFO] [stderr] 10 |     fn static_lifetime_specified_higher_order_function() -> &'static (Fn(i32) -> i32) {
[INFO] [stderr]    |                                                                      ^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/main.rs:10:71
[INFO] [stderr]    |
[INFO] [stderr] 10 |     fn static_lifetime_specified_higher_order_function() -> &'static (Fn(i32) -> i32) {
[INFO] [stderr]    |                                                                       ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32) -> i32`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/main.rs:17:45
[INFO] [stderr]    |
[INFO] [stderr] 17 |     fn boxed_higher_order_function() -> Box<Fn(i32) -> i32> {
[INFO] [stderr]    |                                             ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32) -> i32`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/main.rs:23:39
[INFO] [stderr]    |
[INFO] [stderr] 23 |     fn higher_order_function() -> Box<Fn(i32) -> i32> {
[INFO] [stderr]    |                                       ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32) -> i32`
[INFO] [stderr] 
[INFO] [stderr] error[E0106]: missing lifetime specifier
[INFO] [stderr]  --> src/main.rs:3:57
[INFO] [stderr]   |
[INFO] [stderr] 3 |     fn no_lifetime_specified_higher_order_function() -> &(Fn(i32) -> i32) {
[INFO] [stderr]   |                                                         ^ help: consider giving it a 'static lifetime: `&'static`
[INFO] [stderr]   |
[INFO] [stderr]   = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
[INFO] [stderr] 
[INFO] [stderr] error[E0228]: the lifetime bound for this object type cannot be deduced from context; please supply an explicit bound
[INFO] [stderr]  --> src/main.rs:3:59
[INFO] [stderr]   |
[INFO] [stderr] 3 |     fn no_lifetime_specified_higher_order_function() -> &(Fn(i32) -> i32) {
[INFO] [stderr]   |                                                           ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0106`.
[INFO] [stderr] error: could not compile `rust-closures-playground`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "0d35bf8cd4bc08dc9231269f433acc73a0528066ed582c11a63a35c0acb9ddec"`
[INFO] running `"docker" "rm" "-f" "0d35bf8cd4bc08dc9231269f433acc73a0528066ed582c11a63a35c0acb9ddec"`
[INFO] [stdout] 0d35bf8cd4bc08dc9231269f433acc73a0528066ed582c11a63a35c0acb9ddec
