[INFO] fetching crate compacts 0.9.0... [INFO] building compacts-0.9.0 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate compacts 0.9.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate compacts 0.9.0 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate compacts 0.9.0 [INFO] finished tweaking crates.io crate compacts 0.9.0 [INFO] tweaked toml for crates.io crate compacts 0.9.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 31 packages to latest compatible versions [INFO] [stderr] Adding quickcheck v0.5.0 (available: v1.0.3) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding snap v0.2.5 (available: v1.1.1) [INFO] [stderr] Adding zstd v0.4.28+zstd.1.4.3 (available: v0.13.2) [INFO] [stderr] Adding zstd-sys v1.4.13+zstd.1.4.3 (available: v1.6.3+zstd.1.5.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utf8-ranges v1.0.5 [INFO] [stderr] Downloaded ucd-util v0.1.10 [INFO] [stderr] Downloaded zstd v0.4.28+zstd.1.4.3 [INFO] [stderr] Downloaded zstd-safe v1.4.13+zstd.1.4.3 [INFO] [stderr] Downloaded quickcheck v0.5.0 [INFO] [stderr] Downloaded snap v0.2.5 [INFO] [stderr] Downloaded zstd-sys v1.4.13+zstd.1.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b22282475b2c6773694a4267cf533dd86fd89487f36a02349569a834a84f3609 [INFO] running `Command { std: "docker" "start" "-a" "b22282475b2c6773694a4267cf533dd86fd89487f36a02349569a834a84f3609", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b22282475b2c6773694a4267cf533dd86fd89487f36a02349569a834a84f3609", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b22282475b2c6773694a4267cf533dd86fd89487f36a02349569a834a84f3609", kill_on_drop: false }` [INFO] [stdout] b22282475b2c6773694a4267cf533dd86fd89487f36a02349569a834a84f3609 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ba335a58b16e783ffcea9cf859f607e922ed0c11cdb27786aa163ef0a21141a [INFO] running `Command { std: "docker" "start" "-a" "1ba335a58b16e783ffcea9cf859f607e922ed0c11cdb27786aa163ef0a21141a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling compacts v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/bits/dict/mod.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | #[cfg_attr(feature = "cargo-clippy", allow(cast_lossless))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] ... [INFO] [stdout] 110 | impl_Select!(u64, u32, u16, u8); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unexpected_cfgs)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the macro `impl_Select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/bits/dict/mod.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | #[cfg_attr(feature = "cargo-clippy", allow(cast_lossless))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] ... [INFO] [stdout] 57 | impl_PopCount!(u64, u32, u16, u8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `impl_PopCount` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/bits/repr/run.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/bits/repr/run.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(feature = "cargo-clippy", allow(range_minus_one))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/bits/repr/run.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(feature = "cargo-clippy", allow(redundant_field_names))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the feature `inclusive_range` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(inclusive_range, inclusive_range_fields)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(stable_features)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `inclusive_range_fields` [INFO] [stdout] --> src/lib.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(inclusive_range, inclusive_range_fields)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bits/repr/mod.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | iter: Box + 'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | iter: Box + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `start` of struct `RangeInclusive` is private [INFO] [stdout] --> src/bits/repr/arr.rs:242:19 [INFO] [stdout] | [INFO] [stdout] 242 | let s = range.start as usize; [INFO] [stdout] | ^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `start` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 242 | let s = range.start() as usize; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `end` of struct `RangeInclusive` is private [INFO] [stdout] --> src/bits/repr/arr.rs:243:19 [INFO] [stdout] | [INFO] [stdout] 243 | let e = range.end as usize; [INFO] [stdout] | ^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `end` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 243 | let e = range.end() as usize; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `start` of struct `RangeInclusive` is private [INFO] [stdout] --> src/bits/repr/run.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | if range.start <= n && n <= range.end { [INFO] [stdout] | ^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `start` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 18 | if range.start() <= n && n <= range.end { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `end` of struct `RangeInclusive` is private [INFO] [stdout] --> src/bits/repr/run.rs:18:47 [INFO] [stdout] | [INFO] [stdout] 18 | if range.start <= n && n <= range.end { [INFO] [stdout] | ^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `start` of struct `RangeInclusive` is private [INFO] [stdout] --> src/bits/repr/run.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | } else if n < range.start { [INFO] [stdout] | ^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `end` of struct `RangeInclusive` is private [INFO] [stdout] --> src/bits/repr/run.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | } else if range.end < n { [INFO] [stdout] | ^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `end` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 22 | } else if range.end() < n { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `end` of struct `RangeInclusive` is private [INFO] [stdout] --> src/bits/repr/run.rs:52:43 [INFO] [stdout] | [INFO] [stdout] 52 | Some(self.ranges[pos - 1].end) [INFO] [stdout] | ^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `end` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 52 | Some(self.ranges[pos - 1].end()) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `start` of struct `RangeInclusive` is private [INFO] [stdout] --> src/bits/repr/run.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | Some(self.ranges[pos].start) [INFO] [stdout] | ^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `start` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 57 | Some(self.ranges[pos].start()) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `start` of struct `RangeInclusive` is private [INFO] [stdout] --> src/bits/repr/run.rs:65:54 [INFO] [stdout] | [INFO] [stdout] 65 | let start = self.ranges[pos - 1].start; [INFO] [stdout] | ^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `start` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 65 | let start = self.ranges[pos - 1].start(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `end` of struct `RangeInclusive` is private [INFO] [stdout] --> src/bits/repr/run.rs:66:48 [INFO] [stdout] | [INFO] [stdout] 66 | let end = self.ranges[pos].end; [INFO] [stdout] | ^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `end` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 66 | let end = self.ranges[pos].end(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `start` of struct `RangeInclusive` is private [INFO] [stdout] --> src/bits/repr/run.rs:72:54 [INFO] [stdout] | [INFO] [stdout] 72 | let start = self.ranges[pos - 1].start; [INFO] [stdout] | ^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `start` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 72 | let start = self.ranges[pos - 1].start(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `end` of struct `RangeInclusive` is private [INFO] [stdout] --> src/bits/repr/run.rs:73:52 [INFO] [stdout] | [INFO] [stdout] 73 | let end = self.ranges[pos - 1].end + 1; [INFO] [stdout] | ^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `end` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 73 | let end = self.ranges[pos - 1].end() + 1; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `start` of struct `RangeInclusive` is private [INFO] [stdout] --> src/bits/repr/run.rs:78:50 [INFO] [stdout] | [INFO] [stdout] 78 | let start = self.ranges[pos].start - 1; [INFO] [stdout] | ^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `start` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 78 | let start = self.ranges[pos].start() - 1; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `end` of struct `RangeInclusive` is private [INFO] [stdout] --> src/bits/repr/run.rs:79:48 [INFO] [stdout] | [INFO] [stdout] 79 | let end = self.ranges[pos].end; [INFO] [stdout] | ^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `end` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 79 | let end = self.ranges[pos].end(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `start` of struct `RangeInclusive` is private [INFO] [stdout] --> src/bits/repr/run.rs:96:37 [INFO] [stdout] | [INFO] [stdout] 96 | match (self.ranges[pos].start, self.ranges[pos].end) { [INFO] [stdout] | ^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `start` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 96 | match (self.ranges[pos].start(), self.ranges[pos].end) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `end` of struct `RangeInclusive` is private [INFO] [stdout] --> src/bits/repr/run.rs:96:61 [INFO] [stdout] | [INFO] [stdout] 96 | match (self.ranges[pos].start, self.ranges[pos].end) { [INFO] [stdout] | ^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `end` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 96 | match (self.ranges[pos].start, self.ranges[pos].end()) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `start` of struct `RangeInclusive` is private [INFO] [stdout] --> src/bits/repr/run.rs:135:44 [INFO] [stdout] | [INFO] [stdout] 135 | w.write_u16::(rg.start)?; [INFO] [stdout] | ^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `end` of struct `RangeInclusive` is private [INFO] [stdout] --> src/bits/repr/run.rs:136:44 [INFO] [stdout] | [INFO] [stdout] 136 | w.write_u16::(rg.end - rg.start)?; [INFO] [stdout] | ^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `end` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 136 | w.write_u16::(rg.end() - rg.start)?; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `start` of struct `RangeInclusive` is private [INFO] [stdout] --> src/bits/repr/run.rs:136:53 [INFO] [stdout] | [INFO] [stdout] 136 | w.write_u16::(rg.end - rg.start)?; [INFO] [stdout] | ^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `start` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 136 | w.write_u16::(rg.end - rg.start())?; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `end` of struct `RangeInclusive` is private [INFO] [stdout] --> src/bits/repr/run.rs:184:33 [INFO] [stdout] | [INFO] [stdout] 184 | let w = u32::from(r.end - r.start) + 1; [INFO] [stdout] | ^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `end` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 184 | let w = u32::from(r.end() - r.start) + 1; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `start` of struct `RangeInclusive` is private [INFO] [stdout] --> src/bits/repr/run.rs:184:41 [INFO] [stdout] | [INFO] [stdout] 184 | let w = u32::from(r.end - r.start) + 1; [INFO] [stdout] | ^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `start` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 184 | let w = u32::from(r.end - r.start()) + 1; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `start` of struct `RangeInclusive` is private [INFO] [stdout] --> src/bits/repr/run.rs:186:33 [INFO] [stdout] | [INFO] [stdout] 186 | rle16.ranges.push(r.start..=r.end); [INFO] [stdout] | ^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `end` of struct `RangeInclusive` is private [INFO] [stdout] --> src/bits/repr/run.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | rle16.ranges.push(r.start..=r.end); [INFO] [stdout] | ^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `end` of struct `RangeInclusive` is private [INFO] [stdout] --> src/bits/repr/run.rs:225:31 [INFO] [stdout] | [INFO] [stdout] 225 | assert!(ranges[i].end <= start); // no overlap [INFO] [stdout] | ^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `end` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 225 | assert!(ranges[i].end() <= start); // no overlap [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `end` of struct `RangeInclusive` is private [INFO] [stdout] --> src/bits/repr/run.rs:227:36 [INFO] [stdout] | [INFO] [stdout] 227 | if start == (ranges[i].end + 1) { [INFO] [stdout] | ^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `end` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 227 | if start == (ranges[i].end() + 1) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `start` of struct `RangeInclusive` is private [INFO] [stdout] --> src/bits/repr/run.rs:229:39 [INFO] [stdout] | [INFO] [stdout] 229 | ranges[i] = ranges[i].start..=end; [INFO] [stdout] | ^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0616, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0616`. [INFO] [stdout] [INFO] [stderr] error: could not compile `compacts` (lib) due to 34 previous errors [INFO] running `Command { std: "docker" "inspect" "1ba335a58b16e783ffcea9cf859f607e922ed0c11cdb27786aa163ef0a21141a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ba335a58b16e783ffcea9cf859f607e922ed0c11cdb27786aa163ef0a21141a", kill_on_drop: false }` [INFO] [stdout] 1ba335a58b16e783ffcea9cf859f607e922ed0c11cdb27786aa163ef0a21141a