[INFO] crate ifeq 0.1.3 is already in cache [INFO] checking ifeq-0.1.3 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate ifeq 0.1.3 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate ifeq 0.1.3 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate ifeq 0.1.3 [INFO] finished tweaking crates.io crate ifeq 0.1.3 [INFO] tweaked toml for crates.io crate ifeq 0.1.3 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 6a6eae9ee326a07938c84592c97f04e6f2b53410be9c28c94ab7f79a8e73c6f3 [INFO] running `"docker" "start" "-a" "6a6eae9ee326a07938c84592c97f04e6f2b53410be9c28c94ab7f79a8e73c6f3"` [INFO] [stderr] Checking ifeq v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] error[E0658]: use of unstable library feature 'bool_to_option' [INFO] [stderr] --> src/lib.rs:68:31 [INFO] [stderr] | [INFO] [stderr] 68 | assert_eq!(9.if_eq(9).then(|| "It works"), "It works".to_owned()); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #64260 for more information [INFO] [stderr] = help: add `#![feature(bool_to_option)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 68 | assert_eq!(9.if_eq(9).then(|| "It works"), "It works".to_owned()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found struct `std::string::String` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::option::Option<&str>` [INFO] [stderr] found struct `std::string::String` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'bool_to_option' [INFO] [stderr] --> src/lib.rs:69:31 [INFO] [stderr] | [INFO] [stderr] 69 | assert_eq!(9.if_eq(9).then(|| (0..100).collect::>().len()), 100); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #64260 for more information [INFO] [stderr] = help: add `#![feature(bool_to_option)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | assert_eq!(9.if_eq(9).then(|| (0..100).collect::>().len()), 100); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found integer [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::option::Option` [INFO] [stderr] found type `{integer}` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'bool_to_option' [INFO] [stderr] --> src/lib.rs:70:41 [INFO] [stderr] | [INFO] [stderr] 70 | assert_eq!("alma".if_eq("alma").then(|| "ok"), "ok"); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #64260 for more information [INFO] [stderr] = help: add `#![feature(bool_to_option)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | assert_eq!("alma".if_eq("alma").then(|| "ok"), "ok"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found `&str` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::option::Option<&str>` [INFO] [stderr] found reference `&str` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'bool_to_option' [INFO] [stderr] --> src/lib.rs:71:41 [INFO] [stderr] | [INFO] [stderr] 71 | assert_ne!("alma".if_eq("alma").then(|| "ok"), "_ok"); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #64260 for more information [INFO] [stderr] = help: add `#![feature(bool_to_option)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:71:9 [INFO] [stderr] | [INFO] [stderr] 71 | assert_ne!("alma".if_eq("alma").then(|| "ok"), "_ok"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found `&str` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::option::Option<&str>` [INFO] [stderr] found reference `&str` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `ifeq`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "6a6eae9ee326a07938c84592c97f04e6f2b53410be9c28c94ab7f79a8e73c6f3"` [INFO] running `"docker" "rm" "-f" "6a6eae9ee326a07938c84592c97f04e6f2b53410be9c28c94ab7f79a8e73c6f3"` [INFO] [stdout] 6a6eae9ee326a07938c84592c97f04e6f2b53410be9c28c94ab7f79a8e73c6f3