[INFO] fetching crate ftd 0.2.0... [INFO] checking ftd-0.2.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate ftd 0.2.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate ftd 0.2.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate ftd 0.2.0 [INFO] finished tweaking crates.io crate ftd 0.2.0 [INFO] tweaked toml for crates.io crate ftd 0.2.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate crates.io crate ftd 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded indoc v1.0.6 [INFO] [stderr] Downloaded css-color-parser v0.1.2 [INFO] [stderr] Downloaded diffy v0.2.2 [INFO] [stderr] Downloaded comrak v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d8833ced0538c7e0587f6982d1eeeaf370326e0a64a99d15fc9703397fb4fac [INFO] running `Command { std: "docker" "start" "-a" "0d8833ced0538c7e0587f6982d1eeeaf370326e0a64a99d15fc9703397fb4fac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d8833ced0538c7e0587f6982d1eeeaf370326e0a64a99d15fc9703397fb4fac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d8833ced0538c7e0587f6982d1eeeaf370326e0a64a99d15fc9703397fb4fac", kill_on_drop: false }` [INFO] [stdout] 0d8833ced0538c7e0587f6982d1eeeaf370326e0a64a99d15fc9703397fb4fac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 684b684ecf54d1021198f76aecf7985df1afb298713b37ec3aed531c53a87600 [INFO] running `Command { std: "docker" "start" "-a" "684b684ecf54d1021198f76aecf7985df1afb298713b37ec3aed531c53a87600", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking time v0.3.9 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking xdg v2.4.1 [INFO] [stderr] Compiling include_dir_macros v0.7.2 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking entities v1.0.1 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking include_dir v0.7.2 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking css-color-parser v0.1.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling indoc v1.0.6 [INFO] [stderr] Checking fancy-regex v0.7.1 [INFO] [stderr] Checking format_num v0.1.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking pretty_assertions v1.2.1 [INFO] [stderr] Checking diffy v0.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking comrak v0.14.0 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking plist v1.3.1 [INFO] [stderr] Checking syntect v5.0.0 [INFO] [stderr] Checking ftd v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: found module declaration for main.rs [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub mod main; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a binary crate cannot be used as library [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/dnode.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::format_push_string))] [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] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:258:29 [INFO] [stdout] | [INFO] [stdout] 258 | Self::Row(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 258 - Self::Row(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] 258 + Self::Row(i) => i.to_node(doc_id, collector), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:259:31 [INFO] [stdout] | [INFO] [stdout] 259 | Self::Scene(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 259 - Self::Scene(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] 259 + Self::Scene(i) => i.to_node(doc_id, collector), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:260:30 [INFO] [stdout] | [INFO] [stdout] 260 | Self::Grid(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 260 - Self::Grid(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] 260 + Self::Grid(i) => i.to_node(doc_id, collector), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:261:32 [INFO] [stdout] | [INFO] [stdout] 261 | Self::Markup(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 261 - Self::Markup(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] 261 + Self::Markup(i) => i.to_node(doc_id, collector), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:262:35 [INFO] [stdout] | [INFO] [stdout] 262 | Self::TextBlock(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 262 - Self::TextBlock(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] 262 + Self::TextBlock(i) => i.to_node(doc_id, collector), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:263:30 [INFO] [stdout] | [INFO] [stdout] 263 | Self::Code(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 263 - Self::Code(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] 263 + Self::Code(i) => i.to_node(doc_id, collector), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:264:31 [INFO] [stdout] | [INFO] [stdout] 264 | Self::Image(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 264 - Self::Image(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] 264 + Self::Image(i) => i.to_node(doc_id, collector), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:265:32 [INFO] [stdout] | [INFO] [stdout] 265 | Self::Column(i) => (i.to_node(doc_id, true, collector)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 265 - Self::Column(i) => (i.to_node(doc_id, true, collector)), [INFO] [stdout] 265 + Self::Column(i) => i.to_node(doc_id, true, collector), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:266:32 [INFO] [stdout] | [INFO] [stdout] 266 | Self::IFrame(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 266 - Self::IFrame(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] 266 + Self::IFrame(i) => i.to_node(doc_id, collector), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:267:31 [INFO] [stdout] | [INFO] [stdout] 267 | Self::Input(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 267 - Self::Input(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] 267 + Self::Input(i) => i.to_node(doc_id, collector), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:268:33 [INFO] [stdout] | [INFO] [stdout] 268 | Self::Integer(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 268 - Self::Integer(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] 268 + Self::Integer(i) => i.to_node(doc_id, collector), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | Self::Boolean(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 269 - Self::Boolean(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] 269 + Self::Boolean(i) => i.to_node(doc_id, collector), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:270:33 [INFO] [stdout] | [INFO] [stdout] 270 | Self::Decimal(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 270 - Self::Decimal(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] 270 + Self::Decimal(i) => i.to_node(doc_id, collector), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `realm` [INFO] [stdout] --> src/html.rs:1580:21 [INFO] [stdout] | [INFO] [stdout] 1580 | if cfg!(feature = "realm") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `realm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:1707:32 [INFO] [stdout] | [INFO] [stdout] 1707 | ftd::Anchor::Parent => ("absolute".to_string()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1707 - ftd::Anchor::Parent => ("absolute".to_string()), [INFO] [stdout] 1707 + ftd::Anchor::Parent => "absolute".to_string(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:1708:32 [INFO] [stdout] | [INFO] [stdout] 1708 | ftd::Anchor::Window => ("fixed".to_string()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1708 - ftd::Anchor::Window => ("fixed".to_string()), [INFO] [stdout] 1708 + ftd::Anchor::Window => "fixed".to_string(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Header`, and `SubSections` [INFO] [stdout] --> src/p1/parser.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | pub use ftd::p1::{Error, Header, Result, Section, SubSection, SubSections}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `calls` [INFO] [stdout] --> src/p2/document.rs:752:11 [INFO] [stdout] | [INFO] [stdout] 752 | #[cfg(calls)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(calls)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(calls)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/p2/tdoc.rs:616:16 [INFO] [stdout] | [INFO] [stdout] 616 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::wrong_self_convention))] [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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/p2/tdoc.rs:796:16 [INFO] [stdout] | [INFO] [stdout] 796 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::wrong_self_convention))] [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] warning: found module declaration for main.rs [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub mod main; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a binary crate cannot be used as library [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `calls` [INFO] [stdout] --> src/test.rs:18951:11 [INFO] [stdout] | [INFO] [stdout] 18951 | #[cfg(calls)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(calls)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(calls)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/dnode.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::format_push_string))] [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] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:258:29 [INFO] [stdout] | [INFO] [stdout] 258 | Self::Row(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 258 - Self::Row(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] 258 + Self::Row(i) => i.to_node(doc_id, collector), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:259:31 [INFO] [stdout] | [INFO] [stdout] 259 | Self::Scene(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 259 - Self::Scene(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] 259 + Self::Scene(i) => i.to_node(doc_id, collector), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:260:30 [INFO] [stdout] | [INFO] [stdout] 260 | Self::Grid(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 260 - Self::Grid(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] 260 + Self::Grid(i) => i.to_node(doc_id, collector), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:261:32 [INFO] [stdout] | [INFO] [stdout] 261 | Self::Markup(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 261 - Self::Markup(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] 261 + Self::Markup(i) => i.to_node(doc_id, collector), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:262:35 [INFO] [stdout] | [INFO] [stdout] 262 | Self::TextBlock(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 262 - Self::TextBlock(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] 262 + Self::TextBlock(i) => i.to_node(doc_id, collector), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:263:30 [INFO] [stdout] | [INFO] [stdout] 263 | Self::Code(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 263 - Self::Code(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] 263 + Self::Code(i) => i.to_node(doc_id, collector), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:264:31 [INFO] [stdout] | [INFO] [stdout] 264 | Self::Image(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 264 - Self::Image(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] 264 + Self::Image(i) => i.to_node(doc_id, collector), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:265:32 [INFO] [stdout] | [INFO] [stdout] 265 | Self::Column(i) => (i.to_node(doc_id, true, collector)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 265 - Self::Column(i) => (i.to_node(doc_id, true, collector)), [INFO] [stdout] 265 + Self::Column(i) => i.to_node(doc_id, true, collector), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:266:32 [INFO] [stdout] | [INFO] [stdout] 266 | Self::IFrame(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 266 - Self::IFrame(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] 266 + Self::IFrame(i) => i.to_node(doc_id, collector), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:267:31 [INFO] [stdout] | [INFO] [stdout] 267 | Self::Input(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 267 - Self::Input(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] 267 + Self::Input(i) => i.to_node(doc_id, collector), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:268:33 [INFO] [stdout] | [INFO] [stdout] 268 | Self::Integer(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 268 - Self::Integer(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] 268 + Self::Integer(i) => i.to_node(doc_id, collector), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | Self::Boolean(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 269 - Self::Boolean(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] 269 + Self::Boolean(i) => i.to_node(doc_id, collector), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:270:33 [INFO] [stdout] | [INFO] [stdout] 270 | Self::Decimal(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 270 - Self::Decimal(i) => (i.to_node(doc_id, collector)), [INFO] [stdout] 270 + Self::Decimal(i) => i.to_node(doc_id, collector), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `realm` [INFO] [stdout] --> src/html.rs:1580:21 [INFO] [stdout] | [INFO] [stdout] 1580 | if cfg!(feature = "realm") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `realm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:1707:32 [INFO] [stdout] | [INFO] [stdout] 1707 | ftd::Anchor::Parent => ("absolute".to_string()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1707 - ftd::Anchor::Parent => ("absolute".to_string()), [INFO] [stdout] 1707 + ftd::Anchor::Parent => "absolute".to_string(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:1708:32 [INFO] [stdout] | [INFO] [stdout] 1708 | ftd::Anchor::Window => ("fixed".to_string()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1708 - ftd::Anchor::Window => ("fixed".to_string()), [INFO] [stdout] 1708 + ftd::Anchor::Window => "fixed".to_string(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Header`, and `SubSections` [INFO] [stdout] --> src/p1/parser.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | pub use ftd::p1::{Error, Header, Result, Section, SubSection, SubSections}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `calls` [INFO] [stdout] --> src/p2/document.rs:752:11 [INFO] [stdout] | [INFO] [stdout] 752 | #[cfg(calls)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(calls)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(calls)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/p2/tdoc.rs:616:16 [INFO] [stdout] | [INFO] [stdout] 616 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::wrong_self_convention))] [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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/p2/tdoc.rs:796:16 [INFO] [stdout] | [INFO] [stdout] 796 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::wrong_self_convention))] [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/component.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | for mut child in children { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ui.rs:1865:17 [INFO] [stdout] | [INFO] [stdout] 1865 | Err(_) => ftd::p2::utils::e2(format!("{} is not a valid integer", v), doc_id, 0), // TODO [INFO] [stdout] | ^^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/component.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | for mut child in children { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ui.rs:1865:17 [INFO] [stdout] | [INFO] [stdout] 1865 | Err(_) => ftd::p2::utils::e2(format!("{} is not a valid integer", v), doc_id, 0), // TODO [INFO] [stdout] | ^^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.56s [INFO] running `Command { std: "docker" "inspect" "684b684ecf54d1021198f76aecf7985df1afb298713b37ec3aed531c53a87600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "684b684ecf54d1021198f76aecf7985df1afb298713b37ec3aed531c53a87600", kill_on_drop: false }` [INFO] [stdout] 684b684ecf54d1021198f76aecf7985df1afb298713b37ec3aed531c53a87600