[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] 106126a968450a5b281dd740d3ec6f19a36b8ced [INFO] checking lammermann/literate_programming_toolsuite against master#683dd08db5808c41baceef49368fc82a6c4767bb for pr-149137 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flammermann%2Fliterate_programming_toolsuite" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lammermann/literate_programming_toolsuite on toolchain 683dd08db5808c41baceef49368fc82a6c4767bb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+683dd08db5808c41baceef49368fc82a6c4767bb" "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" "+683dd08db5808c41baceef49368fc82a6c4767bb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest_derive v2.8.4 [INFO] [stderr] Downloaded rhai_codegen v3.1.0 [INFO] [stderr] Downloaded simple_logger v5.1.0 [INFO] [stderr] Downloaded pest_meta v2.8.4 [INFO] [stderr] Downloaded ignore v0.4.24 [INFO] [stderr] Downloaded pest_generator v2.8.4 [INFO] [stderr] Downloaded tera v1.20.1 [INFO] [stderr] Downloaded pest v2.8.4 [INFO] [stderr] Downloaded docx-rs v0.4.18 [INFO] [stderr] Downloaded rhai v1.23.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+683dd08db5808c41baceef49368fc82a6c4767bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 051adea03c1164f0e96e5a454b242bf61d822077c6526e438358c4b171e8778f [INFO] running `Command { std: "docker" "start" "-a" "051adea03c1164f0e96e5a454b242bf61d822077c6526e438358c4b171e8778f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "051adea03c1164f0e96e5a454b242bf61d822077c6526e438358c4b171e8778f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "051adea03c1164f0e96e5a454b242bf61d822077c6526e438358c4b171e8778f", kill_on_drop: false }` [INFO] [stdout] 051adea03c1164f0e96e5a454b242bf61d822077c6526e438358c4b171e8778f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+683dd08db5808c41baceef49368fc82a6c4767bb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edb5a4b6ab56d663b8dd1f69f84fb045567fdb6ca7dce0fe4db248545eda2968 [INFO] running `Command { std: "docker" "start" "-a" "edb5a4b6ab56d663b8dd1f69f84fb045567fdb6ca7dce0fe4db248545eda2968", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling pest v2.8.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling pest_meta v2.8.4 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking gif v0.13.3 [INFO] [stderr] Checking deunicode v1.6.2 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking globset v0.4.18 [INFO] [stderr] Checking ignore v0.4.24 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Checking xml-rs v0.8.27 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking simple_logger v5.1.0 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling pest_generator v2.8.4 [INFO] [stderr] Checking thin-vec v0.2.14 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking topological-sort v0.2.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling pest_derive v2.8.4 [INFO] [stderr] Compiling rhai_codegen v3.1.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking rhai v1.23.6 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking ansicht v0.1.0 (/opt/rustwide/workdir/ansicht) [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> ansicht/src/reader/ascii_art.rs:331:52 [INFO] [stdout] | [INFO] [stdout] 331 | fn can_continue_block(&self, next_token: &Token, text: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> ansicht/src/reader/ascii_art.rs:331:52 [INFO] [stdout] | [INFO] [stdout] 331 | fn can_continue_block(&self, next_token: &Token, text: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking docx-rs v0.4.18 [INFO] [stderr] Checking tera v1.20.1 [INFO] [stderr] Checking 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] [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] Checking 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: `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: 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 variable: `out` [INFO] [stdout] --> lisi/src/lib.rs:149:9 [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 variable: `out` [INFO] [stdout] --> lisi/src/lib.rs:149:9 [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: 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 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 18s [INFO] running `Command { std: "docker" "inspect" "edb5a4b6ab56d663b8dd1f69f84fb045567fdb6ca7dce0fe4db248545eda2968", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edb5a4b6ab56d663b8dd1f69f84fb045567fdb6ca7dce0fe4db248545eda2968", kill_on_drop: false }` [INFO] [stdout] edb5a4b6ab56d663b8dd1f69f84fb045567fdb6ca7dce0fe4db248545eda2968