[INFO] cloning repository https://github.com/lammermann/literate_programming_toolsuite [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lammermann/literate_programming_toolsuite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flammermann%2Fliterate_programming_toolsuite", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flammermann%2Fliterate_programming_toolsuite'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e71a2e9b153f8ffecada88c89e07016ffe593a12 [INFO] building lammermann/literate_programming_toolsuite against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flammermann%2Fliterate_programming_toolsuite" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lammermann/literate_programming_toolsuite [INFO] finished tweaking git repo https://github.com/lammermann/literate_programming_toolsuite [INFO] tweaked toml for git repo https://github.com/lammermann/literate_programming_toolsuite written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lammermann/literate_programming_toolsuite on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lammermann/literate_programming_toolsuite 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded diff v0.1.13 [INFO] [stderr] Downloaded thiserror-impl v2.0.10 [INFO] [stderr] Downloaded unic-char-property v0.9.0 [INFO] [stderr] Downloaded clap v4.5.24 [INFO] [stderr] Downloaded unic-common v0.9.0 [INFO] [stderr] Downloaded const-random v0.1.18 [INFO] [stderr] Downloaded clap_derive v4.5.24 [INFO] [stderr] Downloaded time-macros v0.2.19 [INFO] [stderr] Downloaded bytemuck v1.21.0 [INFO] [stderr] Downloaded phf_generator v0.11.3 [INFO] [stderr] Downloaded phf_shared v0.11.3 [INFO] [stderr] Downloaded ignore v0.4.23 [INFO] [stderr] Downloaded chrono-tz v0.9.0 [INFO] [stderr] Downloaded time v0.3.37 [INFO] [stderr] Downloaded pest v2.7.15 [INFO] [stderr] Downloaded flate2 v1.0.35 [INFO] [stderr] Downloaded libm v0.2.11 [INFO] [stderr] Downloaded deunicode v1.6.0 [INFO] [stderr] Downloaded cc v1.2.7 [INFO] [stderr] Downloaded parse-zoneinfo v0.3.1 [INFO] [stderr] Downloaded docx-rs v0.4.17 [INFO] [stderr] Downloaded serde_json v1.0.135 [INFO] [stderr] Downloaded tera v1.20.0 [INFO] [stderr] Downloaded serde v1.0.217 [INFO] [stderr] Downloaded portable-atomic v1.10.0 [INFO] [stderr] Downloaded syn v2.0.95 [INFO] [stderr] Downloaded pest_meta v2.7.15 [INFO] [stderr] Downloaded pest_derive v2.7.15 [INFO] [stderr] Downloaded bstr v1.11.3 [INFO] [stderr] Downloaded rhai v1.20.1 [INFO] [stderr] Downloaded rhai_codegen v2.2.0 [INFO] [stderr] Downloaded smartstring v1.0.1 [INFO] [stderr] Downloaded thin-vec v0.2.13 [INFO] [stderr] Downloaded cpufeatures v0.2.16 [INFO] [stderr] Downloaded pest_generator v2.7.15 [INFO] [stderr] Downloaded topological-sort v0.2.2 [INFO] [stderr] Downloaded anstyle-wincon v3.0.6 [INFO] [stderr] Downloaded phf_codegen v0.11.3 [INFO] [stderr] Downloaded chrono-tz-build v0.3.0 [INFO] [stderr] Downloaded siphasher v1.0.1 [INFO] [stderr] Downloaded phf v0.11.3 [INFO] [stderr] Downloaded globset v0.4.15 [INFO] [stderr] Downloaded humansize v2.1.3 [INFO] [stderr] Downloaded unic-char-range v0.9.0 [INFO] [stderr] Downloaded unic-ucd-version v0.9.0 [INFO] [stderr] Downloaded unic-ucd-segment v0.9.0 [INFO] [stderr] Downloaded const-random-macro v0.1.16 [INFO] [stderr] Downloaded xml-rs v0.8.25 [INFO] [stderr] Downloaded serde_derive v1.0.217 [INFO] [stderr] Downloaded slug v0.1.6 [INFO] [stderr] Downloaded clap_builder v4.5.24 [INFO] [stderr] Downloaded globwalk v0.9.1 [INFO] [stderr] Downloaded unic-segment v0.9.0 [INFO] [stderr] Downloaded tiny-keccak v2.0.2 [INFO] [stderr] Downloaded pretty_assertions v1.4.1 [INFO] [stderr] Downloaded thiserror v2.0.10 [INFO] [stderr] Downloaded quote v1.0.38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a7ce75b4668e6e748abc0ebc2b8d90d23625be1256839ec839af983416a67ed [INFO] running `Command { std: "docker" "start" "-a" "9a7ce75b4668e6e748abc0ebc2b8d90d23625be1256839ec839af983416a67ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a7ce75b4668e6e748abc0ebc2b8d90d23625be1256839ec839af983416a67ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a7ce75b4668e6e748abc0ebc2b8d90d23625be1256839ec839af983416a67ed", kill_on_drop: false }` [INFO] [stdout] 9a7ce75b4668e6e748abc0ebc2b8d90d23625be1256839ec839af983416a67ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98bd8861dbf414192897b60fa50003a06eced5999ea96618021aa9502b11554e [INFO] running `Command { std: "docker" "start" "-a" "98bd8861dbf414192897b60fa50003a06eced5999ea96618021aa9502b11554e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling thiserror v2.0.10 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling bstr v1.11.3 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling clap_builder v4.5.24 [INFO] [stderr] Compiling bytemuck v1.21.0 [INFO] [stderr] Compiling deunicode v1.6.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling xml-rs v0.8.25 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling thin-vec v0.2.13 [INFO] [stderr] Compiling topological-sort v0.2.2 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling simple_logger v5.0.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v2.0.10 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling rhai_codegen v2.2.0 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling clap v4.5.24 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling ansicht v0.1.0 (/opt/rustwide/workdir/ansicht) [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> ansicht/src/reader/ascii_art.rs:176:15 [INFO] [stdout] | [INFO] [stdout] 176 | line, [INFO] [stdout] | ^^^^ help: try ignoring the field: `line: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> ansicht/src/reader/ascii_art.rs:198:15 [INFO] [stdout] | [INFO] [stdout] 198 | line, [INFO] [stdout] | ^^^^ help: try ignoring the field: `line: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_bounds` is never used [INFO] [stdout] --> ansicht/src/reader/ascii_art.rs:80:6 [INFO] [stdout] | [INFO] [stdout] 79 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 80 | fn get_bounds(&self) -> (usize, usize, usize, usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_tokens` is never used [INFO] [stdout] --> ansicht/src/reader/ascii_art.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn parse_tokens(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `condense_horizontal` is never used [INFO] [stdout] --> ansicht/src/reader/ascii_art.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn condense_horizontal(input: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `condense_vertical` is never used [INFO] [stdout] --> ansicht/src/reader/ascii_art.rs:225:4 [INFO] [stdout] | [INFO] [stdout] 225 | fn condense_vertical(input: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rhai v1.20.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling docx-rs v0.4.17 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling asciidoctrine v0.1.1 (/opt/rustwide/workdir/asciidoctrine) [INFO] [stdout] warning: unused variable: `el` [INFO] [stdout] --> asciidoctrine/src/writer/html.rs:424:5 [INFO] [stdout] | [INFO] [stdout] 424 | el => write_html(inner, indent + 1, out)?, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_el` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> asciidoctrine/src/writer/docx.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | let content = match input.positional_attributes.get(0) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> asciidoctrine/src/writer/html.rs:323:64 [INFO] [stdout] | [INFO] [stdout] 323 | let content = input.get_attribute("content").unwrap_or(id.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lisi v0.2.0 (/opt/rustwide/workdir/lisi) [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> lisi/src/codeblock_parser.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | key: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> lisi/src/lib.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut out = rhai::Array::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> lisi/src/lib.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let mut snippets = self.snippets.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> lisi/src/lib.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let mut out = rhai::Array::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> lisi/src/lib.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | &base.children.push(other); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = &base.children.push(other); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lisi/src/lib.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iter(&self) -> hash_map::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iter(&self) -> hash_map::Iter<'_, String, Snippet> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "98bd8861dbf414192897b60fa50003a06eced5999ea96618021aa9502b11554e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98bd8861dbf414192897b60fa50003a06eced5999ea96618021aa9502b11554e", kill_on_drop: false }` [INFO] [stdout] 98bd8861dbf414192897b60fa50003a06eced5999ea96618021aa9502b11554e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38fd0b7eb137c284cd525ba7e8c11a9c536f2c7eeb734b70c9f10b043d36f4bb [INFO] running `Command { std: "docker" "start" "-a" "38fd0b7eb137c284cd525ba7e8c11a9c536f2c7eeb734b70c9f10b043d36f4bb", kill_on_drop: false }` [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> ansicht/src/reader/ascii_art.rs:176:15 [INFO] [stdout] | [INFO] [stdout] 176 | line, [INFO] [stdout] | ^^^^ help: try ignoring the field: `line: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> ansicht/src/reader/ascii_art.rs:198:15 [INFO] [stdout] | [INFO] [stdout] 198 | line, [INFO] [stdout] | ^^^^ help: try ignoring the field: `line: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_bounds` is never used [INFO] [stdout] --> ansicht/src/reader/ascii_art.rs:80:6 [INFO] [stdout] | [INFO] [stdout] 79 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 80 | fn get_bounds(&self) -> (usize, usize, usize, usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_tokens` is never used [INFO] [stdout] --> ansicht/src/reader/ascii_art.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn parse_tokens(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `condense_horizontal` is never used [INFO] [stdout] --> ansicht/src/reader/ascii_art.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn condense_horizontal(input: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `condense_vertical` is never used [INFO] [stdout] --> ansicht/src/reader/ascii_art.rs:225:4 [INFO] [stdout] | [INFO] [stdout] 225 | fn condense_vertical(input: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `el` [INFO] [stdout] --> asciidoctrine/src/writer/html.rs:424:5 [INFO] [stdout] | [INFO] [stdout] 424 | el => write_html(inner, indent + 1, out)?, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_el` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> asciidoctrine/src/writer/docx.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | let content = match input.positional_attributes.get(0) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> asciidoctrine/src/writer/html.rs:323:64 [INFO] [stdout] | [INFO] [stdout] 323 | let content = input.get_attribute("content").unwrap_or(id.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> lisi/src/codeblock_parser.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | key: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> lisi/src/lib.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut out = rhai::Array::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> lisi/src/lib.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let mut snippets = self.snippets.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> lisi/src/lib.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let mut out = rhai::Array::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> lisi/src/lib.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | &base.children.push(other); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = &base.children.push(other); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lisi/src/lib.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iter(&self) -> hash_map::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iter(&self) -> hash_map::Iter<'_, String, Snippet> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling lisi v0.2.0 (/opt/rustwide/workdir/lisi) [INFO] [stderr] Compiling asciidoctrine v0.1.1 (/opt/rustwide/workdir/asciidoctrine) [INFO] [stderr] Compiling ansicht v0.1.0 (/opt/rustwide/workdir/ansicht) [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> ansicht/src/reader/ascii_art.rs:176:15 [INFO] [stdout] | [INFO] [stdout] 176 | line, [INFO] [stdout] | ^^^^ help: try ignoring the field: `line: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> ansicht/src/reader/ascii_art.rs:198:15 [INFO] [stdout] | [INFO] [stdout] 198 | line, [INFO] [stdout] | ^^^^ help: try ignoring the field: `line: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> lisi/src/codeblock_parser.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | key: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> lisi/src/lib.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut out = rhai::Array::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> lisi/src/lib.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let mut snippets = self.snippets.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> lisi/src/lib.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let mut out = rhai::Array::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> lisi/src/lib.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | &base.children.push(other); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = &base.children.push(other); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lisi/src/lib.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iter(&self) -> hash_map::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iter(&self) -> hash_map::Iter<'_, String, Snippet> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `el` [INFO] [stdout] --> asciidoctrine/src/writer/html.rs:424:5 [INFO] [stdout] | [INFO] [stdout] 424 | el => write_html(inner, indent + 1, out)?, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_el` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> asciidoctrine/src/writer/docx.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | let content = match input.positional_attributes.get(0) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> asciidoctrine/src/writer/html.rs:323:64 [INFO] [stdout] | [INFO] [stdout] 323 | let content = input.get_attribute("content").unwrap_or(id.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.52s [INFO] running `Command { std: "docker" "inspect" "38fd0b7eb137c284cd525ba7e8c11a9c536f2c7eeb734b70c9f10b043d36f4bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38fd0b7eb137c284cd525ba7e8c11a9c536f2c7eeb734b70c9f10b043d36f4bb", kill_on_drop: false }` [INFO] [stdout] 38fd0b7eb137c284cd525ba7e8c11a9c536f2c7eeb734b70c9f10b043d36f4bb