[INFO] cloning repository https://github.com/myanv/cortex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/myanv/cortex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyanv%2Fcortex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyanv%2Fcortex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa1e494d4a9243ee3074203558211c78d94ffd9d [INFO] checking myanv/cortex against master#ca77504943887037504c7fc0b9bf06dab3910373 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyanv%2Fcortex" "/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/myanv/cortex [INFO] finished tweaking git repo https://github.com/myanv/cortex [INFO] tweaked toml for git repo https://github.com/myanv/cortex written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/myanv/cortex on toolchain ca77504943887037504c7fc0b9bf06dab3910373 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/myanv/cortex 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" "+ca77504943887037504c7fc0b9bf06dab3910373" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3-macros v0.22.5 [INFO] [stderr] Downloaded pyo3-macros-backend v0.22.5 [INFO] [stderr] Downloaded pyo3-build-config v0.22.5 [INFO] [stderr] Downloaded pyo3-ffi v0.22.5 [INFO] [stderr] Downloaded pyo3 v0.22.5 [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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b5f0d57a973e051a98cb22ad485baa8e1c000f08141a3ac125eee040985a8cf [INFO] running `Command { std: "docker" "start" "-a" "1b5f0d57a973e051a98cb22ad485baa8e1c000f08141a3ac125eee040985a8cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b5f0d57a973e051a98cb22ad485baa8e1c000f08141a3ac125eee040985a8cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b5f0d57a973e051a98cb22ad485baa8e1c000f08141a3ac125eee040985a8cf", kill_on_drop: false }` [INFO] [stdout] 1b5f0d57a973e051a98cb22ad485baa8e1c000f08141a3ac125eee040985a8cf [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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14ccc018afb5d1db944987f630f917690383ed58a121fd89879acbe22c9b25be [INFO] running `Command { std: "docker" "start" "-a" "14ccc018afb5d1db944987f630f917690383ed58a121fd89879acbe22c9b25be", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling pyo3-build-config v0.22.5 [INFO] [stderr] Compiling pyo3-macros-backend v0.22.5 [INFO] [stderr] Compiling pyo3-ffi v0.22.5 [INFO] [stderr] Compiling pyo3 v0.22.5 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking regex v1.11.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling pest v2.7.14 [INFO] [stderr] Compiling pest_meta v2.7.14 [INFO] [stderr] Compiling pyo3-macros v0.22.5 [INFO] [stderr] Compiling pest_generator v2.7.14 [INFO] [stderr] Compiling pest_derive v2.7.14 [INFO] [stderr] Checking cortex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyo3::prelude::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use pyo3::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/tests/syntax.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyo3::prelude::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use pyo3::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `matrices`, `functions`, and `variables` are never read [INFO] [stdout] --> src/parser.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct LatexState { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub matrices: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | pub functions: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | pub variables: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LatexState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `params` and `body` are never read [INFO] [stdout] --> src/parser.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Function { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 33 | pub params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | pub body: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rows` is never read [INFO] [stdout] --> src/parser.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Matrix { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 42 | pub rows: Vec> [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Matrix` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `document_options` is never read [INFO] [stdout] --> src/parser.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct SetupBlock { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 55 | pub document_class: String, [INFO] [stdout] 56 | pub document_options: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetupBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_document_options` is never used [INFO] [stdout] --> src/parser.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl LatexState { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn set_document_options(&mut self, document_options: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_inner_pairs` is never used [INFO] [stdout] --> src/parser.rs:417:4 [INFO] [stdout] | [INFO] [stdout] 417 | fn print_inner_pairs(pair: pest::iterators::Pair) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_all_pairs` is never used [INFO] [stdout] --> src/parser.rs:424:4 [INFO] [stdout] | [INFO] [stdout] 424 | fn print_all_pairs(pair: pest::iterators::Pair, level: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `matrices`, `functions`, and `variables` are never read [INFO] [stdout] --> src/parser.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct LatexState { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub matrices: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | pub functions: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | pub variables: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LatexState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `params` and `body` are never read [INFO] [stdout] --> src/parser.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Function { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 33 | pub params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | pub body: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rows` is never read [INFO] [stdout] --> src/parser.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Matrix { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 42 | pub rows: Vec> [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Matrix` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `document_options` is never read [INFO] [stdout] --> src/parser.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct SetupBlock { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 55 | pub document_class: String, [INFO] [stdout] 56 | pub document_options: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetupBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_document_options` is never used [INFO] [stdout] --> src/parser.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl LatexState { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn set_document_options(&mut self, document_options: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_inner_pairs` is never used [INFO] [stdout] --> src/parser.rs:417:4 [INFO] [stdout] | [INFO] [stdout] 417 | fn print_inner_pairs(pair: pest::iterators::Pair) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_all_pairs` is never used [INFO] [stdout] --> src/parser.rs:424:4 [INFO] [stdout] | [INFO] [stdout] 424 | fn print_all_pairs(pair: pest::iterators::Pair, level: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.62s [INFO] running `Command { std: "docker" "inspect" "14ccc018afb5d1db944987f630f917690383ed58a121fd89879acbe22c9b25be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14ccc018afb5d1db944987f630f917690383ed58a121fd89879acbe22c9b25be", kill_on_drop: false }` [INFO] [stdout] 14ccc018afb5d1db944987f630f917690383ed58a121fd89879acbe22c9b25be