[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] testing madadam/calendar.rs against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmadadam%2Fcalendar.rs" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/madadam/calendar.rs on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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-2/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fe1ff44b9ff7fa10bad5071e71f77eb56bffee84251d783af79a5d4325246ff [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" "4fe1ff44b9ff7fa10bad5071e71f77eb56bffee84251d783af79a5d4325246ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fe1ff44b9ff7fa10bad5071e71f77eb56bffee84251d783af79a5d4325246ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fe1ff44b9ff7fa10bad5071e71f77eb56bffee84251d783af79a5d4325246ff", kill_on_drop: false }` [INFO] [stdout] 4fe1ff44b9ff7fa10bad5071e71f77eb56bffee84251d783af79a5d4325246ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 315ed31ac64d11c3581810969e103823545e2aef5589cf809d6cc17971d599ba [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" "315ed31ac64d11c3581810969e103823545e2aef5589cf809d6cc17971d599ba", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling strsim v0.5.2 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [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] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling docopt v0.6.86 [INFO] [stderr] Compiling 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 `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 `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 `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 `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 `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 `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 `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 `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 `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] running `Command { std: "docker" "inspect" "315ed31ac64d11c3581810969e103823545e2aef5589cf809d6cc17971d599ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "315ed31ac64d11c3581810969e103823545e2aef5589cf809d6cc17971d599ba", kill_on_drop: false }` [INFO] [stdout] 315ed31ac64d11c3581810969e103823545e2aef5589cf809d6cc17971d599ba