[INFO] cloning repository https://github.com/chriskrycho/lightning-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chriskrycho/lightning-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchriskrycho%2Flightning-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchriskrycho%2Flightning-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 424aa135b79cc744cec30911a086e8bb22e697bb [INFO] checking chriskrycho/lightning-rs against try#bb9dbf1d07454a99066eabaabd5819851281494b for pr-80920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchriskrycho%2Flightning-rs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chriskrycho/lightning-rs on toolchain bb9dbf1d07454a99066eabaabd5819851281494b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+bb9dbf1d07454a99066eabaabd5819851281494b" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chriskrycho/lightning-rs [INFO] finished tweaking git repo https://github.com/chriskrycho/lightning-rs [INFO] tweaked toml for git repo https://github.com/chriskrycho/lightning-rs written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/chriskrycho/lightning-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+bb9dbf1d07454a99066eabaabd5819851281494b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded onig v6.1.1 [INFO] [stderr] Downloaded onig_sys v69.6.0 [INFO] [stderr] Downloaded json5 v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+bb9dbf1d07454a99066eabaabd5819851281494b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9d8ba5febe1b2f922da7cdd3b95c4c331925f28a68ee5569b1b77386dfa4c06 [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" "b9d8ba5febe1b2f922da7cdd3b95c4c331925f28a68ee5569b1b77386dfa4c06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9d8ba5febe1b2f922da7cdd3b95c4c331925f28a68ee5569b1b77386dfa4c06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9d8ba5febe1b2f922da7cdd3b95c4c331925f28a68ee5569b1b77386dfa4c06", kill_on_drop: false }` [INFO] [stdout] b9d8ba5febe1b2f922da7cdd3b95c4c331925f28a68ee5569b1b77386dfa4c06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+bb9dbf1d07454a99066eabaabd5819851281494b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4fd80d1020bd22b8e66deb8cf0ba7f1667e57f75775e479ca2545855af2e943 [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" "a4fd80d1020bd22b8e66deb8cf0ba7f1667e57f75775e479ca2545855af2e943", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling onig_sys v69.6.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking serde_yaml v0.8.14 [INFO] [stderr] Checking onig v6.1.1 [INFO] [stderr] Checking plist v1.0.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking json5 v0.3.0 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking syntect v4.5.0 [INFO] [stderr] Checking lightning v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/config.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | /// An incredibly stupid email-"parsing" regex. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryFrom` [INFO] [stdout] --> src/build.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{convert::TryFrom, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unimplemented` [INFO] [stdout] --> src/page/mod.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{convert::TryFrom, path::PathBuf, unimplemented}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `format::ParseError` [INFO] [stdout] --> src/page/mod.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{format::ParseError, FixedOffset}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NaiveDateTime`, `NaiveDate`, `NaiveTime` [INFO] [stdout] --> src/page/mod.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::{DateTime, NaiveDate, NaiveDateTime, NaiveTime}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/config.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | /// An incredibly stupid email-"parsing" regex. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryFrom` [INFO] [stdout] --> src/build.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{convert::TryFrom, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unimplemented` [INFO] [stdout] --> src/page/mod.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{convert::TryFrom, path::PathBuf, unimplemented}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `format::ParseError` [INFO] [stdout] --> src/page/mod.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{format::ParseError, FixedOffset}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NaiveDateTime`, `NaiveDate`, `NaiveTime` [INFO] [stdout] --> src/page/mod.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::{DateTime, NaiveDate, NaiveDateTime, NaiveTime}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/page/mod.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | let Components { header, body } = Components::try_from(source.contents.as_ref())?; [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resolved_metadata` [INFO] [stdout] --> src/page/mod.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let resolved_metadata = ResolvedMetadata::new(&source.path, header, config)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resolved_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/page/mod.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | let Components { header, body } = Components::try_from(source.contents.as_ref())?; [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resolved_metadata` [INFO] [stdout] --> src/page/mod.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let resolved_metadata = ResolvedMetadata::new(&source.path, header, config)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resolved_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0446]: private type `Title` in public interface [INFO] [stdout] --> src/config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub title: Title, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't leak private type [INFO] [stdout] ... [INFO] [stdout] 14 | struct Title { [INFO] [stdout] | ------------ `Title` declared as private [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0446]: private type `Author` in public interface [INFO] [stdout] --> src/config.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub author: Author, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't leak private type [INFO] [stdout] ... [INFO] [stdout] 20 | struct Author { [INFO] [stdout] | ------------- `Author` declared as private [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0446]: private type `Title` in public interface [INFO] [stdout] --> src/config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub title: Title, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't leak private type [INFO] [stdout] ... [INFO] [stdout] 14 | struct Title { [INFO] [stdout] | ------------ `Title` declared as private [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0446]: private type `Author` in public interface [INFO] [stdout] --> src/config.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub author: Author, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't leak private type [INFO] [stdout] ... [INFO] [stdout] 20 | struct Author { [INFO] [stdout] | ------------- `Author` declared as private [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0446`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0446`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lightning` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a4fd80d1020bd22b8e66deb8cf0ba7f1667e57f75775e479ca2545855af2e943", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4fd80d1020bd22b8e66deb8cf0ba7f1667e57f75775e479ca2545855af2e943", kill_on_drop: false }` [INFO] [stdout] a4fd80d1020bd22b8e66deb8cf0ba7f1667e57f75775e479ca2545855af2e943