[INFO] cloning repository https://github.com/madadam/calendar.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/madadam/calendar.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmadadam%2Fcalendar.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmadadam%2Fcalendar.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1feae481e779aba72c2232734be7470e14178ac0 [INFO] checking madadam/calendar.rs against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmadadam%2Fcalendar.rs" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/madadam/calendar.rs on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/madadam/calendar.rs [INFO] finished tweaking git repo https://github.com/madadam/calendar.rs [INFO] tweaked toml for git repo https://github.com/madadam/calendar.rs written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/madadam/calendar.rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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" "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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b81a14d8935ec775004ce2ddb4f0e1747eab4471301e26a9c45e0f83ed6124f3 [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" "b81a14d8935ec775004ce2ddb4f0e1747eab4471301e26a9c45e0f83ed6124f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b81a14d8935ec775004ce2ddb4f0e1747eab4471301e26a9c45e0f83ed6124f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b81a14d8935ec775004ce2ddb4f0e1747eab4471301e26a9c45e0f83ed6124f3", kill_on_drop: false }` [INFO] [stdout] b81a14d8935ec775004ce2ddb4f0e1747eab4471301e26a9c45e0f83ed6124f3 [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" "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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac4a9906a3ff3596fafa270faeadb1eb73659cd67e06e1850475ad771e1cf277 [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" "ac4a9906a3ff3596fafa270faeadb1eb73659cd67e06e1850475ad771e1cf277", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking docopt v0.6.86 [INFO] [stderr] Checking calendar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: private type `Chunk` in public interface (error E0446) [INFO] [stdout] --> src/advanced_iterator.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / fn chunk(self, size: usize) -> Chunk [INFO] [stdout] 12 | | where Self: Sized [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Interleave<::Item>` in public interface (error E0446) [INFO] [stdout] --> src/advanced_iterator.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / fn interleave(self) -> Interleave [INFO] [stdout] 20 | | where Self: Sized, Self::Item: Iterator [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Chunk::Item>>` in public interface (error E0446) [INFO] [stdout] --> src/advanced_iterator.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / fn transpose(self) -> Chunk> [INFO] [stdout] 31 | | where Self: Sized + ExactSizeIterator, Self::Item: Iterator [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Interleave<::Item>` in public interface (error E0446) [INFO] [stdout] --> src/advanced_iterator.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / fn transpose(self) -> Chunk> [INFO] [stdout] 31 | | where Self: Sized + ExactSizeIterator, Self::Item: Iterator [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `ChainAll` in public interface (error E0446) [INFO] [stdout] --> src/advanced_iterator.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / fn chain_all(self) -> ChainAll [INFO] [stdout] 40 | | where Self: Sized, Self::Item: Iterator [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `date::GroupBy fn(&'r chrono::Date) -> u32>` in public interface (error E0446) [INFO] [stdout] --> src/date.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn by_month(self) -> ByMonth { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `date::GroupBy fn(&'r chrono::Date) -> u32>` in public interface (error E0446) [INFO] [stdout] --> src/date.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn by_week(self) -> ByWeek { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `date::GroupBy fn(&'r chrono::Date) -> u32>` in public interface (error E0446) [INFO] [stdout] --> src/date.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub type ByMonth = GroupBy u32>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `date::GroupBy fn(&'r chrono::Date) -> u32>` in public interface (error E0446) [INFO] [stdout] --> src/date.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | pub type ByWeek = GroupBy u32>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `date::GroupBy fn(&'r chrono::Date) -> u32>` in public interface (error E0446) [INFO] [stdout] --> src/format.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pub type MonthLayout = [INFO] [stdout] 9 | | Chain< [INFO] [stdout] 10 | | Once, [INFO] [stdout] 11 | | Chain< [INFO] [stdout] 12 | | Map, [INFO] [stdout] 13 | | Take>>>; [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `date::GroupBy fn(&'r chrono::Date) -> u32>` in public interface (error E0446) [INFO] [stdout] --> src/format.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn layout_month(month: DateRange) -> MonthLayout { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `ChainAll fn(&'r chrono::Date) -> u32>, fn(DateRange) -> std::iter::Chain, std::iter::Chain fn(&'r chrono::Date) -> u32>, fn(DateRange) -> std::string::String>, std::iter::Take>>> {layout_month}>>, [closure@src/main.rs:40:24: 40:41]>>` is private [INFO] [stdout] --> src/main.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | let calendar = dates(args.arg_year) [INFO] [stdout] | ____________________^ [INFO] [stdout] 37 | | .by_month() [INFO] [stdout] 38 | | .map(layout_month) [INFO] [stdout] 39 | | .chunk(args.flag_months_per_line) [INFO] [stdout] ... | [INFO] [stdout] 42 | | .map(|c| c.collect::()) [INFO] [stdout] 43 | | .join("\n"); [INFO] [stdout] | |_____________________________^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `date::GroupBy fn(&'r chrono::Date) -> u32>` is private [INFO] [stdout] --> src/format.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / Chain< [INFO] [stdout] 10 | | Once, [INFO] [stdout] 11 | | Chain< [INFO] [stdout] 12 | | Map, [INFO] [stdout] 13 | | Take>>>; [INFO] [stdout] | |__________________________________^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `date::GroupBy fn(&'r chrono::Date) -> u32>` is private [INFO] [stdout] --> src/format.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn layout_month(month: DateRange) -> MonthLayout { [INFO] [stdout] | ^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `date::GroupBy fn(&'r chrono::Date) -> u32>` is private [INFO] [stdout] --> src/format.rs:15:54 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn layout_month(month: DateRange) -> MonthLayout { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 16 | | let week_count = month.by_week().count(); [INFO] [stdout] 17 | | let title = once(month_title(month.start)); [INFO] [stdout] 18 | | let padding_item = repeat(" ").take(22).collect::(); [INFO] [stdout] ... | [INFO] [stdout] 21 | | title.chain(month.by_week().map(format_week as FnFormatWeek).chain(padding)) [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `calendar` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: private type `Chunk` in public interface (error E0446) [INFO] [stdout] --> src/advanced_iterator.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / fn chunk(self, size: usize) -> Chunk [INFO] [stdout] 12 | | where Self: Sized [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Interleave<::Item>` in public interface (error E0446) [INFO] [stdout] --> src/advanced_iterator.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / fn interleave(self) -> Interleave [INFO] [stdout] 20 | | where Self: Sized, Self::Item: Iterator [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Chunk::Item>>` in public interface (error E0446) [INFO] [stdout] --> src/advanced_iterator.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / fn transpose(self) -> Chunk> [INFO] [stdout] 31 | | where Self: Sized + ExactSizeIterator, Self::Item: Iterator [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Interleave<::Item>` in public interface (error E0446) [INFO] [stdout] --> src/advanced_iterator.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / fn transpose(self) -> Chunk> [INFO] [stdout] 31 | | where Self: Sized + ExactSizeIterator, Self::Item: Iterator [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `ChainAll` in public interface (error E0446) [INFO] [stdout] --> src/advanced_iterator.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / fn chain_all(self) -> ChainAll [INFO] [stdout] 40 | | where Self: Sized, Self::Item: Iterator [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `date::GroupBy fn(&'r chrono::Date) -> u32>` in public interface (error E0446) [INFO] [stdout] --> src/date.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn by_month(self) -> ByMonth { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `date::GroupBy fn(&'r chrono::Date) -> u32>` in public interface (error E0446) [INFO] [stdout] --> src/date.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn by_week(self) -> ByWeek { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `date::GroupBy fn(&'r chrono::Date) -> u32>` in public interface (error E0446) [INFO] [stdout] --> src/date.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub type ByMonth = GroupBy u32>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `date::GroupBy fn(&'r chrono::Date) -> u32>` in public interface (error E0446) [INFO] [stdout] --> src/date.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | pub type ByWeek = GroupBy u32>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `date::GroupBy fn(&'r chrono::Date) -> u32>` in public interface (error E0446) [INFO] [stdout] --> src/format.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pub type MonthLayout = [INFO] [stdout] 9 | | Chain< [INFO] [stdout] 10 | | Once, [INFO] [stdout] 11 | | Chain< [INFO] [stdout] 12 | | Map, [INFO] [stdout] 13 | | Take>>>; [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `date::GroupBy fn(&'r chrono::Date) -> u32>` in public interface (error E0446) [INFO] [stdout] --> src/format.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn layout_month(month: DateRange) -> MonthLayout { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `ChainAll fn(&'r chrono::Date) -> u32>, fn(DateRange) -> std::iter::Chain, std::iter::Chain fn(&'r chrono::Date) -> u32>, fn(DateRange) -> std::string::String>, std::iter::Take>>> {layout_month}>>, [closure@src/main.rs:40:24: 40:41]>>` is private [INFO] [stdout] --> src/main.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | let calendar = dates(args.arg_year) [INFO] [stdout] | ____________________^ [INFO] [stdout] 37 | | .by_month() [INFO] [stdout] 38 | | .map(layout_month) [INFO] [stdout] 39 | | .chunk(args.flag_months_per_line) [INFO] [stdout] ... | [INFO] [stdout] 42 | | .map(|c| c.collect::()) [INFO] [stdout] 43 | | .join("\n"); [INFO] [stdout] | |_____________________________^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `date::GroupBy fn(&'r chrono::Date) -> u32>` is private [INFO] [stdout] --> src/format.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / Chain< [INFO] [stdout] 10 | | Once, [INFO] [stdout] 11 | | Chain< [INFO] [stdout] 12 | | Map, [INFO] [stdout] 13 | | Take>>>; [INFO] [stdout] | |__________________________________^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `date::GroupBy fn(&'r chrono::Date) -> u32>` is private [INFO] [stdout] --> src/format.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn layout_month(month: DateRange) -> MonthLayout { [INFO] [stdout] | ^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `date::GroupBy fn(&'r chrono::Date) -> u32>` is private [INFO] [stdout] --> src/format.rs:15:54 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn layout_month(month: DateRange) -> MonthLayout { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 16 | | let week_count = month.by_week().count(); [INFO] [stdout] 17 | | let title = once(month_title(month.start)); [INFO] [stdout] 18 | | let padding_item = repeat(" ").take(22).collect::(); [INFO] [stdout] ... | [INFO] [stdout] 21 | | title.chain(month.by_week().map(format_week as FnFormatWeek).chain(padding)) [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `date::GroupBy fn(&'r chrono::Date) -> u32>` is private [INFO] [stdout] --> src/format.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | let mut layout = layout_month(month); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `date::GroupBy fn(&'r chrono::Date) -> u32>` is private [INFO] [stdout] --> src/format.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | assert_eq!(layout.next().unwrap(), " January "); [INFO] [stdout] | ^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `date::GroupBy fn(&'r chrono::Date) -> u32>` is private [INFO] [stdout] --> src/format.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(layout.next().unwrap(), " 1 2 3 4 "); [INFO] [stdout] | ^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `date::GroupBy fn(&'r chrono::Date) -> u32>` is private [INFO] [stdout] --> src/format.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq!(layout.next().unwrap(), " 5 6 7 8 9 10 11 "); [INFO] [stdout] | ^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `date::GroupBy fn(&'r chrono::Date) -> u32>` is private [INFO] [stdout] --> src/format.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(layout.next().unwrap(), " 12 13 14 15 16 17 18 "); [INFO] [stdout] | ^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `date::GroupBy fn(&'r chrono::Date) -> u32>` is private [INFO] [stdout] --> src/format.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(layout.next().unwrap(), " 19 20 21 22 23 24 25 "); [INFO] [stdout] | ^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `date::GroupBy fn(&'r chrono::Date) -> u32>` is private [INFO] [stdout] --> src/format.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!(layout.next().unwrap(), " 26 27 28 29 30 31 "); [INFO] [stdout] | ^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `date::GroupBy fn(&'r chrono::Date) -> u32>` is private [INFO] [stdout] --> src/format.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | assert_eq!(layout.next().unwrap(), " "); [INFO] [stdout] | ^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `date::GroupBy fn(&'r chrono::Date) -> u32>` is private [INFO] [stdout] --> src/format.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | assert_eq!(layout.next(), None); [INFO] [stdout] | ^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `date::GroupBy fn(&'r chrono::Date) -> u32>` is private [INFO] [stdout] --> src/format.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | let mut layout = layout_month(month); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `date::GroupBy fn(&'r chrono::Date) -> u32>` is private [INFO] [stdout] --> src/format.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(layout.next().unwrap(), " February "); [INFO] [stdout] | ^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `date::GroupBy fn(&'r chrono::Date) -> u32>` is private [INFO] [stdout] --> src/format.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | assert_eq!(layout.next().unwrap(), " 1 2 3 4 5 6 7 "); [INFO] [stdout] | ^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `date::GroupBy fn(&'r chrono::Date) -> u32>` is private [INFO] [stdout] --> src/format.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | assert_eq!(layout.next().unwrap(), " 8 9 10 11 12 13 14 "); [INFO] [stdout] | ^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `date::GroupBy fn(&'r chrono::Date) -> u32>` is private [INFO] [stdout] --> src/format.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | assert_eq!(layout.next().unwrap(), " 15 16 17 18 19 20 21 "); [INFO] [stdout] | ^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `date::GroupBy fn(&'r chrono::Date) -> u32>` is private [INFO] [stdout] --> src/format.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(layout.next().unwrap(), " 22 23 24 25 26 27 28 "); [INFO] [stdout] | ^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `date::GroupBy fn(&'r chrono::Date) -> u32>` is private [INFO] [stdout] --> src/format.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | assert_eq!(layout.next().unwrap(), " "); [INFO] [stdout] | ^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `date::GroupBy fn(&'r chrono::Date) -> u32>` is private [INFO] [stdout] --> src/format.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | assert_eq!(layout.next().unwrap(), " "); [INFO] [stdout] | ^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `date::GroupBy fn(&'r chrono::Date) -> u32>` is private [INFO] [stdout] --> src/format.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | assert_eq!(layout.next(), None); [INFO] [stdout] | ^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ac4a9906a3ff3596fafa270faeadb1eb73659cd67e06e1850475ad771e1cf277", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac4a9906a3ff3596fafa270faeadb1eb73659cd67e06e1850475ad771e1cf277", kill_on_drop: false }` [INFO] [stdout] ac4a9906a3ff3596fafa270faeadb1eb73659cd67e06e1850475ad771e1cf277