[INFO] fetching crate lssg-lib 0.1.0...
[INFO] building lssg-lib-0.1.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] extracting crate lssg-lib 0.1.0 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate lssg-lib 0.1.0
[INFO] finished tweaking crates.io crate lssg-lib 0.1.0
[INFO] tweaked toml for crates.io crate lssg-lib 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate lssg-lib 0.1.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Locking 184 packages to latest compatible versions
[INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23)
[INFO] [stderr] Adding toml v0.8.23 (available: v0.9.7)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded pathdiff v0.2.3
[INFO] [stderr] Downloaded serde-extensions-derive v0.1.0
[INFO] [stderr] Downloaded chrono-english v0.1.8
[INFO] [stderr] Downloaded serde-extensions v0.1.1
[INFO] [stderr] Downloaded pure-rust-locales v0.8.1
[INFO] [stderr] Downloaded scanlex v0.1.4
[INFO] [stderr] Downloaded winnow v0.7.13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4862f41a0e6215d4ce15f0de9777ad9aa82a1363b97c072d2717fe9ab144b88c
[INFO] running `Command { std: "docker" "start" "-a" "4862f41a0e6215d4ce15f0de9777ad9aa82a1363b97c072d2717fe9ab144b88c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4862f41a0e6215d4ce15f0de9777ad9aa82a1363b97c072d2717fe9ab144b88c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4862f41a0e6215d4ce15f0de9777ad9aa82a1363b97c072d2717fe9ab144b88c", kill_on_drop: false }`
[INFO] [stdout] 4862f41a0e6215d4ce15f0de9777ad9aa82a1363b97c072d2717fe9ab144b88c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6453c2cc7b30abf2407c3d08d8853408da6ff446bf997503e4675474b029753b
[INFO] running `Command { std: "docker" "start" "-a" "6453c2cc7b30abf2407c3d08d8853408da6ff446bf997503e4675474b029753b", kill_on_drop: false }`
[INFO] [stderr] Compiling syn v2.0.106
[INFO] [stderr] Compiling stable_deref_trait v1.2.0
[INFO] [stderr] Compiling serde_core v1.0.228
[INFO] [stderr] Compiling find-msvc-tools v0.1.2
[INFO] [stderr] Compiling serde v1.0.228
[INFO] [stderr] Compiling vcpkg v0.2.15
[INFO] [stderr] Compiling pkg-config v0.3.32
[INFO] [stderr] Compiling once_cell v1.21.3
[INFO] [stderr] Compiling bytes v1.10.1
[INFO] [stderr] Compiling cc v1.2.39
[INFO] [stderr] Compiling writeable v0.6.1
[INFO] [stderr] Compiling litemap v0.8.0
[INFO] [stderr] Compiling memchr v2.7.6
[INFO] [stderr] Compiling mio v1.0.4
[INFO] [stderr] Compiling socket2 v0.6.0
[INFO] [stderr] Compiling icu_normalizer_data v2.0.0
[INFO] [stderr] Compiling hashbrown v0.16.0
[INFO] [stderr] Compiling icu_properties_data v2.0.1
[INFO] [stderr] Compiling futures-core v0.3.31
[INFO] [stderr] Compiling tokio v1.47.1
[INFO] [stderr] Compiling fnv v1.0.7
[INFO] [stderr] Compiling openssl v0.10.73
[INFO] [stderr] Compiling foreign-types-shared v0.1.1
[INFO] [stderr] Compiling foreign-types v0.3.2
[INFO] [stderr] Compiling http v0.2.12
[INFO] [stderr] Compiling tracing-core v0.1.34
[INFO] [stderr] Compiling native-tls v0.2.14
[INFO] [stderr] Compiling indexmap v2.11.4
[INFO] [stderr] Compiling pin-utils v0.1.0
[INFO] [stderr] Compiling futures-task v0.3.31
[INFO] [stderr] Compiling slab v0.4.11
[INFO] [stderr] Compiling openssl-sys v0.9.109
[INFO] [stderr] Compiling futures-io v0.3.31
[INFO] [stderr] Compiling smallvec v1.15.1
[INFO] [stderr] Compiling httparse v1.10.1
[INFO] [stderr] Compiling futures-sink v0.3.31
[INFO] [stderr] Compiling bitflags v2.9.4
[INFO] [stderr] Compiling futures-util v0.3.31
[INFO] [stderr] Compiling tracing v0.1.41
[INFO] [stderr] Compiling num-traits v0.2.19
[INFO] [stderr] Compiling try-lock v0.2.5
[INFO] [stderr] Compiling openssl-probe v0.1.6
[INFO] [stderr] Compiling percent-encoding v2.3.2
[INFO] [stderr] Compiling want v0.3.1
[INFO] [stderr] Compiling form_urlencoded v1.2.2
[INFO] [stderr] Compiling http-body v0.4.6
[INFO] [stderr] Compiling futures-channel v0.3.31
[INFO] [stderr] Compiling socket2 v0.5.10
[INFO] [stderr] Compiling tower-service v0.3.3
[INFO] [stderr] Compiling httpdate v1.0.3
[INFO] [stderr] Compiling utf8_iter v1.0.4
[INFO] [stderr] Compiling aho-corasick v1.1.3
[INFO] [stderr] Compiling base64 v0.21.7
[INFO] [stderr] Compiling winnow v0.7.13
[INFO] [stderr] Compiling pure-rust-locales v0.8.1
[INFO] [stderr] Compiling iana-time-zone v0.1.64
[INFO] [stderr] Compiling regex-syntax v0.8.6
[INFO] [stderr] Compiling rustls-pemfile v1.0.4
[INFO] [stderr] Compiling encoding_rs v0.8.35
[INFO] [stderr] Compiling synstructure v0.13.2
[INFO] [stderr] Compiling tokio-util v0.7.16
[INFO] [stderr] Compiling mime v0.3.17
[INFO] [stderr] Compiling sync_wrapper v0.1.2
[INFO] [stderr] Compiling ipnet v2.11.0
[INFO] [stderr] Compiling regex-automata v0.4.11
[INFO] [stderr] Compiling zerofrom-derive v0.1.6
[INFO] [stderr] Compiling yoke-derive v0.8.0
[INFO] [stderr] Compiling zerovec-derive v0.11.1
[INFO] [stderr] Compiling displaydoc v0.2.5
[INFO] [stderr] Compiling serde_derive v1.0.228
[INFO] [stderr] Compiling openssl-macros v0.1.1
[INFO] [stderr] Compiling h2 v0.3.27
[INFO] [stderr] Compiling chrono v0.4.42
[INFO] [stderr] Compiling scanlex v0.1.4
[INFO] [stderr] Compiling zerofrom v0.1.6
[INFO] [stderr] Compiling yoke v0.8.0
[INFO] [stderr] Compiling pathdiff v0.2.3
[INFO] [stderr] Compiling lazy_static v1.5.0
[INFO] [stderr] Compiling zerovec v0.11.4
[INFO] [stderr] Compiling zerotrie v0.2.2
[INFO] [stderr] Compiling regex v1.11.3
[INFO] [stderr] Compiling tinystr v0.8.1
[INFO] [stderr] Compiling potential_utf v0.1.3
[INFO] [stderr] Compiling icu_locale_core v2.0.0
[INFO] [stderr] Compiling icu_collections v2.0.0
[INFO] [stderr] Compiling chrono-english v0.1.8
[INFO] [stderr] Compiling icu_provider v2.0.0
[INFO] [stderr] Compiling icu_properties v2.0.1
[INFO] [stderr] Compiling icu_normalizer v2.0.0
[INFO] [stderr] Compiling hyper v0.14.32
[INFO] [stderr] Compiling tokio-native-tls v0.3.1
[INFO] [stderr] Compiling serde_spanned v0.6.9
[INFO] [stderr] Compiling toml_datetime v0.6.11
[INFO] [stderr] Compiling serde-extensions-derive v0.1.0
[INFO] [stderr] Compiling serde_urlencoded v0.7.1
[INFO] [stderr] Compiling serde-extensions v0.1.1
[INFO] [stderr] Compiling toml_edit v0.22.27
[INFO] [stderr] Compiling idna_adapter v1.2.1
[INFO] [stderr] Compiling idna v1.1.0
[INFO] [stderr] Compiling url v2.5.7
[INFO] [stderr] Compiling hyper-tls v0.5.0
[INFO] [stderr] Compiling reqwest v0.11.27
[INFO] [stderr] Compiling toml v0.8.23
[INFO] [stderr] Compiling lssg-lib v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Cursor`, `mem::transmute`, and `str::Chars`
[INFO] [stdout] --> src/char_reader.rs:2:30
[INFO] [stdout] |
[INFO] [stdout] 2 | io::{BufRead, BufReader, Cursor, Read},
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] 3 | mem::transmute,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] 4 | str::Chars,
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `BTreeMap`
[INFO] [stdout] --> src/lmarkdown/lexer.rs:2:19
[INFO] [stdout] |
[INFO] [stdout] 2 | collections::{BTreeMap, HashMap},
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Cell`, `RefCell`, `UnsafeCell`, `collections::HashMap`, and `rc::Rc`
[INFO] [stdout] --> src/renderer/token_renderer.rs:2:12
[INFO] [stdout] |
[INFO] [stdout] 2 | cell::{Cell, RefCell, UnsafeCell},
[INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^^^^^
[INFO] [stdout] 3 | collections::HashMap,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 4 | rc::Rc,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `DefaultModule`
[INFO] [stdout] --> src/renderer/token_renderer.rs:9:13
[INFO] [stdout] |
[INFO] [stdout] 9 | use super::{DefaultModule, RenderContext, RendererModule};
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `DomNodeKind`, `DomNode`, `Page`, and `SiteTree`
[INFO] [stdout] --> src/renderer/token_renderer.rs:11:19
[INFO] [stdout] |
[INFO] [stdout] 11 | html::{DomId, DomNode, DomNodeKind, DomTree},
[INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^
[INFO] [stdout] 12 | lmarkdown::Token,
[INFO] [stdout] 13 | sitetree::{Page, SiteTree},
[INFO] [stdout] | ^^^^ ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `RefCell` and `UnsafeCell`
[INFO] [stdout] --> src/renderer/renderer.rs:1:17
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::cell::{RefCell, UnsafeCell};
[INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout] --> src/renderer/renderer.rs:2:5
[INFO] [stdout] |
[INFO] [stdout] 2 | use std::rc::Rc;
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `info` and `warn`
[INFO] [stdout] --> src/renderer/renderer.rs:4:25
[INFO] [stdout] |
[INFO] [stdout] 4 | use log::{debug, error, info, warn};
[INFO] [stdout] | ^^^^ ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::sitetree::Input`
[INFO] [stdout] --> src/renderer/renderer.rs:6:5
[INFO] [stdout] |
[INFO] [stdout] 6 | use crate::sitetree::Input;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `DefaultModule`
[INFO] [stdout] --> src/renderer/renderer.rs:13:38
[INFO] [stdout] |
[INFO] [stdout] 13 | use super::{modules::RendererModule, DefaultModule};
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `File` and `self`
[INFO] [stdout] --> src/lib.rs:13:61
[INFO] [stdout] |
[INFO] [stdout] 13 | fs::{create_dir, create_dir_all, remove_dir_all, write, File},
[INFO] [stdout] | ^^^^
[INFO] [stdout] 14 | io::{self},
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `url`
[INFO] [stdout] --> src/renderer/modules/blog_module.rs:179:32
[INFO] [stdout] |
[INFO] [stdout] 179 | Some(Input::External { url }) => {
[INFO] [stdout] | ^^^ help: try ignoring the field: `url: _`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: methods `get`, `get_mut`, and `remove` are never used
[INFO] [stdout] --> src/sitetree/relational_graph.rs:55:12
[INFO] [stdout] |
[INFO] [stdout] 27 | impl RelationalGraph {
[INFO] [stdout] | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 | pub fn get(&self, node_id: usize) -> &Vec {
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 | pub fn get_mut(&mut self, node_id: usize) -> &mut Vec {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 | pub fn remove(&mut self, from: usize, to: usize) {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `kind` is never read
[INFO] [stdout] --> src/lssg_error.rs:20:5
[INFO] [stdout] |
[INFO] [stdout] 17 | pub struct LssgError {
[INFO] [stdout] | --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 | kind: LssgErrorKind,
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `LssgError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 54s
[INFO] running `Command { std: "docker" "inspect" "6453c2cc7b30abf2407c3d08d8853408da6ff446bf997503e4675474b029753b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6453c2cc7b30abf2407c3d08d8853408da6ff446bf997503e4675474b029753b", kill_on_drop: false }`
[INFO] [stdout] 6453c2cc7b30abf2407c3d08d8853408da6ff446bf997503e4675474b029753b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 96c790d870686e63f13cf7206e77a94ad482764ca239b2995cb03d83f3eba322
[INFO] running `Command { std: "docker" "start" "-a" "96c790d870686e63f13cf7206e77a94ad482764ca239b2995cb03d83f3eba322", kill_on_drop: false }`
[INFO] [stdout] warning: unused imports: `Cursor`, `mem::transmute`, and `str::Chars`
[INFO] [stdout] --> src/char_reader.rs:2:30
[INFO] [stdout] |
[INFO] [stdout] 2 | io::{BufRead, BufReader, Cursor, Read},
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] 3 | mem::transmute,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] 4 | str::Chars,
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `BTreeMap`
[INFO] [stdout] --> src/lmarkdown/lexer.rs:2:19
[INFO] [stdout] |
[INFO] [stdout] 2 | collections::{BTreeMap, HashMap},
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Cell`, `RefCell`, `UnsafeCell`, `collections::HashMap`, and `rc::Rc`
[INFO] [stdout] --> src/renderer/token_renderer.rs:2:12
[INFO] [stdout] |
[INFO] [stdout] 2 | cell::{Cell, RefCell, UnsafeCell},
[INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^^^^^
[INFO] [stdout] 3 | collections::HashMap,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 4 | rc::Rc,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `DefaultModule`
[INFO] [stdout] --> src/renderer/token_renderer.rs:9:13
[INFO] [stdout] |
[INFO] [stdout] 9 | use super::{DefaultModule, RenderContext, RendererModule};
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `DomNodeKind`, `DomNode`, `Page`, and `SiteTree`
[INFO] [stdout] --> src/renderer/token_renderer.rs:11:19
[INFO] [stdout] |
[INFO] [stdout] 11 | html::{DomId, DomNode, DomNodeKind, DomTree},
[INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^
[INFO] [stdout] 12 | lmarkdown::Token,
[INFO] [stdout] 13 | sitetree::{Page, SiteTree},
[INFO] [stdout] | ^^^^ ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `RefCell` and `UnsafeCell`
[INFO] [stdout] --> src/renderer/renderer.rs:1:17
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::cell::{RefCell, UnsafeCell};
[INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout] --> src/renderer/renderer.rs:2:5
[INFO] [stdout] |
[INFO] [stdout] 2 | use std::rc::Rc;
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `info` and `warn`
[INFO] [stdout] --> src/renderer/renderer.rs:4:25
[INFO] [stdout] |
[INFO] [stdout] 4 | use log::{debug, error, info, warn};
[INFO] [stdout] | ^^^^ ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::sitetree::Input`
[INFO] [stdout] --> src/renderer/renderer.rs:6:5
[INFO] [stdout] |
[INFO] [stdout] 6 | use crate::sitetree::Input;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `DefaultModule`
[INFO] [stdout] --> src/renderer/renderer.rs:13:38
[INFO] [stdout] |
[INFO] [stdout] 13 | use super::{modules::RendererModule, DefaultModule};
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `File` and `self`
[INFO] [stdout] --> src/lib.rs:13:61
[INFO] [stdout] |
[INFO] [stdout] 13 | fs::{create_dir, create_dir_all, remove_dir_all, write, File},
[INFO] [stdout] | ^^^^
[INFO] [stdout] 14 | io::{self},
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `url`
[INFO] [stdout] --> src/renderer/modules/blog_module.rs:179:32
[INFO] [stdout] |
[INFO] [stdout] 179 | Some(Input::External { url }) => {
[INFO] [stdout] | ^^^ help: try ignoring the field: `url: _`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: methods `get`, `get_mut`, and `remove` are never used
[INFO] [stdout] --> src/sitetree/relational_graph.rs:55:12
[INFO] [stdout] |
[INFO] [stdout] 27 | impl RelationalGraph {
[INFO] [stdout] | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 | pub fn get(&self, node_id: usize) -> &Vec {
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 | pub fn get_mut(&mut self, node_id: usize) -> &mut Vec {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 | pub fn remove(&mut self, from: usize, to: usize) {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `kind` is never read
[INFO] [stdout] --> src/lssg_error.rs:20:5
[INFO] [stdout] |
[INFO] [stdout] 17 | pub struct LssgError {
[INFO] [stdout] | --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 | kind: LssgErrorKind,
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `LssgError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Compiling lssg-lib v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Cursor`, `mem::transmute`, and `str::Chars`
[INFO] [stdout] --> src/char_reader.rs:2:30
[INFO] [stdout] |
[INFO] [stdout] 2 | io::{BufRead, BufReader, Cursor, Read},
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] 3 | mem::transmute,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] 4 | str::Chars,
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `BTreeMap`
[INFO] [stdout] --> src/lmarkdown/lexer.rs:2:19
[INFO] [stdout] |
[INFO] [stdout] 2 | collections::{BTreeMap, HashMap},
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Cell`, `RefCell`, `UnsafeCell`, `collections::HashMap`, and `rc::Rc`
[INFO] [stdout] --> src/renderer/token_renderer.rs:2:12
[INFO] [stdout] |
[INFO] [stdout] 2 | cell::{Cell, RefCell, UnsafeCell},
[INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^^^^^
[INFO] [stdout] 3 | collections::HashMap,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 4 | rc::Rc,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `DefaultModule`
[INFO] [stdout] --> src/renderer/token_renderer.rs:9:13
[INFO] [stdout] |
[INFO] [stdout] 9 | use super::{DefaultModule, RenderContext, RendererModule};
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `DomNodeKind`, `DomNode`, `Page`, and `SiteTree`
[INFO] [stdout] --> src/renderer/token_renderer.rs:11:19
[INFO] [stdout] |
[INFO] [stdout] 11 | html::{DomId, DomNode, DomNodeKind, DomTree},
[INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^
[INFO] [stdout] 12 | lmarkdown::Token,
[INFO] [stdout] 13 | sitetree::{Page, SiteTree},
[INFO] [stdout] | ^^^^ ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `RefCell` and `UnsafeCell`
[INFO] [stdout] --> src/renderer/renderer.rs:1:17
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::cell::{RefCell, UnsafeCell};
[INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout] --> src/renderer/renderer.rs:2:5
[INFO] [stdout] |
[INFO] [stdout] 2 | use std::rc::Rc;
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `info` and `warn`
[INFO] [stdout] --> src/renderer/renderer.rs:4:25
[INFO] [stdout] |
[INFO] [stdout] 4 | use log::{debug, error, info, warn};
[INFO] [stdout] | ^^^^ ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::sitetree::Input`
[INFO] [stdout] --> src/renderer/renderer.rs:6:5
[INFO] [stdout] |
[INFO] [stdout] 6 | use crate::sitetree::Input;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `DefaultModule`
[INFO] [stdout] --> src/renderer/renderer.rs:13:38
[INFO] [stdout] |
[INFO] [stdout] 13 | use super::{modules::RendererModule, DefaultModule};
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `File` and `self`
[INFO] [stdout] --> src/lib.rs:13:61
[INFO] [stdout] |
[INFO] [stdout] 13 | fs::{create_dir, create_dir_all, remove_dir_all, write, File},
[INFO] [stdout] | ^^^^
[INFO] [stdout] 14 | io::{self},
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `url`
[INFO] [stdout] --> src/renderer/modules/blog_module.rs:179:32
[INFO] [stdout] |
[INFO] [stdout] 179 | Some(Input::External { url }) => {
[INFO] [stdout] | ^^^ help: try ignoring the field: `url: _`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: methods `get`, `get_mut`, and `remove` are never used
[INFO] [stdout] --> src/sitetree/relational_graph.rs:55:12
[INFO] [stdout] |
[INFO] [stdout] 27 | impl RelationalGraph {
[INFO] [stdout] | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 | pub fn get(&self, node_id: usize) -> &Vec {
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 | pub fn get_mut(&mut self, node_id: usize) -> &mut Vec {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 | pub fn remove(&mut self, from: usize, to: usize) {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `kind` is never read
[INFO] [stdout] --> src/lssg_error.rs:20:5
[INFO] [stdout] |
[INFO] [stdout] 17 | pub struct LssgError {
[INFO] [stdout] | --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 | kind: LssgErrorKind,
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `LssgError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.14s
[INFO] running `Command { std: "docker" "inspect" "96c790d870686e63f13cf7206e77a94ad482764ca239b2995cb03d83f3eba322", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96c790d870686e63f13cf7206e77a94ad482764ca239b2995cb03d83f3eba322", kill_on_drop: false }`
[INFO] [stdout] 96c790d870686e63f13cf7206e77a94ad482764ca239b2995cb03d83f3eba322