[INFO] cloning repository https://github.com/fp-space/fp-space.github.io [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fp-space/fp-space.github.io" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffp-space%2Ffp-space.github.io", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffp-space%2Ffp-space.github.io'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1837a64aedc24c3399253847d80a7e411c77c8b4 [INFO] checking fp-space/fp-space.github.io against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffp-space%2Ffp-space.github.io" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fp-space/fp-space.github.io [INFO] finished tweaking git repo https://github.com/fp-space/fp-space.github.io [INFO] tweaked toml for git repo https://github.com/fp-space/fp-space.github.io written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fp-space/fp-space.github.io on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fp-space/fp-space.github.io 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3784aa4a6725fb7befc2f6548d0fc6bf0bd3f71a2fd69b80405331892055b625 [INFO] running `Command { std: "docker" "start" "-a" "3784aa4a6725fb7befc2f6548d0fc6bf0bd3f71a2fd69b80405331892055b625", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3784aa4a6725fb7befc2f6548d0fc6bf0bd3f71a2fd69b80405331892055b625", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3784aa4a6725fb7befc2f6548d0fc6bf0bd3f71a2fd69b80405331892055b625", kill_on_drop: false }` [INFO] [stdout] 3784aa4a6725fb7befc2f6548d0fc6bf0bd3f71a2fd69b80405331892055b625 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39445c2beb4181d73ecbd94cc87d9dfc70044caf46fc2850599931506ca1499f [INFO] running `Command { std: "docker" "start" "-a" "39445c2beb4181d73ecbd94cc87d9dfc70044caf46fc2850599931506ca1499f", kill_on_drop: false }` [INFO] [stderr] warning: mini-note v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `trunk` which is missing a lib target [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.99 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.99 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling yew v0.18.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking cfg-match v0.2.1 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling litrs v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking css-color v0.2.8 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking tailwind-error v1.3.3 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking tailwind-ast v0.4.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.99 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.99 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling yew-macro v0.18.0 [INFO] [stderr] Checking xxhash-rust v0.8.12 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking unicase v2.8.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking tailwind-css v0.13.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.99 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking js-sys v0.3.76 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling gloo-worker-macros v0.1.0 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking stylist-core v0.9.2 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.49 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling implicit-clone-derive v0.1.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Checking implicit-clone v0.4.9 [INFO] [stderr] Compiling yew-macro v0.21.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling stylist-macros v0.9.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking pinned v0.1.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking web-sys v0.3.76 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.49 [INFO] [stderr] Checking gloo-timers v0.2.6 [INFO] [stderr] Checking gloo-timers v0.3.0 [INFO] [stderr] Checking wasm-bindgen-test v0.3.49 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking prokio v0.1.0 [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking gloo-events v0.1.2 [INFO] [stderr] Checking gloo-console-timer v0.1.0 [INFO] [stderr] Checking gloo-events v0.2.0 [INFO] [stderr] Checking gloo-dialogs v0.2.0 [INFO] [stderr] Checking gloo-render v0.2.0 [INFO] [stderr] Checking console_log v1.0.0 [INFO] [stderr] Checking gloo-storage v0.3.0 [INFO] [stderr] Checking gloo-net v0.4.0 [INFO] [stderr] Checking gloo-console v0.3.0 [INFO] [stderr] Checking gloo-worker v0.4.0 [INFO] [stderr] Checking gloo-net v0.6.0 [INFO] [stderr] Checking gloo-file v0.1.0 [INFO] [stderr] Checking gloo-file v0.3.0 [INFO] [stderr] Checking gloo-history v0.2.2 [INFO] [stderr] Checking gloo v0.2.1 [INFO] [stderr] Checking gloo v0.10.0 [INFO] [stderr] Checking yew v0.21.0 [INFO] [stderr] Checking yew_assets v0.1.2 [INFO] [stderr] Checking stylist v0.9.2 [INFO] [stderr] Checking yew_styles v0.11.0 [INFO] [stderr] Checking mini-note v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/generate.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/generate.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/components/content.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/components/content.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Closure` [INFO] [stdout] --> src/components/content.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | use wasm_bindgen::prelude::{wasm_bindgen, Closure}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsCast` [INFO] [stdout] --> src/components/content.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use wasm_bindgen::{JsCast, JsValue}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/components/content.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/components/content.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Closure` [INFO] [stdout] --> src/components/content.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | use wasm_bindgen::prelude::{wasm_bindgen, Closure}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsCast` [INFO] [stdout] --> src/components/content.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use wasm_bindgen::{JsCast, JsValue}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `load_tree_data` and `fetch_file_tree` are never used [INFO] [stdout] --> src/model/file_tree.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 25 | impl FileNode { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub(crate) async fn load_tree_data() -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | async fn fetch_file_tree(url: String) -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GLOBAL_FILE_TREE` is never used [INFO] [stdout] --> src/model/file_tree.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub static GLOBAL_FILE_TREE: Lazy>>> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TitleNode` is never constructed [INFO] [stdout] --> src/model/outline_tree.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TitleNode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `add_child` are never used [INFO] [stdout] --> src/model/outline_tree.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl TitleNode { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 14 | // 创建一个新的节点 [INFO] [stdout] 15 | fn new(title: String, level: usize) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn add_child(parent: &Rc>, child: Rc>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OutlineTree` is never used [INFO] [stdout] --> src/model/outline_tree.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait OutlineTree { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sanitize_title` is never used [INFO] [stdout] --> src/model/outline_tree.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn sanitize_title(title: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/model/outline_tree.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn main() -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/model/outline_tree.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `load_tree_data` and `fetch_file_tree` are never used [INFO] [stdout] --> src/model/file_tree.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 25 | impl FileNode { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub(crate) async fn load_tree_data() -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | async fn fetch_file_tree(url: String) -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GLOBAL_FILE_TREE` is never used [INFO] [stdout] --> src/model/file_tree.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub static GLOBAL_FILE_TREE: Lazy>>> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TitleNode` is never constructed [INFO] [stdout] --> src/model/outline_tree.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TitleNode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `add_child` are never used [INFO] [stdout] --> src/model/outline_tree.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl TitleNode { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 14 | // 创建一个新的节点 [INFO] [stdout] 15 | fn new(title: String, level: usize) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn add_child(parent: &Rc>, child: Rc>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OutlineTree` is never used [INFO] [stdout] --> src/model/outline_tree.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait OutlineTree { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sanitize_title` is never used [INFO] [stdout] --> src/model/outline_tree.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn sanitize_title(title: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/model/outline_tree.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn main() -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/model/outline_tree.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/model/outline_tree.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn main() -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/model/outline_tree.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/model/outline_tree.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn main() -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/model/outline_tree.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.71s [INFO] running `Command { std: "docker" "inspect" "39445c2beb4181d73ecbd94cc87d9dfc70044caf46fc2850599931506ca1499f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39445c2beb4181d73ecbd94cc87d9dfc70044caf46fc2850599931506ca1499f", kill_on_drop: false }` [INFO] [stdout] 39445c2beb4181d73ecbd94cc87d9dfc70044caf46fc2850599931506ca1499f