[INFO] updating cached repository yavrib/rust-closures-playground [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/yavrib/rust-closures-playground [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/yavrib/rust-closures-playground" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/yavrib/rust-closures-playground"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/yavrib/rust-closures-playground'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/yavrib/rust-closures-playground" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/yavrib/rust-closures-playground"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/yavrib/rust-closures-playground'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ac31b4f22d24ab919d6edb5ab9396af3f9bbecc3 [INFO] sha for GitHub repo yavrib/rust-closures-playground: ac31b4f22d24ab919d6edb5ab9396af3f9bbecc3 [INFO] validating manifest of yavrib/rust-closures-playground on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of yavrib/rust-closures-playground on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing yavrib/rust-closures-playground [INFO] finished frobbing yavrib/rust-closures-playground [INFO] frobbed toml for yavrib/rust-closures-playground written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/yavrib/rust-closures-playground/Cargo.toml [INFO] started frobbing yavrib/rust-closures-playground [INFO] finished frobbing yavrib/rust-closures-playground [INFO] frobbed toml for yavrib/rust-closures-playground written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/yavrib/rust-closures-playground/Cargo.toml [INFO] crate yavrib/rust-closures-playground already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking yavrib/rust-closures-playground against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-5/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/yavrib/rust-closures-playground:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 24129735cbc2f9a6ae37d2cee81e38fb8a23733fcf293921d0d0f0cce879a295 [INFO] running `"docker" "start" "-a" "24129735cbc2f9a6ae37d2cee81e38fb8a23733fcf293921d0d0f0cce879a295"` [INFO] [stderr] Checking rust-closures-playground v0.1.0 (/opt/crater/workdir) [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: 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 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 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] warning: build failed, waiting for other jobs to finish... [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: 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 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 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" "24129735cbc2f9a6ae37d2cee81e38fb8a23733fcf293921d0d0f0cce879a295"` [INFO] running `"docker" "rm" "-f" "24129735cbc2f9a6ae37d2cee81e38fb8a23733fcf293921d0d0f0cce879a295"` [INFO] [stdout] 24129735cbc2f9a6ae37d2cee81e38fb8a23733fcf293921d0d0f0cce879a295