[INFO] fetching crate ftd 0.2.0... [INFO] checking ftd-0.2.0 against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] extracting crate ftd 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] removed /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ftd 0.2.0 on toolchain 943e2200e35c3825486c4671b6cab0107a07f8c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dca4674cb8b957db6b748a7a6a8448f524a637209a957ed1f5a4d48d8da4f083 [INFO] running `Command { std: "docker" "start" "-a" "dca4674cb8b957db6b748a7a6a8448f524a637209a957ed1f5a4d48d8da4f083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dca4674cb8b957db6b748a7a6a8448f524a637209a957ed1f5a4d48d8da4f083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dca4674cb8b957db6b748a7a6a8448f524a637209a957ed1f5a4d48d8da4f083", kill_on_drop: false }` [INFO] [stdout] dca4674cb8b957db6b748a7a6a8448f524a637209a957ed1f5a4d48d8da4f083 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d06ad5158a87d1296cddb56ed8d8444159dc8b01cb8b23b45e6e60611a844f6 [INFO] running `Command { std: "docker" "start" "-a" "4d06ad5158a87d1296cddb56ed8d8444159dc8b01cb8b23b45e6e60611a844f6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.95 [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 maplit v1.0.2 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking time v0.3.9 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking xdg v2.4.1 [INFO] [stderr] Compiling include_dir_macros v0.7.2 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Checking entities v1.0.1 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking css-color-parser v0.1.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking include_dir v0.7.2 [INFO] [stderr] Compiling indoc v1.0.6 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking diffy v0.2.2 [INFO] [stderr] Checking pretty_assertions v1.2.1 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking fancy-regex v0.7.1 [INFO] [stderr] Checking format_num v0.1.0 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking comrak v0.14.0 [INFO] [stderr] Checking plist v1.3.1 [INFO] [stderr] Checking bincode v1.3.3 [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: 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: `docsrs`, `feature`, and `test` and 31 more [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: unnecessary parentheses around closure body [INFO] [stdout] --> src/p2/document.rs:137:30 [INFO] [stdout] | [INFO] [stdout] 137 | .filter(|(k, v)| (!v.dependencies.is_empty() || always_include.contains(k))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 137 - .filter(|(k, v)| (!v.dependencies.is_empty() || always_include.contains(k))) [INFO] [stdout] 137 + .filter(|(k, v)| !v.dependencies.is_empty() || always_include.contains(k) ) [INFO] [stdout] | [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 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: 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: 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: `docsrs`, `feature`, and `test` and 31 more [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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: unnecessary parentheses around closure body [INFO] [stdout] --> src/p2/document.rs:137:30 [INFO] [stdout] | [INFO] [stdout] 137 | .filter(|(k, v)| (!v.dependencies.is_empty() || always_include.contains(k))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 137 - .filter(|(k, v)| (!v.dependencies.is_empty() || always_include.contains(k))) [INFO] [stdout] 137 + .filter(|(k, v)| !v.dependencies.is_empty() || always_include.contains(k) ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/code.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | static SYNTAX_DIR: include_dir::Dir<'_> = include_dir::include_dir!("syntax"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | using this value as a static requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_dir::include_dir` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/code.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | static SYNTAX_DIR: include_dir::Dir<'_> = include_dir::include_dir!("syntax"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | using this value as a static requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_dir::include_dir` (in Nightly builds, run with -Z macro-backtrace for more info) [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ftd` (lib) due to 1 previous error; 24 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ftd` (lib test) due to 1 previous error; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4d06ad5158a87d1296cddb56ed8d8444159dc8b01cb8b23b45e6e60611a844f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d06ad5158a87d1296cddb56ed8d8444159dc8b01cb8b23b45e6e60611a844f6", kill_on_drop: false }` [INFO] [stdout] 4d06ad5158a87d1296cddb56ed8d8444159dc8b01cb8b23b45e6e60611a844f6