[INFO] cloning repository https://github.com/timfeid/tiptap-to-html [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timfeid/tiptap-to-html" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimfeid%2Ftiptap-to-html", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimfeid%2Ftiptap-to-html'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 376360eab856304818c9dc841286abac4aa41915 [INFO] testing timfeid/tiptap-to-html against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimfeid%2Ftiptap-to-html" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/timfeid/tiptap-to-html [INFO] finished tweaking git repo https://github.com/timfeid/tiptap-to-html [INFO] tweaked toml for git repo https://github.com/timfeid/tiptap-to-html written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/timfeid/tiptap-to-html 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] crate git repo https://github.com/timfeid/tiptap-to-html 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 12caf921a3f54ca81e5990daf3bdcbcb3ed68e7c2868dd6c1ce8b381b51f2bc7 [INFO] running `Command { std: "docker" "start" "-a" "12caf921a3f54ca81e5990daf3bdcbcb3ed68e7c2868dd6c1ce8b381b51f2bc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12caf921a3f54ca81e5990daf3bdcbcb3ed68e7c2868dd6c1ce8b381b51f2bc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12caf921a3f54ca81e5990daf3bdcbcb3ed68e7c2868dd6c1ce8b381b51f2bc7", kill_on_drop: false }` [INFO] [stdout] 12caf921a3f54ca81e5990daf3bdcbcb3ed68e7c2868dd6c1ce8b381b51f2bc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] a9b1ba0dd23d0dc55774d7e128c067ba25a5791ec2f601cd2fd35ccd1c88932c [INFO] running `Command { std: "docker" "start" "-a" "a9b1ba0dd23d0dc55774d7e128c067ba25a5791ec2f601cd2fd35ccd1c88932c", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling tiptap-to-html v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Map` [INFO] [stdout] --> src/main.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{Map, Value}; [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 variable: `plugins` [INFO] [stdout] --> src/plugins/text.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | plugins: &HashMap>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plugins` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/error.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl TypeNotFound { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 42 | fn new(type_name: Option) -> TypeNotFound { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tag` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Tag { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create_attrs`, `render`, `render_opening`, and `render_closing` are never used [INFO] [stdout] --> src/plugins/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Tag { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(name: &'static str, is_self_closing: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn create_attrs(attrs: &Map) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn render(&self, output: String, node: &Value) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn render_opening(&self, attrs: Option<&Map>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn render_closing(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DocPlugin` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | define_tag_plugin!(DocPlugin, "doc", "div", false); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_tag_plugin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_tag`, `new`, `type_name`, and `register` are never used [INFO] [stdout] --> src/plugins/mod.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 111 | impl $struct_name { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 112 | fn get_tag(&self) -> Tag { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn type_name() -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn register(prosemirror: &mut ProseMirror) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | define_tag_plugin!(DocPlugin, "doc", "div", false); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_tag_plugin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParagraphPlugin` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | define_tag_plugin!(ParagraphPlugin, "paragraph", "p", false); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_tag_plugin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_tag`, `new`, `type_name`, and `register` are never used [INFO] [stdout] --> src/plugins/mod.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 111 | impl $struct_name { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 112 | fn get_tag(&self) -> Tag { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn type_name() -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn register(prosemirror: &mut ProseMirror) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | define_tag_plugin!(ParagraphPlugin, "paragraph", "p", false); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_tag_plugin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImagePlugin` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | define_tag_plugin!(ImagePlugin, "image", "img", true); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_tag_plugin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_tag`, `new`, `type_name`, and `register` are never used [INFO] [stdout] --> src/plugins/mod.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 111 | impl $struct_name { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 112 | fn get_tag(&self) -> Tag { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn type_name() -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn register(prosemirror: &mut ProseMirror) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | define_tag_plugin!(ImagePlugin, "image", "img", true); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_tag_plugin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TextPlugin` is never constructed [INFO] [stdout] --> src/plugins/text.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TextPlugin; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `register` are never used [INFO] [stdout] --> src/plugins/text.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl TextPlugin { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 26 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn register(prosemirror: &mut ProseMirror) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `push_front` is never used [INFO] [stdout] --> src/utils.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn push_front(mut s: String, prefix: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.62s [INFO] running `Command { std: "docker" "inspect" "a9b1ba0dd23d0dc55774d7e128c067ba25a5791ec2f601cd2fd35ccd1c88932c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9b1ba0dd23d0dc55774d7e128c067ba25a5791ec2f601cd2fd35ccd1c88932c", kill_on_drop: false }` [INFO] [stdout] a9b1ba0dd23d0dc55774d7e128c067ba25a5791ec2f601cd2fd35ccd1c88932c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 0a53764671852e3dafcee457a7d6a13714d0ee747d815a56c4effd07dbf64f0f [INFO] running `Command { std: "docker" "start" "-a" "0a53764671852e3dafcee457a7d6a13714d0ee747d815a56c4effd07dbf64f0f", kill_on_drop: false }` [INFO] [stderr] Compiling tiptap-to-html v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Map` [INFO] [stdout] --> src/main.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{Map, Value}; [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 variable: `plugins` [INFO] [stdout] --> src/plugins/text.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | plugins: &HashMap>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plugins` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/error.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl TypeNotFound { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 42 | fn new(type_name: Option) -> TypeNotFound { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `type_name` is never used [INFO] [stdout] --> src/plugins/mod.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 111 | impl $struct_name { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn type_name() -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | define_tag_plugin!(DocPlugin, "doc", "div", false); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_tag_plugin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `type_name` is never used [INFO] [stdout] --> src/plugins/mod.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 111 | impl $struct_name { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn type_name() -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | define_tag_plugin!(ParagraphPlugin, "paragraph", "p", false); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_tag_plugin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `type_name` is never used [INFO] [stdout] --> src/plugins/mod.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 111 | impl $struct_name { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn type_name() -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | define_tag_plugin!(ImagePlugin, "image", "img", true); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_tag_plugin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.46s [INFO] running `Command { std: "docker" "inspect" "0a53764671852e3dafcee457a7d6a13714d0ee747d815a56c4effd07dbf64f0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a53764671852e3dafcee457a7d6a13714d0ee747d815a56c4effd07dbf64f0f", kill_on_drop: false }` [INFO] [stdout] 0a53764671852e3dafcee457a7d6a13714d0ee747d815a56c4effd07dbf64f0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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", kill_on_drop: false }` [INFO] [stdout] 21ca697e32deae90bcf034089adc11d23718ba5adc9230222dfe40cf824a5108 [INFO] running `Command { std: "docker" "start" "-a" "21ca697e32deae90bcf034089adc11d23718ba5adc9230222dfe40cf824a5108", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Map` [INFO] [stderr] --> src/main.rs:3:18 [INFO] [stderr] | [INFO] [stderr] 3 | use serde_json::{Map, Value}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `plugins` [INFO] [stderr] --> src/plugins/text.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | plugins: &HashMap>, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plugins` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/error.rs:42:8 [INFO] [stderr] | [INFO] [stderr] 41 | impl TypeNotFound { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] 42 | fn new(type_name: Option) -> TypeNotFound { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `type_name` is never used [INFO] [stderr] --> src/plugins/mod.rs:120:20 [INFO] [stderr] | [INFO] [stderr] 111 | impl $struct_name { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 120 | pub fn type_name() -> &'static str { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 131 | define_tag_plugin!(DocPlugin, "doc", "div", false); [INFO] [stderr] | -------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `define_tag_plugin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function `type_name` is never used [INFO] [stderr] --> src/plugins/mod.rs:120:20 [INFO] [stderr] | [INFO] [stderr] 111 | impl $struct_name { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 120 | pub fn type_name() -> &'static str { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 132 | define_tag_plugin!(ParagraphPlugin, "paragraph", "p", false); [INFO] [stderr] | ------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `define_tag_plugin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function `type_name` is never used [INFO] [stderr] --> src/plugins/mod.rs:120:20 [INFO] [stderr] | [INFO] [stderr] 111 | impl $struct_name { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 120 | pub fn type_name() -> &'static str { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 133 | define_tag_plugin!(ImagePlugin, "image", "img", true); [INFO] [stderr] | ----------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `define_tag_plugin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `tiptap-to-html` (bin "tiptap-to-html" test) generated 6 warnings (run `cargo fix --bin "tiptap-to-html" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tiptap_to_html-86e5509c6027e3fa) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test plugins::tests::image ... ok [INFO] [stdout] test plugins::tests::it_throws_error_on_unknown_type ... ok [INFO] [stdout] test plugins::tests::it_renders_paragraph_plugin_with_attrs ... ok [INFO] [stdout] test plugins::tests::it_renders_paragraph_plugin ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "21ca697e32deae90bcf034089adc11d23718ba5adc9230222dfe40cf824a5108", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21ca697e32deae90bcf034089adc11d23718ba5adc9230222dfe40cf824a5108", kill_on_drop: false }` [INFO] [stdout] 21ca697e32deae90bcf034089adc11d23718ba5adc9230222dfe40cf824a5108