[INFO] fetching crate ifeq 0.1.3... [INFO] checking ifeq-0.1.3 against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [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 f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 87ffc5a4f333dcc20e649281d2e903c145e44919fa84de75963d23d1c5c46014 [INFO] running `Command { std: "docker" "start" "-a" "87ffc5a4f333dcc20e649281d2e903c145e44919fa84de75963d23d1c5c46014", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87ffc5a4f333dcc20e649281d2e903c145e44919fa84de75963d23d1c5c46014", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87ffc5a4f333dcc20e649281d2e903c145e44919fa84de75963d23d1c5c46014", kill_on_drop: false }` [INFO] [stdout] 87ffc5a4f333dcc20e649281d2e903c145e44919fa84de75963d23d1c5c46014 [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6187929315f4d5fb39f69b0635ff1964b80dd3916ac45295407c432ceb7f6f37 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6187929315f4d5fb39f69b0635ff1964b80dd3916ac45295407c432ceb7f6f37", kill_on_drop: false }` [INFO] [stderr] Checking ifeq v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0658]: use of unstable library feature 'bool_to_option' [INFO] [stdout] --> src/lib.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | assert_eq!(9.if_eq(9).then(|| "It works"), "It works".to_owned()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #64260 for more information [INFO] [stdout] = help: add `#![feature(bool_to_option)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | assert_eq!(9.if_eq(9).then(|| "It works"), "It works".to_owned()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&str>` [INFO] [stdout] found struct `std::string::String` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'bool_to_option' [INFO] [stdout] --> src/lib.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | assert_eq!(9.if_eq(9).then(|| (0..100).collect::>().len()), 100); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #64260 for more information [INFO] [stdout] = help: add `#![feature(bool_to_option)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | assert_eq!(9.if_eq(9).then(|| (0..100).collect::>().len()), 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found type `{integer}` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'bool_to_option' [INFO] [stdout] --> src/lib.rs:70:41 [INFO] [stdout] | [INFO] [stdout] 70 | assert_eq!("alma".if_eq("alma").then(|| "ok"), "ok"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #64260 for more information [INFO] [stdout] = help: add `#![feature(bool_to_option)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | assert_eq!("alma".if_eq("alma").then(|| "ok"), "ok"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&str>` [INFO] [stdout] found reference `&str` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'bool_to_option' [INFO] [stdout] --> src/lib.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | assert_ne!("alma".if_eq("alma").then(|| "ok"), "_ok"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #64260 for more information [INFO] [stdout] = help: add `#![feature(bool_to_option)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | assert_ne!("alma".if_eq("alma").then(|| "ok"), "_ok"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&str>` [INFO] [stdout] found reference `&str` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ifeq`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "6187929315f4d5fb39f69b0635ff1964b80dd3916ac45295407c432ceb7f6f37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6187929315f4d5fb39f69b0635ff1964b80dd3916ac45295407c432ceb7f6f37", kill_on_drop: false }` [INFO] [stdout] 6187929315f4d5fb39f69b0635ff1964b80dd3916ac45295407c432ceb7f6f37