[INFO] cloning repository https://github.com/fvogels/rust-snippets [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fvogels/rust-snippets" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffvogels%2Frust-snippets", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffvogels%2Frust-snippets'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 149d93736b8fc4614e393a193bb3d92fc191f487 [INFO] testing fvogels/rust-snippets against 1.99.0-beta.8 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffvogels%2Frust-snippets" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fvogels/rust-snippets [INFO] finished tweaking git repo https://github.com/fvogels/rust-snippets [INFO] tweaked toml for git repo https://github.com/fvogels/rust-snippets written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fvogels/rust-snippets on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fvogels/rust-snippets 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.113 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.113 [INFO] [stderr] Downloaded js-sys v0.3.90 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.113 [INFO] [stderr] Downloaded wasm-bindgen v0.2.113 [INFO] [stderr] Downloaded euclid v0.22.13 [INFO] [stderr] Downloaded winapi-wsapoll v0.1.2 [INFO] [stderr] Downloaded unicode-id v0.3.6 [INFO] [stderr] Downloaded markdown v1.0.0 [INFO] [stderr] Downloaded fern v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 5031489f872bd1234181f8b7c29d1f2fdf8ce9933b85c1f6fc6f0220bd29339b [INFO] running `Command { std: "docker" "start" "5031489f872bd1234181f8b7c29d1f2fdf8ce9933b85c1f6fc6f0220bd29339b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5031489f872bd1234181f8b7c29d1f2fdf8ce9933b85c1f6fc6f0220bd29339b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5031489f872bd1234181f8b7c29d1f2fdf8ce9933b85c1f6fc6f0220bd29339b" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5031489f872bd1234181f8b7c29d1f2fdf8ce9933b85c1f6fc6f0220bd29339b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5031489f872bd1234181f8b7c29d1f2fdf8ce9933b85c1f6fc6f0220bd29339b" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling instability v0.3.11 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling compact_str v0.9.0 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling line-clipping v0.3.5 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling lru v0.16.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling quick-xml v0.38.4 [INFO] [stderr] Compiling clap_lex v1.0.0 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling petgraph v0.8.3 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling clap_builder v4.5.60 [INFO] [stderr] Compiling unicode-id v0.3.6 [INFO] [stderr] Compiling markdown v1.0.0 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling unicode-truncate v2.0.1 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling os_pipe v1.2.3 [INFO] [stderr] Compiling tempfile v3.26.0 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling fern v0.7.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling tree_magic_mini v3.2.2 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling ptr_meta_derive v0.3.1 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling bytecheck_derive v0.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling munge_macro v0.4.7 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling rkyv_derive v0.8.15 [INFO] [stderr] Compiling ptr_meta v0.3.1 [INFO] [stderr] Compiling rancor v0.1.1 [INFO] [stderr] Compiling munge v0.4.7 [INFO] [stderr] Compiling bytecheck v0.8.2 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling rend v0.5.3 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling kasuari v0.4.11 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling ratatui-core v0.1.0 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling x11rb-protocol v0.10.0 [INFO] [stderr] Compiling clap v4.5.60 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling onig v6.5.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling ratatui-widgets v0.3.0 [INFO] [stderr] Compiling ratatui-crossterm v0.1.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling plist v1.8.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling syntect v5.3.0 [INFO] [stderr] Compiling ratatui-macros v0.7.0 [INFO] [stderr] Compiling ratatui v0.30.0 [INFO] [stderr] Compiling rkyv v0.8.15 [INFO] [stderr] Compiling x11rb v0.10.1 [INFO] [stderr] Compiling x11-clipboard v0.7.1 [INFO] [stderr] Compiling wl-clipboard-rs v0.7.0 [INFO] [stderr] Compiling cli-clipboard v0.4.0 [INFO] [stderr] Compiling snippets v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Block`, `BorderType`, `Borders`, `Clear`, `Constraint`, `ListItem`, `List`, `Padding`, and `style::Stylize` [INFO] [stdout] --> src/ui/widgets/clipboard_overlay.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | ...yout::{Constraint, Rect}, style::Stylize, text::Line, widgets::{Block, BorderType, Borders, Clear, List, ListItem, Padding}}; [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 imports: `Style`, `Stylize`, and `text::Line` [INFO] [stdout] --> src/ui/widgets/snippet_overlay.rs:1:63 [INFO] [stdout] | [INFO] [stdout] 1 | use ratatui::{buffer::Buffer, layout::{Margin, Rect}, style::{Style, Stylize}, text::Line, widgets::{Block, Borders, Padding}}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Snippet` and `WebLink` [INFO] [stdout] --> src/ui/widgets/snippet_overlay.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{snippets::snippets::{Page, Snippet, WebLink}, ui::widgets}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/document/mdconverter.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::document::{self, Document, Fragment, Line, Span, Style, SyntaxHighlighter, Theme, Word, fragment}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/util/trie.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{mem, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/util/trie.rs:124:58 [INFO] [stdout] | [INFO] [stdout] 124 | if self.nodes[parent_id].children[ord] == usize::MAX { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/util/trie.rs:133:56 [INFO] [stdout] | [INFO] [stdout] 133 | self.nodes[parent_id].children.push(usize::MAX) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/util/trie.rs:160:40 [INFO] [stdout] | [INFO] [stdout] 160 | if j != usize::MAX { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/util/trie.rs:237:68 [INFO] [stdout] | [INFO] [stdout] 237 | self.nodes[*node].children.iter().filter(|x| **x != usize::MAX) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/util/trie.rs:257:76 [INFO] [stdout] | [INFO] [stdout] 257 | if child_index < children.len() && children[child_index] != usize::MAX { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `attributes` is never read [INFO] [stdout] --> src/snippets/snippets.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct Page { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 170 | pub attributes: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render_links` is never used [INFO] [stdout] --> src/ui/widgets/snippet_view.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl<'a> Widget<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | fn render_links(&self, area: Rect, buffer: &mut Buffer) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Widget` is never constructed [INFO] [stdout] --> src/ui/widgets/keybindings_view.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Widget { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Binding` is never constructed [INFO] [stdout] --> src/ui/widgets/keybindings_view.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Binding { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ui/widgets/keybindings_view.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Binding { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 15 | pub fn new(key: &str, description: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ui/widgets/keybindings_view.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Widget { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 21 | pub fn new(bindings: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.96s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wl-clipboard-rs v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] running `Command { std: "docker" "inspect" "5031489f872bd1234181f8b7c29d1f2fdf8ce9933b85c1f6fc6f0220bd29339b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5031489f872bd1234181f8b7c29d1f2fdf8ce9933b85c1f6fc6f0220bd29339b" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling rstest_macros v0.26.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling ptr_meta_derive v0.3.1 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling bytecheck_derive v0.8.2 [INFO] [stderr] Compiling munge_macro v0.4.7 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling rkyv_derive v0.8.15 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling ptr_meta v0.3.1 [INFO] [stderr] Compiling rancor v0.1.1 [INFO] [stderr] Compiling munge v0.4.7 [INFO] [stderr] Compiling bytecheck v0.8.2 [INFO] [stderr] Compiling rend v0.5.3 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling wl-clipboard-rs v0.7.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling kasuari v0.4.11 [INFO] [stderr] Compiling clap v4.5.60 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling ratatui-core v0.1.0 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling cli-clipboard v0.4.0 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling instability v0.3.11 [INFO] [stderr] Compiling rstest v0.26.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling ratatui-widgets v0.3.0 [INFO] [stderr] Compiling ratatui-crossterm v0.1.0 [INFO] [stderr] Compiling plist v1.8.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling syntect v5.3.0 [INFO] [stderr] Compiling ratatui-macros v0.7.0 [INFO] [stderr] Compiling ratatui v0.30.0 [INFO] [stderr] Compiling rkyv v0.8.15 [INFO] [stderr] Compiling snippets v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Block`, `BorderType`, `Borders`, `Clear`, `Constraint`, `ListItem`, `List`, `Padding`, and `style::Stylize` [INFO] [stdout] --> src/ui/widgets/clipboard_overlay.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | ...yout::{Constraint, Rect}, style::Stylize, text::Line, widgets::{Block, BorderType, Borders, Clear, List, ListItem, Padding}}; [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 imports: `Style`, `Stylize`, and `text::Line` [INFO] [stdout] --> src/ui/widgets/snippet_overlay.rs:1:63 [INFO] [stdout] | [INFO] [stdout] 1 | use ratatui::{buffer::Buffer, layout::{Margin, Rect}, style::{Style, Stylize}, text::Line, widgets::{Block, Borders, Padding}}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Snippet` and `WebLink` [INFO] [stdout] --> src/ui/widgets/snippet_overlay.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{snippets::snippets::{Page, Snippet, WebLink}, ui::widgets}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/document/mdconverter.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::document::{self, Document, Fragment, Line, Span, Style, SyntaxHighlighter, Theme, Word, fragment}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/util/trie.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{mem, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/util/trie.rs:124:58 [INFO] [stdout] | [INFO] [stdout] 124 | if self.nodes[parent_id].children[ord] == usize::MAX { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/util/trie.rs:133:56 [INFO] [stdout] | [INFO] [stdout] 133 | self.nodes[parent_id].children.push(usize::MAX) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/util/trie.rs:160:40 [INFO] [stdout] | [INFO] [stdout] 160 | if j != usize::MAX { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/util/trie.rs:237:68 [INFO] [stdout] | [INFO] [stdout] 237 | self.nodes[*node].children.iter().filter(|x| **x != usize::MAX) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/util/trie.rs:257:76 [INFO] [stdout] | [INFO] [stdout] 257 | if child_index < children.len() && children[child_index] != usize::MAX { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/document/mod.rs:191:36 [INFO] [stdout] | [INFO] [stdout] 191 | if let Fragment::Verbatim{ lines } = &document.fragments[0] { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `lines: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `attributes` is never read [INFO] [stdout] --> src/snippets/snippets.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct Page { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 170 | pub attributes: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render_links` is never used [INFO] [stdout] --> src/ui/widgets/snippet_view.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl<'a> Widget<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | fn render_links(&self, area: Rect, buffer: &mut Buffer) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Widget` is never constructed [INFO] [stdout] --> src/ui/widgets/keybindings_view.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Widget { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Binding` is never constructed [INFO] [stdout] --> src/ui/widgets/keybindings_view.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Binding { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ui/widgets/keybindings_view.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Binding { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 15 | pub fn new(key: &str, description: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ui/widgets/keybindings_view.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Widget { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 21 | pub fn new(bindings: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 27.58s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wl-clipboard-rs v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] running `Command { std: "docker" "inspect" "5031489f872bd1234181f8b7c29d1f2fdf8ce9933b85c1f6fc6f0220bd29339b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5031489f872bd1234181f8b7c29d1f2fdf8ce9933b85c1f6fc6f0220bd29339b" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Block`, `BorderType`, `Borders`, `Clear`, `Constraint`, `ListItem`, `List`, `Padding`, and `style::Stylize` [INFO] [stderr] --> src/ui/widgets/clipboard_overlay.rs:1:40 [INFO] [stderr] | [INFO] [stderr] 1 | ...yout::{Constraint, Rect}, style::Stylize, text::Line, widgets::{Block, BorderType, Borders, Clear, List, ListItem, Padding}}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Style`, `Stylize`, and `text::Line` [INFO] [stderr] --> src/ui/widgets/snippet_overlay.rs:1:63 [INFO] [stderr] | [INFO] [stderr] 1 | use ratatui::{buffer::Buffer, layout::{Margin, Rect}, style::{Style, Stylize}, text::Line, widgets::{Block, Borders, Padding}}; [INFO] [stderr] | ^^^^^ ^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Snippet` and `WebLink` [INFO] [stderr] --> src/ui/widgets/snippet_overlay.rs:3:40 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::{snippets::snippets::{Page, Snippet, WebLink}, ui::widgets}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/document/mdconverter.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::document::{self, Document, Fragment, Line, Span, Style, SyntaxHighlighter, Theme, Word, fragment}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stderr] --> src/util/trie.rs:2:16 [INFO] [stderr] | [INFO] [stderr] 2 | use std::{mem, usize}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/util/trie.rs:124:58 [INFO] [stderr] | [INFO] [stderr] 124 | if self.nodes[parent_id].children[ord] == usize::MAX { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/util/trie.rs:133:56 [INFO] [stderr] | [INFO] [stderr] 133 | self.nodes[parent_id].children.push(usize::MAX) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/util/trie.rs:160:40 [INFO] [stderr] | [INFO] [stderr] 160 | if j != usize::MAX { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/util/trie.rs:237:68 [INFO] [stderr] | [INFO] [stderr] 237 | self.nodes[*node].children.iter().filter(|x| **x != usize::MAX) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/util/trie.rs:257:76 [INFO] [stderr] | [INFO] [stderr] 257 | if child_index < children.len() && children[child_index] != usize::MAX { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lines` [INFO] [stderr] --> src/document/mod.rs:191:36 [INFO] [stderr] | [INFO] [stderr] 191 | if let Fragment::Verbatim{ lines } = &document.fragments[0] { [INFO] [stderr] | ^^^^^ help: try ignoring the field: `lines: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `attributes` is never read [INFO] [stderr] --> src/snippets/snippets.rs:170:9 [INFO] [stderr] | [INFO] [stderr] 169 | pub struct Page { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] 170 | pub attributes: HashMap, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `render_links` is never used [INFO] [stderr] --> src/ui/widgets/snippet_view.rs:134:8 [INFO] [stderr] | [INFO] [stderr] 31 | impl<'a> Widget<'a> { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 134 | fn render_links(&self, area: Rect, buffer: &mut Buffer) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Widget` is never constructed [INFO] [stderr] --> src/ui/widgets/keybindings_view.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Widget { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Binding` is never constructed [INFO] [stderr] --> src/ui/widgets/keybindings_view.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Binding { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/ui/widgets/keybindings_view.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl Binding { [INFO] [stderr] | ------------ associated function in this implementation [INFO] [stderr] 15 | pub fn new(key: &str, description: &str) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/ui/widgets/keybindings_view.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 20 | impl Widget { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 21 | pub fn new(bindings: Vec) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `snippets` (bin "snippets" test) generated 17 warnings (run `cargo fix --bin "snippets" -p snippets --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wl-clipboard-rs v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/snippets-528058d2e2e1498d) [INFO] [stdout] [INFO] [stdout] running 66 tests [INFO] [stdout] test snippets::library::test::search_with_tags ... ok [INFO] [stdout] test util::attstring::test::aa_is_xyz_and_bb_is_x ... ok [INFO] [stdout] test util::attstring::test::empty_value ... ok [INFO] [stdout] test util::attstring::test::aa_is_xyz ... ok [INFO] [stdout] test util::cyclic::test::adding::case_1 ... ok [INFO] [stdout] test snippets::library::test::search_with_tags_zero_results ... ok [INFO] [stdout] test util::attstring::test::a_is_b ... ok [INFO] [stdout] test util::attstring::test::empty ... ok [INFO] [stdout] test util::attstring::test::redundant_spaces ... ok [INFO] [stdout] test util::cyclic::test::adding::case_2 ... ok [INFO] [stdout] test util::cyclic::test::adding::case_6 ... ok [INFO] [stdout] test util::cyclic::test::adding::case_8 ... ok [INFO] [stdout] test util::cyclic::test::subtracting::case_2 ... ok [INFO] [stdout] test util::cyclic::test::adding::case_4 ... ok [INFO] [stdout] test util::cyclic::test::subtracting::case_4 ... ok [INFO] [stdout] test util::cyclic::test::adding::case_5 ... ok [INFO] [stdout] test util::cyclic::test::adding::case_7 ... ok [INFO] [stdout] test util::cyclic::test::subtracting::case_1 ... ok [INFO] [stdout] test util::cyclic::test::adding::case_3 ... ok [INFO] [stdout] test util::cyclic::test::subtracting::case_3 ... ok [INFO] [stdout] test util::cyclic::test::subtracting::case_6 ... ok [INFO] [stdout] test util::cyclic::test::subtracting::case_7 ... ok [INFO] [stdout] test util::cyclic::test::subtracting::case_8 ... ok [INFO] [stdout] test util::tree_traversal::test::euler_aa ... ok [INFO] [stdout] test util::tree_traversal::test::euler_aa_ab_ba_bb ... ok [INFO] [stdout] test util::tree_traversal::test::euler_only_root ... ok [INFO] [stdout] test util::cyclic::test::subtracting::case_5 ... ok [INFO] [stdout] test util::tree_traversal::test::euler_a ... ok [INFO] [stdout] test util::trie::test::cursor_descend_to_nonterminal ... ok [INFO] [stdout] test util::trie::test::cursor_single_terminal ... ok [INFO] [stdout] test util::trie::test::cursor_two_terminals_in_separate_nodes_a_b_descend_a ... ok [INFO] [stdout] test util::trie::test::cursor_next_three_terminals_descend_a ... ok [INFO] [stdout] test util::trie::test::is_terminal_aa ... ok [INFO] [stdout] test util::trie::test::is_terminal_a ... ok [INFO] [stdout] test util::tree_traversal::test::euler_a_b ... ok [INFO] [stdout] test util::trie::test::cursor_two_terminals_in_same_node ... ok [INFO] [stdout] test util::trie::test::cursor_two_terminals_in_separate_nodes_descend_b ... ok [INFO] [stdout] test util::trie::test::iterating_4 ... ok [INFO] [stdout] test util::trie::test::iterating_aa_aab_aac_at_b ... ok [INFO] [stdout] test util::trie::test::cursor_next ... ok [INFO] [stdout] test util::trie::test::iterating_aa_aab_at_b ... ok [INFO] [stdout] test util::trie::test::iterating_same_terminal_2 ... ok [INFO] [stdout] test util::trie::test::iterating_aa_aab_at_a ... ok [INFO] [stdout] test util::trie::test::iterating_same_terminal_4::case_2 ... ok [INFO] [stdout] test util::trie::test::iterating_same_terminal_4::case_3 ... ok [INFO] [stdout] test util::trie::test::iterating_aa_ab_c_at_a ... ok [INFO] [stdout] test util::trie::test::iterating_same_terminal_4::case_1 ... ok [INFO] [stdout] test util::trie::test::iterating_same_terminal_4::case_5 ... ok [INFO] [stdout] test util::trie::test::iterating_same_terminal_4::case_4 ... ok [INFO] [stdout] test util::trie::test::iterating_same_terminal_4::case_6 ... ok [INFO] [stdout] test util::trie::test::linking_a ... ok [INFO] [stdout] test util::trie::test::linking_a_b ... ok [INFO] [stdout] test util::trie::test::linking_a_bb ... ok [INFO] [stdout] test util::trie::test::iterating_aa_aab_aac_at_a ... ok [INFO] [stdout] test util::trie::test::iterating_same_terminal_3 ... ok [INFO] [stdout] test util::trie::test::linking_aa ... ok [INFO] [stdout] test util::trie::test::iterating_with_cutoff ... ok [INFO] [stdout] test document::test::wrapping_single_line ... ok [INFO] [stdout] test document::test::heading_depth ... ok [INFO] [stdout] test document::test::wrapping_two_lines ... ok [INFO] [stdout] test document::test::table ... ok [INFO] [stdout] test document::test::multiple_word_heading ... ok [INFO] [stdout] test document::test::single_word_heading ... ok [INFO] [stdout] test util::attstring::test::unassigned_key - should panic ... ok [INFO] [stdout] test util::attstring::test::unclosed_quoted_value - should panic ... ok [INFO] [stdout] test document::test::inline_code ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 66 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5031489f872bd1234181f8b7c29d1f2fdf8ce9933b85c1f6fc6f0220bd29339b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5031489f872bd1234181f8b7c29d1f2fdf8ce9933b85c1f6fc6f0220bd29339b", kill_on_drop: false }` [INFO] [stdout] 5031489f872bd1234181f8b7c29d1f2fdf8ce9933b85c1f6fc6f0220bd29339b