[INFO] fetching crate ftd-rt 0.1.5... [INFO] testing ftd-rt-0.1.5 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate ftd-rt 0.1.5 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate ftd-rt 0.1.5 [INFO] finished tweaking crates.io crate ftd-rt 0.1.5 [INFO] tweaked toml for crates.io crate ftd-rt 0.1.5 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ftd-rt 0.1.5 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 25 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01e3ddc2b37c276ee5bc313d142c4a9343d4faa50d9b96ab2f6233b7b8434b94 [INFO] running `Command { std: "docker" "start" "-a" "01e3ddc2b37c276ee5bc313d142c4a9343d4faa50d9b96ab2f6233b7b8434b94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01e3ddc2b37c276ee5bc313d142c4a9343d4faa50d9b96ab2f6233b7b8434b94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01e3ddc2b37c276ee5bc313d142c4a9343d4faa50d9b96ab2f6233b7b8434b94", kill_on_drop: false }` [INFO] [stdout] 01e3ddc2b37c276ee5bc313d142c4a9343d4faa50d9b96ab2f6233b7b8434b94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b149229c85fa08a4e5cbc5b6757ebe4d35aa20e13cdea426943efd8567611029 [INFO] running `Command { std: "docker" "start" "-a" "b149229c85fa08a4e5cbc5b6757ebe4d35aa20e13cdea426943efd8567611029", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling ftd-rt v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 261 | Self::Row(i) => (i.to_node(doc_id)), [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] 261 - Self::Row(i) => (i.to_node(doc_id)), [INFO] [stdout] 261 + Self::Row(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:262:31 [INFO] [stdout] | [INFO] [stdout] 262 | Self::Scene(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 262 - Self::Scene(i) => (i.to_node(doc_id)), [INFO] [stdout] 262 + Self::Scene(i) => i.to_node(doc_id), [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::Text(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 263 - Self::Text(i) => (i.to_node(doc_id)), [INFO] [stdout] 263 + Self::Text(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:264:35 [INFO] [stdout] | [INFO] [stdout] 264 | Self::TextBlock(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 264 - Self::TextBlock(i) => (i.to_node(doc_id)), [INFO] [stdout] 264 + Self::TextBlock(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:265:30 [INFO] [stdout] | [INFO] [stdout] 265 | Self::Code(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 265 - Self::Code(i) => (i.to_node(doc_id)), [INFO] [stdout] 265 + Self::Code(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:266:31 [INFO] [stdout] | [INFO] [stdout] 266 | Self::Image(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 266 - Self::Image(i) => (i.to_node(doc_id)), [INFO] [stdout] 266 + Self::Image(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:267:32 [INFO] [stdout] | [INFO] [stdout] 267 | Self::Column(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 267 - Self::Column(i) => (i.to_node(doc_id)), [INFO] [stdout] 267 + Self::Column(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:268:32 [INFO] [stdout] | [INFO] [stdout] 268 | Self::IFrame(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 268 - Self::IFrame(i) => (i.to_node(doc_id)), [INFO] [stdout] 268 + Self::IFrame(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:269:31 [INFO] [stdout] | [INFO] [stdout] 269 | Self::Input(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 269 - Self::Input(i) => (i.to_node(doc_id)), [INFO] [stdout] 269 + Self::Input(i) => i.to_node(doc_id), [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::Integer(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 270 - Self::Integer(i) => (i.to_node(doc_id)), [INFO] [stdout] 270 + Self::Integer(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:271:33 [INFO] [stdout] | [INFO] [stdout] 271 | Self::Boolean(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 271 - Self::Boolean(i) => (i.to_node(doc_id)), [INFO] [stdout] 271 + Self::Boolean(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:272:33 [INFO] [stdout] | [INFO] [stdout] 272 | Self::Decimal(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 272 - Self::Decimal(i) => (i.to_node(doc_id)), [INFO] [stdout] 272 + Self::Decimal(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:1158:35 [INFO] [stdout] | [INFO] [stdout] 1158 | ftd_rt::Anchor::Parent => ("absolute".to_string()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1158 - ftd_rt::Anchor::Parent => ("absolute".to_string()), [INFO] [stdout] 1158 + ftd_rt::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:1159:35 [INFO] [stdout] | [INFO] [stdout] 1159 | ftd_rt::Anchor::Window => ("fixed".to_string()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1159 - ftd_rt::Anchor::Window => ("fixed".to_string()), [INFO] [stdout] 1159 + ftd_rt::Anchor::Window => "fixed".to_string(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/ui.rs:1315:36 [INFO] [stdout] | [INFO] [stdout] 1315 | .unwrap_or_else(|| (self.children.is_empty() && is_container_children_empty)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1315 - .unwrap_or_else(|| (self.children.is_empty() && is_container_children_empty)), [INFO] [stdout] 1315 + .unwrap_or_else(|| self.children.is_empty() && is_container_children_empty), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/ui.rs:363:67 [INFO] [stdout] | [INFO] [stdout] 363 | ... parameters: std::array::IntoIter::new([( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.50s [INFO] running `Command { std: "docker" "inspect" "b149229c85fa08a4e5cbc5b6757ebe4d35aa20e13cdea426943efd8567611029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b149229c85fa08a4e5cbc5b6757ebe4d35aa20e13cdea426943efd8567611029", kill_on_drop: false }` [INFO] [stdout] b149229c85fa08a4e5cbc5b6757ebe4d35aa20e13cdea426943efd8567611029 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fdd4c6806d186eed990f5dee74442f11da8767af63b92a0b2e41970c59ffe4c [INFO] running `Command { std: "docker" "start" "-a" "2fdd4c6806d186eed990f5dee74442f11da8767af63b92a0b2e41970c59ffe4c", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 261 | Self::Row(i) => (i.to_node(doc_id)), [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] 261 - Self::Row(i) => (i.to_node(doc_id)), [INFO] [stdout] 261 + Self::Row(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:262:31 [INFO] [stdout] | [INFO] [stdout] 262 | Self::Scene(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 262 - Self::Scene(i) => (i.to_node(doc_id)), [INFO] [stdout] 262 + Self::Scene(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ftd-rt v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:263:30 [INFO] [stdout] | [INFO] [stdout] 263 | Self::Text(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 263 - Self::Text(i) => (i.to_node(doc_id)), [INFO] [stdout] 263 + Self::Text(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:264:35 [INFO] [stdout] | [INFO] [stdout] 264 | Self::TextBlock(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 264 - Self::TextBlock(i) => (i.to_node(doc_id)), [INFO] [stdout] 264 + Self::TextBlock(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:265:30 [INFO] [stdout] | [INFO] [stdout] 265 | Self::Code(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 265 - Self::Code(i) => (i.to_node(doc_id)), [INFO] [stdout] 265 + Self::Code(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:266:31 [INFO] [stdout] | [INFO] [stdout] 266 | Self::Image(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 266 - Self::Image(i) => (i.to_node(doc_id)), [INFO] [stdout] 266 + Self::Image(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:267:32 [INFO] [stdout] | [INFO] [stdout] 267 | Self::Column(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 267 - Self::Column(i) => (i.to_node(doc_id)), [INFO] [stdout] 267 + Self::Column(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:268:32 [INFO] [stdout] | [INFO] [stdout] 268 | Self::IFrame(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 268 - Self::IFrame(i) => (i.to_node(doc_id)), [INFO] [stdout] 268 + Self::IFrame(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:269:31 [INFO] [stdout] | [INFO] [stdout] 269 | Self::Input(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 269 - Self::Input(i) => (i.to_node(doc_id)), [INFO] [stdout] 269 + Self::Input(i) => i.to_node(doc_id), [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::Integer(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 270 - Self::Integer(i) => (i.to_node(doc_id)), [INFO] [stdout] 270 + Self::Integer(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:271:33 [INFO] [stdout] | [INFO] [stdout] 271 | Self::Boolean(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 271 - Self::Boolean(i) => (i.to_node(doc_id)), [INFO] [stdout] 271 + Self::Boolean(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:272:33 [INFO] [stdout] | [INFO] [stdout] 272 | Self::Decimal(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 272 - Self::Decimal(i) => (i.to_node(doc_id)), [INFO] [stdout] 272 + Self::Decimal(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:1158:35 [INFO] [stdout] | [INFO] [stdout] 1158 | ftd_rt::Anchor::Parent => ("absolute".to_string()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1158 - ftd_rt::Anchor::Parent => ("absolute".to_string()), [INFO] [stdout] 1158 + ftd_rt::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:1159:35 [INFO] [stdout] | [INFO] [stdout] 1159 | ftd_rt::Anchor::Window => ("fixed".to_string()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1159 - ftd_rt::Anchor::Window => ("fixed".to_string()), [INFO] [stdout] 1159 + ftd_rt::Anchor::Window => "fixed".to_string(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/ui.rs:1315:36 [INFO] [stdout] | [INFO] [stdout] 1315 | .unwrap_or_else(|| (self.children.is_empty() && is_container_children_empty)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1315 - .unwrap_or_else(|| (self.children.is_empty() && is_container_children_empty)), [INFO] [stdout] 1315 + .unwrap_or_else(|| self.children.is_empty() && is_container_children_empty), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/ui.rs:363:67 [INFO] [stdout] | [INFO] [stdout] 363 | ... parameters: std::array::IntoIter::new([( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 261 | Self::Row(i) => (i.to_node(doc_id)), [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] 261 - Self::Row(i) => (i.to_node(doc_id)), [INFO] [stdout] 261 + Self::Row(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:262:31 [INFO] [stdout] | [INFO] [stdout] 262 | Self::Scene(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 262 - Self::Scene(i) => (i.to_node(doc_id)), [INFO] [stdout] 262 + Self::Scene(i) => i.to_node(doc_id), [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::Text(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 263 - Self::Text(i) => (i.to_node(doc_id)), [INFO] [stdout] 263 + Self::Text(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:264:35 [INFO] [stdout] | [INFO] [stdout] 264 | Self::TextBlock(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 264 - Self::TextBlock(i) => (i.to_node(doc_id)), [INFO] [stdout] 264 + Self::TextBlock(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:265:30 [INFO] [stdout] | [INFO] [stdout] 265 | Self::Code(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 265 - Self::Code(i) => (i.to_node(doc_id)), [INFO] [stdout] 265 + Self::Code(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:266:31 [INFO] [stdout] | [INFO] [stdout] 266 | Self::Image(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 266 - Self::Image(i) => (i.to_node(doc_id)), [INFO] [stdout] 266 + Self::Image(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:267:32 [INFO] [stdout] | [INFO] [stdout] 267 | Self::Column(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 267 - Self::Column(i) => (i.to_node(doc_id)), [INFO] [stdout] 267 + Self::Column(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:268:32 [INFO] [stdout] | [INFO] [stdout] 268 | Self::IFrame(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 268 - Self::IFrame(i) => (i.to_node(doc_id)), [INFO] [stdout] 268 + Self::IFrame(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:269:31 [INFO] [stdout] | [INFO] [stdout] 269 | Self::Input(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 269 - Self::Input(i) => (i.to_node(doc_id)), [INFO] [stdout] 269 + Self::Input(i) => i.to_node(doc_id), [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::Integer(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 270 - Self::Integer(i) => (i.to_node(doc_id)), [INFO] [stdout] 270 + Self::Integer(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:271:33 [INFO] [stdout] | [INFO] [stdout] 271 | Self::Boolean(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 271 - Self::Boolean(i) => (i.to_node(doc_id)), [INFO] [stdout] 271 + Self::Boolean(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:272:33 [INFO] [stdout] | [INFO] [stdout] 272 | Self::Decimal(i) => (i.to_node(doc_id)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 272 - Self::Decimal(i) => (i.to_node(doc_id)), [INFO] [stdout] 272 + Self::Decimal(i) => i.to_node(doc_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/html.rs:1158:35 [INFO] [stdout] | [INFO] [stdout] 1158 | ftd_rt::Anchor::Parent => ("absolute".to_string()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1158 - ftd_rt::Anchor::Parent => ("absolute".to_string()), [INFO] [stdout] 1158 + ftd_rt::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:1159:35 [INFO] [stdout] | [INFO] [stdout] 1159 | ftd_rt::Anchor::Window => ("fixed".to_string()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1159 - ftd_rt::Anchor::Window => ("fixed".to_string()), [INFO] [stdout] 1159 + ftd_rt::Anchor::Window => "fixed".to_string(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/ui.rs:1315:36 [INFO] [stdout] | [INFO] [stdout] 1315 | .unwrap_or_else(|| (self.children.is_empty() && is_container_children_empty)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1315 - .unwrap_or_else(|| (self.children.is_empty() && is_container_children_empty)), [INFO] [stdout] 1315 + .unwrap_or_else(|| self.children.is_empty() && is_container_children_empty), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/ui.rs:363:67 [INFO] [stdout] | [INFO] [stdout] 363 | ... parameters: std::array::IntoIter::new([( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:143:20 [INFO] [stdout] | [INFO] [stdout] 143 | assert_eq!(super::get_name("fn", "fn foo").unwrap(), "foo") [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------- argument #3 of type `&str` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get_name<'a, 'b>(prefix: &'a str, s: &'b str, doc_id: &str) -> ftd_rt::Result<&'b str> { [INFO] [stdout] | ^^^^^^^^ ------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 143 | assert_eq!(super::get_name("fn", "fn foo", /* &str */).unwrap(), "foo") [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ftd-rt` (lib test) due to 1 previous error; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2fdd4c6806d186eed990f5dee74442f11da8767af63b92a0b2e41970c59ffe4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fdd4c6806d186eed990f5dee74442f11da8767af63b92a0b2e41970c59ffe4c", kill_on_drop: false }` [INFO] [stdout] 2fdd4c6806d186eed990f5dee74442f11da8767af63b92a0b2e41970c59ffe4c