[INFO] fetching crate multindex 0.1.2... [INFO] testing multindex-0.1.2 against 1.45.2 for beta-1.46-1 [INFO] extracting crate multindex 0.1.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate multindex 0.1.2 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate multindex 0.1.2 [INFO] finished tweaking crates.io crate multindex 0.1.2 [INFO] tweaked toml for crates.io crate multindex 0.1.2 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e3475707751ffe5d11be0f248caa4bb99b0e097caf43466f1dc3c801e6aa317 [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" "6e3475707751ffe5d11be0f248caa4bb99b0e097caf43466f1dc3c801e6aa317", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e3475707751ffe5d11be0f248caa4bb99b0e097caf43466f1dc3c801e6aa317", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e3475707751ffe5d11be0f248caa4bb99b0e097caf43466f1dc3c801e6aa317", kill_on_drop: false }` [INFO] [stdout] 6e3475707751ffe5d11be0f248caa4bb99b0e097caf43466f1dc3c801e6aa317 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88ed98f46f2336bee72bafcc27c53c82d901b3cd82b74b158d49a3e511cf8109 [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" "88ed98f46f2336bee72bafcc27c53c82d901b3cd82b74b158d49a3e511cf8109", kill_on_drop: false }` [INFO] [stderr] Compiling multindex v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/index_argument.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / if overflowed { [INFO] [stdout] 69 | | PrenormIndex::InclusiveToMax { start } [INFO] [stdout] 70 | | } else { [INFO] [stdout] 71 | | PrenormIndex::Range { [INFO] [stdout] ... | [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/index_argument.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | / if overflowed { [INFO] [stdout] 84 | | PrenormIndex::InclusiveToMax { start: None } [INFO] [stdout] 85 | | } else { [INFO] [stdout] 86 | | PrenormIndex::Range { [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `match` is not allowed in a `const fn` [INFO] [stdout] --> src/index_argument.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | / match *self { [INFO] [stdout] 112 | | Self::Index(i) => Some(i), [INFO] [stdout] 113 | | Self::Range { start, .. } => start, [INFO] [stdout] 114 | | Self::InclusiveToMax { start } => start, [INFO] [stdout] 115 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `match` is not allowed in a `const fn` [INFO] [stdout] --> src/index_argument.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | / match *self { [INFO] [stdout] 119 | | Self::Index(i) => Some(i + 1), [INFO] [stdout] 120 | | Self::Range { end, .. } => end, [INFO] [stdout] 121 | | Self::InclusiveToMax { .. } => None, [INFO] [stdout] 122 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `match` is not allowed in a `const fn` [INFO] [stdout] --> src/index_argument.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | let this = match prenorm[i] { [INFO] [stdout] | ____________________^ [INFO] [stdout] 166 | | PrenormIndex::Index(start) => { [INFO] [stdout] 167 | | candidate_max_end = start + 1; [INFO] [stdout] 168 | | [INFO] [stdout] ... | [INFO] [stdout] 232 | | } [INFO] [stdout] 233 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/index_argument.rs:176:29 [INFO] [stdout] | [INFO] [stdout] 176 | let start = if let Some(start) = start { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 177 | | start [INFO] [stdout] 178 | | } else if let Some(prev) = slice_m::get(&prenorm, i.wrapping_sub(1)) { [INFO] [stdout] 179 | | option_unwrap_or_else!( [INFO] [stdout] ... | [INFO] [stdout] 186 | | 0 [INFO] [stdout] 187 | | }; [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/index_argument.rs:178:24 [INFO] [stdout] | [INFO] [stdout] 178 | } else if let Some(prev) = slice_m::get(&prenorm, i.wrapping_sub(1)) { [INFO] [stdout] | ________________________^ [INFO] [stdout] 179 | | option_unwrap_or_else!( [INFO] [stdout] 180 | | prev.end(), [INFO] [stdout] 181 | | return Err(Error::PrevEndIsUnbounded { current_index }) [INFO] [stdout] ... | [INFO] [stdout] 186 | | 0 [INFO] [stdout] 187 | | }; [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `match` is not allowed in a `const fn` [INFO] [stdout] --> src/macros/std_functions.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | / match $opt { [INFO] [stdout] 25 | | $crate::pmr::Some(x) => x, [INFO] [stdout] 26 | | $crate::pmr::None => $or_else, [INFO] [stdout] 27 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/index_argument.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | / option_unwrap_or_else!( [INFO] [stdout] 180 | | prev.end(), [INFO] [stdout] 181 | | return Err(Error::PrevEndIsUnbounded { current_index }) [INFO] [stdout] 182 | | ) [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [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]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/index_argument.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | / if let Some(end) = end { [INFO] [stdout] 193 | | let len = usize_m::saturating_sub(end, start); [INFO] [stdout] 194 | | candidate_max_end = start + len; [INFO] [stdout] 195 | | [INFO] [stdout] ... | [INFO] [stdout] 222 | | saturated_len = usize::MAX - start; [INFO] [stdout] 223 | | }; [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/index_argument.rs:198:24 [INFO] [stdout] | [INFO] [stdout] 198 | } else if let Some(next) = slice_m::get(&prenorm, i + 1) { [INFO] [stdout] | ________________________^ [INFO] [stdout] 199 | | let next_start = option_unwrap_or_else!( [INFO] [stdout] 200 | | next.start(), [INFO] [stdout] 201 | | return Err(Error::NextStartIsUnbounded { current_index }) [INFO] [stdout] ... | [INFO] [stdout] 222 | | saturated_len = usize::MAX - start; [INFO] [stdout] 223 | | }; [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `match` is not allowed in a `const fn` [INFO] [stdout] --> src/macros/std_functions.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | / match $opt { [INFO] [stdout] 25 | | $crate::pmr::Some(x) => x, [INFO] [stdout] 26 | | $crate::pmr::None => $or_else, [INFO] [stdout] 27 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/index_argument.rs:199:38 [INFO] [stdout] | [INFO] [stdout] 199 | let next_start = option_unwrap_or_else!( [INFO] [stdout] | ______________________________________- [INFO] [stdout] 200 | | next.start(), [INFO] [stdout] 201 | | return Err(Error::NextStartIsUnbounded { current_index }) [INFO] [stdout] 202 | | ); [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [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]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/index_argument.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 208 | / if overflowed { [INFO] [stdout] 209 | | return Err(Error::NextStartIsLessThanCurrent { current_index }); [INFO] [stdout] 210 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/index_argument.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | / if let IndexKind::RangeFrom = self.index_kind { [INFO] [stdout] 262 | | 0 [INFO] [stdout] 263 | | } else { [INFO] [stdout] 264 | | self.saturated_len [INFO] [stdout] 265 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/index_argument.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | / if let IndexKind::RangeFrom = self.index_kind { [INFO] [stdout] 276 | | None [INFO] [stdout] 277 | | } else { [INFO] [stdout] 278 | | Some(self.saturated_end()) [INFO] [stdout] 279 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `match` is not allowed in a `const fn` [INFO] [stdout] --> src/error.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / match result { [INFO] [stdout] 45 | | Ok(()) => ErrorTuple::OK, [INFO] [stdout] 46 | | Err(m_error) => m_error.to_tuple(), [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `match` is not allowed in a `const fn` [INFO] [stdout] --> src/error.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | / match *self { [INFO] [stdout] 53 | | Error::PrevEndIsUnbounded { current_index } => { [INFO] [stdout] 54 | | ErrorTuple::new(ErrorKind::PrevEndIsUnbounded, current_index as _, 0) [INFO] [stdout] 55 | | } [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `loop` is not allowed in a `const fn` [INFO] [stdout] --> src/macros/control_flow.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | $lifetime: loop{ [INFO] [stdout] | ________________________^ [INFO] [stdout] 6 | | break{ [INFO] [stdout] 7 | | $($code)* [INFO] [stdout] 8 | | }; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/index_properties.rs:58:27 [INFO] [stdout] | [INFO] [stdout] 58 | are_disjoint: block! {'outer: [INFO] [stdout] | ___________________________- [INFO] [stdout] 59 | | if let (AreAllDisjoint::Yes, false) = (expected, stats.are_sorted) { [INFO] [stdout] 60 | | for_range! { i in 0..ind_args.len() => [INFO] [stdout] 61 | | for_range!{ j in 0..ind_args.len() => [INFO] [stdout] ... | [INFO] [stdout] 75 | | expected.with_dummy_error() [INFO] [stdout] 76 | | }, [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #52000 for more information [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]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/index_properties.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | / if let (AreAllDisjoint::Yes, false) = (expected, stats.are_sorted) { [INFO] [stdout] 60 | | for_range! { i in 0..ind_args.len() => [INFO] [stdout] 61 | | for_range!{ j in 0..ind_args.len() => [INFO] [stdout] 62 | | // Because the `intersects` method is symetric,we don't need to check [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `while` is not allowed in a `const fn` [INFO] [stdout] --> src/macros/control_flow.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | / while range.start < range.end { [INFO] [stdout] 21 | | let $pat = range.start; [INFO] [stdout] 22 | | $($body)* [INFO] [stdout] 23 | | range.start += 1; [INFO] [stdout] 24 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/index_properties.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | / for_range! { i in 0..ind_args.len() => [INFO] [stdout] 61 | | for_range!{ j in 0..ind_args.len() => [INFO] [stdout] 62 | | // Because the `intersects` method is symetric,we don't need to check [INFO] [stdout] 63 | | // both ind_args[i].intersects(&ind_args[j]) [INFO] [stdout] ... | [INFO] [stdout] 72 | | } [INFO] [stdout] 73 | | } [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #52000 for more information [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]: `while` is not allowed in a `const fn` [INFO] [stdout] --> src/macros/control_flow.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | / while range.start < range.end { [INFO] [stdout] 21 | | let $pat = range.start; [INFO] [stdout] 22 | | $($body)* [INFO] [stdout] 23 | | range.start += 1; [INFO] [stdout] 24 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/index_properties.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | / for_range!{ j in 0..ind_args.len() => [INFO] [stdout] 62 | | // Because the `intersects` method is symetric,we don't need to check [INFO] [stdout] 63 | | // both ind_args[i].intersects(&ind_args[j]) [INFO] [stdout] 64 | | // and ind_args[j].intersects(&ind_args[i]) [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #52000 for more information [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]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/index_properties.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | ... if j >= i { break } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/index_properties.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | / ... if ind_args[i].intersects(&ind_args[j]) { [INFO] [stdout] 67 | | ... break 'outer AreAllDisjoint::No(Error::OverlappingIndexArgs{ [INFO] [stdout] 68 | | ... left: j as u16, [INFO] [stdout] 69 | | ... right: i as u16, [INFO] [stdout] 70 | | ... }); [INFO] [stdout] 71 | | ... } [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `match` is not allowed in a `const fn` [INFO] [stdout] --> src/std_const_fns.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | / match this { [INFO] [stdout] 7 | | [] => None, [INFO] [stdout] 8 | | [first, ..] => Some(first), [INFO] [stdout] 9 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `match` is not allowed in a `const fn` [INFO] [stdout] --> src/std_const_fns.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | / match this { [INFO] [stdout] 15 | | [] => None, [INFO] [stdout] 16 | | [.., last] => Some(last), [INFO] [stdout] 17 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/std_const_fns.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | / if index < this.len() { [INFO] [stdout] 23 | | Some(&this[index]) [INFO] [stdout] 24 | | } else { [INFO] [stdout] 25 | | None [INFO] [stdout] 26 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/std_const_fns.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / if l >= r { [INFO] [stdout] 33 | | l [INFO] [stdout] 34 | | } else { [INFO] [stdout] 35 | | r [INFO] [stdout] 36 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/std_const_fns.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / if l <= r { [INFO] [stdout] 41 | | l [INFO] [stdout] 42 | | } else { [INFO] [stdout] 43 | | r [INFO] [stdout] 44 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/std_const_fns.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / if l < r { [INFO] [stdout] 49 | | 0 [INFO] [stdout] 50 | | } else { [INFO] [stdout] 51 | | l - r [INFO] [stdout] 52 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `match` is not allowed in a `const fn` [INFO] [stdout] --> src/std_const_fns.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | matches!(this, Some(_)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [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]: `match` is not allowed in a `const fn` [INFO] [stdout] --> src/std_const_fns.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | matches!(this, None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [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]: `match` is not allowed in a `const fn` [INFO] [stdout] --> src/std_const_fns.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | matches!(this, Ok(_)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [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]: `match` is not allowed in a `const fn` [INFO] [stdout] --> src/std_const_fns.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | matches!(this, Err(_)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [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]: `match` is not allowed in a `const fn` [INFO] [stdout] --> src/are_disjoint.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / match self { [INFO] [stdout] 17 | | AreAllDisjoint::No(()) => { [INFO] [stdout] 18 | | let err = Error::OverlappingIndexArgs { [INFO] [stdout] 19 | | left: u16::MAX, [INFO] [stdout] ... | [INFO] [stdout] 24 | | AreAllDisjoint::Yes => AreAllDisjoint::Yes, [INFO] [stdout] 25 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `match` is not allowed in a `const fn` [INFO] [stdout] --> src/are_disjoint.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / match (self, expected) { [INFO] [stdout] 31 | | (AreAllDisjoint::Yes, _) => Ok(()), [INFO] [stdout] 32 | | (_, AreAllDisjoint::No(_)) => Ok(()), [INFO] [stdout] 33 | | (AreAllDisjoint::No(x), AreAllDisjoint::Yes) => Err(x), [INFO] [stdout] 34 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `multindex`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "88ed98f46f2336bee72bafcc27c53c82d901b3cd82b74b158d49a3e511cf8109", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88ed98f46f2336bee72bafcc27c53c82d901b3cd82b74b158d49a3e511cf8109", kill_on_drop: false }` [INFO] [stdout] 88ed98f46f2336bee72bafcc27c53c82d901b3cd82b74b158d49a3e511cf8109