[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/beta-1.38-1/sources/1.37.0/gh/yavrib/rust-closures-playground"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/yavrib/rust-closures-playground'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/yavrib/rust-closures-playground" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/yavrib/rust-closures-playground"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/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 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of yavrib/rust-closures-playground on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "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/beta-1.38-1/sources/1.37.0/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/beta-1.38-1/sources/beta-2019-08-13/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" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing yavrib/rust-closures-playground against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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=warn" "-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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] c87ef9d6af3cd68a605923b7e91e9e51ddf2dd111ca2a2696915fbb29c21bf11 [INFO] running `"docker" "start" "-a" "c87ef9d6af3cd68a605923b7e91e9e51ddf2dd111ca2a2696915fbb29c21bf11"` [INFO] [stderr] Compiling 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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c87ef9d6af3cd68a605923b7e91e9e51ddf2dd111ca2a2696915fbb29c21bf11"` [INFO] running `"docker" "rm" "-f" "c87ef9d6af3cd68a605923b7e91e9e51ddf2dd111ca2a2696915fbb29c21bf11"` [INFO] [stdout] c87ef9d6af3cd68a605923b7e91e9e51ddf2dd111ca2a2696915fbb29c21bf11