[INFO] cloning repository https://github.com/tari/bbcode-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tari/bbcode-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftari%2Fbbcode-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftari%2Fbbcode-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 36b2aa247234cbf2818442db388e5f0b546c8438 [INFO] testing tari/bbcode-rs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftari%2Fbbcode-rs" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tari/bbcode-rs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tari/bbcode-rs [INFO] finished tweaking git repo https://github.com/tari/bbcode-rs [INFO] tweaked toml for git repo https://github.com/tari/bbcode-rs written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/tari/bbcode-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1287f649f2aa90988c0be4345033000de6152aa9ab669ca97762aab07a3414da [INFO] running `Command { std: "docker" "start" "-a" "1287f649f2aa90988c0be4345033000de6152aa9ab669ca97762aab07a3414da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1287f649f2aa90988c0be4345033000de6152aa9ab669ca97762aab07a3414da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1287f649f2aa90988c0be4345033000de6152aa9ab669ca97762aab07a3414da", kill_on_drop: false }` [INFO] [stdout] 1287f649f2aa90988c0be4345033000de6152aa9ab669ca97762aab07a3414da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db7836f39dec96d5fdc482207036e0308459e5466211ea7375c90d5ee3a49bda [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "db7836f39dec96d5fdc482207036e0308459e5466211ea7375c90d5ee3a49bda", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling palette v0.4.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling palette_derive v0.4.1 [INFO] [stderr] Compiling bbcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `simple_tag` [INFO] [stdout] --> src/macros.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | macro_rules! simple_tag ( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/decoration.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | /// Recognizes `[b]This text is bold[/b]`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/list.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | /// Recognizes a list: `[list][*] Item [*] Item[/list]` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/url.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / /// Handle any valid URL tag. [INFO] [stdout] 4 | | /// [INFO] [stdout] 5 | | /// This has several cases: [INFO] [stdout] 6 | | /// * [url]http://example.com/[/url] target=text [INFO] [stdout] 7 | | /// * [url="http://example.com/"]Foo[/url] quote-delimited target [INFO] [stdout] 8 | | /// * [url=example.com]Bar[/url] non-delimited target [INFO] [stdout] | |_-----------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attribution` [INFO] [stdout] --> src/render.rs:191:29 [INFO] [stdout] | [INFO] [stdout] 191 | fn quote_end(&mut self, attribution: &Option<&str>) -> IoResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attribution` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/render.rs:201:30 [INFO] [stdout] | [INFO] [stdout] 201 | fn list_begin(&mut self, style: ListStyle) -> IoResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/render.rs:205:35 [INFO] [stdout] | [INFO] [stdout] 205 | fn list_item_begin(&mut self, style: ListStyle) -> IoResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/render.rs:209:33 [INFO] [stdout] | [INFO] [stdout] 209 | fn list_item_end(&mut self, style: ListStyle) -> IoResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/render.rs:213:28 [INFO] [stdout] | [INFO] [stdout] 213 | fn list_end(&mut self, style: ListStyle) -> IoResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/render.rs:217:30 [INFO] [stdout] | [INFO] [stdout] 217 | fn link_begin(&mut self, target: &str) -> IoResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/render.rs:221:28 [INFO] [stdout] | [INFO] [stdout] 221 | fn link_end(&mut self, target: &str) -> IoResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | fn text(&mut self, mut s: &str) -> IoResult<()> { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/bbcode2html.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - fn main() -> Result<(), Box> { [INFO] [stdout] 6 + fn main() -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.87s [INFO] running `Command { std: "docker" "inspect" "db7836f39dec96d5fdc482207036e0308459e5466211ea7375c90d5ee3a49bda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db7836f39dec96d5fdc482207036e0308459e5466211ea7375c90d5ee3a49bda", kill_on_drop: false }` [INFO] [stdout] db7836f39dec96d5fdc482207036e0308459e5466211ea7375c90d5ee3a49bda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] acbf2a0fa2fa07ebeff41cbc413dbb42c33c3d9ba32b5cd7aac4547b66f028e1 [INFO] running `Command { std: "docker" "start" "-a" "acbf2a0fa2fa07ebeff41cbc413dbb42c33c3d9ba32b5cd7aac4547b66f028e1", kill_on_drop: false }` [INFO] [stderr] Compiling bbcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `simple_tag` [INFO] [stdout] --> src/macros.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | macro_rules! simple_tag ( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/decoration.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | /// Recognizes `[b]This text is bold[/b]`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/list.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | /// Recognizes a list: `[list][*] Item [*] Item[/list]` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/url.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / /// Handle any valid URL tag. [INFO] [stdout] 4 | | /// [INFO] [stdout] 5 | | /// This has several cases: [INFO] [stdout] 6 | | /// * [url]http://example.com/[/url] target=text [INFO] [stdout] 7 | | /// * [url="http://example.com/"]Foo[/url] quote-delimited target [INFO] [stdout] 8 | | /// * [url=example.com]Bar[/url] non-delimited target [INFO] [stdout] | |_-----------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attribution` [INFO] [stdout] --> src/render.rs:191:29 [INFO] [stdout] | [INFO] [stdout] 191 | fn quote_end(&mut self, attribution: &Option<&str>) -> IoResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attribution` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/render.rs:201:30 [INFO] [stdout] | [INFO] [stdout] 201 | fn list_begin(&mut self, style: ListStyle) -> IoResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/render.rs:205:35 [INFO] [stdout] | [INFO] [stdout] 205 | fn list_item_begin(&mut self, style: ListStyle) -> IoResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/render.rs:209:33 [INFO] [stdout] | [INFO] [stdout] 209 | fn list_item_end(&mut self, style: ListStyle) -> IoResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/render.rs:213:28 [INFO] [stdout] | [INFO] [stdout] 213 | fn list_end(&mut self, style: ListStyle) -> IoResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/render.rs:217:30 [INFO] [stdout] | [INFO] [stdout] 217 | fn link_begin(&mut self, target: &str) -> IoResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/render.rs:221:28 [INFO] [stdout] | [INFO] [stdout] 221 | fn link_end(&mut self, target: &str) -> IoResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | fn text(&mut self, mut s: &str) -> IoResult<()> { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `simple_tag` [INFO] [stdout] --> src/macros.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | macro_rules! simple_tag ( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/decoration.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | /// Recognizes `[b]This text is bold[/b]`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/list.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | /// Recognizes a list: `[list][*] Item [*] Item[/list]` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/url.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / /// Handle any valid URL tag. [INFO] [stdout] 4 | | /// [INFO] [stdout] 5 | | /// This has several cases: [INFO] [stdout] 6 | | /// * [url]http://example.com/[/url] target=text [INFO] [stdout] 7 | | /// * [url="http://example.com/"]Foo[/url] quote-delimited target [INFO] [stdout] 8 | | /// * [url=example.com]Bar[/url] non-delimited target [INFO] [stdout] | |_-----------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/bbcode2html.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - fn main() -> Result<(), Box> { [INFO] [stdout] 6 + fn main() -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attribution` [INFO] [stdout] --> src/render.rs:191:29 [INFO] [stdout] | [INFO] [stdout] 191 | fn quote_end(&mut self, attribution: &Option<&str>) -> IoResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attribution` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/render.rs:201:30 [INFO] [stdout] | [INFO] [stdout] 201 | fn list_begin(&mut self, style: ListStyle) -> IoResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/render.rs:205:35 [INFO] [stdout] | [INFO] [stdout] 205 | fn list_item_begin(&mut self, style: ListStyle) -> IoResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/render.rs:209:33 [INFO] [stdout] | [INFO] [stdout] 209 | fn list_item_end(&mut self, style: ListStyle) -> IoResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/render.rs:213:28 [INFO] [stdout] | [INFO] [stdout] 213 | fn list_end(&mut self, style: ListStyle) -> IoResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/render.rs:217:30 [INFO] [stdout] | [INFO] [stdout] 217 | fn link_begin(&mut self, target: &str) -> IoResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/render.rs:221:28 [INFO] [stdout] | [INFO] [stdout] 221 | fn link_end(&mut self, target: &str) -> IoResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | fn text(&mut self, mut s: &str) -> IoResult<()> { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.47s [INFO] running `Command { std: "docker" "inspect" "acbf2a0fa2fa07ebeff41cbc413dbb42c33c3d9ba32b5cd7aac4547b66f028e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acbf2a0fa2fa07ebeff41cbc413dbb42c33c3d9ba32b5cd7aac4547b66f028e1", kill_on_drop: false }` [INFO] [stdout] acbf2a0fa2fa07ebeff41cbc413dbb42c33c3d9ba32b5cd7aac4547b66f028e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cc750489ec841cfc3eacd9dc12a03e7548976dbe1d3adf39234ddf038a77f934 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cc750489ec841cfc3eacd9dc12a03e7548976dbe1d3adf39234ddf038a77f934", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unused macro definition: `simple_tag` [INFO] [stdout] running 18 tests [INFO] [stderr] --> src/macros.rs:48:14 [INFO] [stdout] test code::empty_block_ok ... ok [INFO] [stderr] | [INFO] [stdout] test code::takes_text_to_first_close ... ok [INFO] [stderr] 48 | macro_rules! simple_tag ( [INFO] [stdout] test list::list_with_multiple_items ... ok [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/decoration.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | /// Recognizes `[b]This text is bold[/b]`. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/list.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | /// Recognizes a list: `[list][*] Item [*] Item[/list]` [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/url.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / /// Handle any valid URL tag. [INFO] [stderr] 4 | | /// [INFO] [stderr] 5 | | /// This has several cases: [INFO] [stderr] 6 | | /// * [url]http://example.com/[/url] target=text [INFO] [stderr] 7 | | /// * [url="http://example.com/"]Foo[/url] quote-delimited target [INFO] [stderr] 8 | | /// * [url=example.com]Bar[/url] non-delimited target [INFO] [stderr] | |_-----------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused variable: `attribution` [INFO] [stderr] --> src/render.rs:191:29 [INFO] [stderr] | [INFO] [stderr] 191 | fn quote_end(&mut self, attribution: &Option<&str>) -> IoResult<()> { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attribution` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `style` [INFO] [stderr] --> src/render.rs:201:30 [INFO] [stderr] | [INFO] [stderr] 201 | fn list_begin(&mut self, style: ListStyle) -> IoResult<()> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `style` [INFO] [stderr] --> src/render.rs:205:35 [INFO] [stderr] | [INFO] [stderr] 205 | fn list_item_begin(&mut self, style: ListStyle) -> IoResult<()> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `style` [INFO] [stderr] --> src/render.rs:209:33 [INFO] [stderr] | [INFO] [stderr] 209 | fn list_item_end(&mut self, style: ListStyle) -> IoResult<()> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `style` [INFO] [stderr] --> src/render.rs:213:28 [INFO] [stderr] | [INFO] [stderr] 213 | fn list_end(&mut self, style: ListStyle) -> IoResult<()> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `target` [INFO] [stderr] --> src/render.rs:217:30 [INFO] [stderr] | [INFO] [stderr] 217 | fn link_begin(&mut self, target: &str) -> IoResult<()> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `target` [INFO] [stderr] --> src/render.rs:221:28 [INFO] [stderr] | [INFO] [stderr] 221 | fn link_end(&mut self, target: &str) -> IoResult<()> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/render.rs:138:24 [INFO] [stderr] | [INFO] [stderr] 138 | fn text(&mut self, mut s: &str) -> IoResult<()> { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `bbcode` (lib) generated 12 warnings [INFO] [stderr] warning: `bbcode` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/bbcode2html.rs:6:29 [INFO] [stderr] | [INFO] [stderr] 6 | fn main() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 6 - fn main() -> Result<(), Box> { [INFO] [stderr] 6 + fn main() -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `bbcode` (bin "bbcode2html" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bbcode-ce86154e4c1e51fa) [INFO] [stdout] test parse_image ... ok [INFO] [stdout] test macros::take_until_no_case ... ok [INFO] [stdout] test text_segment_no_terminal ... ok [INFO] [stdout] test decoration::rejects_invalid_css_colors ... ok [INFO] [stdout] test quote::just_qhead ... ok [INFO] [stdout] test list::empty_list ... ok [INFO] [stdout] test quote::tests::quote_without_attribution ... ok [INFO] [stdout] test quote::tests::empty_quote ... ok [INFO] [stdout] test decoration::enforces_size_limits ... ok [INFO] [stdout] test decoration::underlined_text ... ok [INFO] [stdout] test url::url_parses ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bbcode2html-01489453ea135da5) [INFO] [stdout] test decoration::accepts_colors ... ok [INFO] [stdout] test nested_segments ... ok [INFO] [stdout] test text_segment_with_terminal ... ok [INFO] [stdout] test decoration::bold_text ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests bbcode [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 10) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.91s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cc750489ec841cfc3eacd9dc12a03e7548976dbe1d3adf39234ddf038a77f934", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc750489ec841cfc3eacd9dc12a03e7548976dbe1d3adf39234ddf038a77f934", kill_on_drop: false }` [INFO] [stdout] cc750489ec841cfc3eacd9dc12a03e7548976dbe1d3adf39234ddf038a77f934