[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] checking tari/bbcode-rs against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftari%2Fbbcode-rs" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tari/bbcode-rs on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-7/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e7aa3facc1cdf98e2ce7046be26a5452f43d3fc8dd86ec18ef1fbe1f43c5f33 [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" "4e7aa3facc1cdf98e2ce7046be26a5452f43d3fc8dd86ec18ef1fbe1f43c5f33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e7aa3facc1cdf98e2ce7046be26a5452f43d3fc8dd86ec18ef1fbe1f43c5f33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e7aa3facc1cdf98e2ce7046be26a5452f43d3fc8dd86ec18ef1fbe1f43c5f33", kill_on_drop: false }` [INFO] [stdout] 4e7aa3facc1cdf98e2ce7046be26a5452f43d3fc8dd86ec18ef1fbe1f43c5f33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83e0bd84d6df5b664fdc798a4af1463191bb3206117a48bc5c6f559edaf9066a [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" "83e0bd84d6df5b664fdc798a4af1463191bb3206117a48bc5c6f559edaf9066a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling quote v0.6.12 [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 palette_derive v0.4.1 [INFO] [stderr] Checking bbcode v0.1.0 (/opt/rustwide/workdir) [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 macro definition [INFO] [stdout] --> src/macros.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / macro_rules! simple_tag ( [INFO] [stdout] 49 | | ($i:expr, $tag:expr) => ( [INFO] [stdout] 50 | | delimited!( [INFO] [stdout] 51 | | tag_no_case!(concat!("[", $tag, "]")), [INFO] [stdout] ... | [INFO] [stdout] 55 | | ); [INFO] [stdout] 56 | | ); [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 macro definition [INFO] [stdout] --> src/macros.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / macro_rules! simple_tag ( [INFO] [stdout] 49 | | ($i:expr, $tag:expr) => ( [INFO] [stdout] 50 | | delimited!( [INFO] [stdout] 51 | | tag_no_case!(concat!("[", $tag, "]")), [INFO] [stdout] ... | [INFO] [stdout] 55 | | ); [INFO] [stdout] 56 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [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: 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: 12 warnings emitted [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: 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] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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 dev [unoptimized + debuginfo] target(s) in 12.90s [INFO] running `Command { std: "docker" "inspect" "83e0bd84d6df5b664fdc798a4af1463191bb3206117a48bc5c6f559edaf9066a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83e0bd84d6df5b664fdc798a4af1463191bb3206117a48bc5c6f559edaf9066a", kill_on_drop: false }` [INFO] [stdout] 83e0bd84d6df5b664fdc798a4af1463191bb3206117a48bc5c6f559edaf9066a