[INFO] fetching crate mathml-latex 0.0.3... [INFO] checking mathml-latex-0.0.3 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate mathml-latex 0.0.3 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate mathml-latex 0.0.3 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mathml-latex 0.0.3 [INFO] finished tweaking crates.io crate mathml-latex 0.0.3 [INFO] tweaked toml for crates.io crate mathml-latex 0.0.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding pex v0.0.8 (latest: v0.2.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded latexify v0.1.0 [INFO] [stderr] Downloaded pex v0.0.8 [INFO] [stderr] Downloaded mathml-core v0.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6fe6a5c134592af8decbbc0b1bbc8158307e4d21ec43facd53ae6ccd026f660 [INFO] running `Command { std: "docker" "start" "-a" "a6fe6a5c134592af8decbbc0b1bbc8158307e4d21ec43facd53ae6ccd026f660", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6fe6a5c134592af8decbbc0b1bbc8158307e4d21ec43facd53ae6ccd026f660", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6fe6a5c134592af8decbbc0b1bbc8158307e4d21ec43facd53ae6ccd026f660", kill_on_drop: false }` [INFO] [stdout] a6fe6a5c134592af8decbbc0b1bbc8158307e4d21ec43facd53ae6ccd026f660 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d330568c3e8c33b7e57820fd402846482fec772ed189b82d3a39184f5669cd3f [INFO] running `Command { std: "docker" "start" "-a" "d330568c3e8c33b7e57820fd402846482fec772ed189b82d3a39184f5669cd3f", kill_on_drop: false }` [INFO] [stderr] Checking latexify v0.1.0 [INFO] [stderr] Checking pex v0.0.8 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking mathml-core v0.1.7 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking mathml-latex v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `numerator` [INFO] [stdout] --> src/codegen/as_mathml.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | [numerator] => panic!("frac command must have at least two arguments"), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numerator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `numerator` [INFO] [stdout] --> src/codegen/as_mathml.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | [numerator] => panic!("frac command must have at least two arguments"), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numerator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LaTeXFraction` is never constructed [INFO] [stdout] --> src/block/mod.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct LaTeXFraction<'i> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LaTeXFraction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/codegen/as_mathml.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn as_mathml(&self, context: &LaTeXEngine) -> MathML { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(missing_docs, rustdoc::missing_crate_level_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/codegen/as_text.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn as_identifier(&self) -> &'i str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/definitions/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct LaTeXEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/definitions/builtin.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn builtin() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/definitions/builtin.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_function(&self, name: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/definitions/builtin.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / pub fn add_function(&mut self, key: K, value: V) [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | K: ToString, [INFO] [stdout] 32 | | V: ToString, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/definitions/builtin.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn mut_functions(&mut self) -> &mut BTreeMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/definitions/builtin.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn get_operator(&self, name: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/definitions/builtin.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn get_letters(&self, name: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/definitions/builtin.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn get_space(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/definitions/builtin.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn add_space(&mut self, name: &str, value: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/parser/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn parse_latex(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an enum [INFO] [stdout] --> src/parser/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum LaTeXNode<'i> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | ArticleRoot { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/parser/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | children: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | ArticleText { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/parser/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | text: &'i str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | MathRoot { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/parser/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | children: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Row { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/parser/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | children: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Block(LaTeXBlock<'i>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Command(LaTeXCommand<'i>), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | MathText { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/parser/mod.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | text: &'i str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Number { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/parser/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | number: &'i str, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/parser/mod.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | operator: &'i str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | Superscript { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/parser/mod.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | lhs: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/parser/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | rhs: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser/mod.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | Letter { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/parser/mod.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | identifier: &'i str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/parser/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn refine(self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/parser/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn parse(input: ParseState<'i>) -> ParseResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/parser/block.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn parse(input: ParseState<'i>) -> ParseResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/parser/sup_sub.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn is_super_script(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LaTeXFraction` is never constructed [INFO] [stdout] --> src/block/mod.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct LaTeXFraction<'i> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LaTeXFraction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.39s [INFO] running `Command { std: "docker" "inspect" "d330568c3e8c33b7e57820fd402846482fec772ed189b82d3a39184f5669cd3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d330568c3e8c33b7e57820fd402846482fec772ed189b82d3a39184f5669cd3f", kill_on_drop: false }` [INFO] [stdout] d330568c3e8c33b7e57820fd402846482fec772ed189b82d3a39184f5669cd3f