[INFO] crate ifeq 0.1.3 is already in cache [INFO] testing ifeq-0.1.3 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate ifeq 0.1.3 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate ifeq 0.1.3 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-9/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stdout] 487b1cf8728c0259b21d164b5259547b21478fe573ea961afd529b7e42555850 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "487b1cf8728c0259b21d164b5259547b21478fe573ea961afd529b7e42555850"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling ifeq v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.86s [INFO] running `"docker" "inspect" "487b1cf8728c0259b21d164b5259547b21478fe573ea961afd529b7e42555850"` [INFO] running `"docker" "rm" "-f" "487b1cf8728c0259b21d164b5259547b21478fe573ea961afd529b7e42555850"` [INFO] [stdout] 487b1cf8728c0259b21d164b5259547b21478fe573ea961afd529b7e42555850 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stdout] 4313ebc93fc37d6dbaa0ca5164e7bae3e54fd77328f8d35642d4bab5bb8710c1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "4313ebc93fc37d6dbaa0ca5164e7bae3e54fd77328f8d35642d4bab5bb8710c1"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling 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] [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] [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] [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] [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" "4313ebc93fc37d6dbaa0ca5164e7bae3e54fd77328f8d35642d4bab5bb8710c1"` [INFO] running `"docker" "rm" "-f" "4313ebc93fc37d6dbaa0ca5164e7bae3e54fd77328f8d35642d4bab5bb8710c1"` [INFO] [stdout] 4313ebc93fc37d6dbaa0ca5164e7bae3e54fd77328f8d35642d4bab5bb8710c1