[INFO] fetching crate wikitext_table_parser 0.3.1... [INFO] checking wikitext_table_parser-0.3.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate wikitext_table_parser 0.3.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate wikitext_table_parser 0.3.1 [INFO] finished tweaking crates.io crate wikitext_table_parser 0.3.1 [INFO] tweaked toml for crates.io crate wikitext_table_parser 0.3.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wikitext_table_parser 0.3.1 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wikitext_table_parser 0.3.1 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 114cae64cc2003bc16fe12e8b9428a134c4a614427be8afd66cb40f251d10297 [INFO] running `Command { std: "docker" "start" "-a" "114cae64cc2003bc16fe12e8b9428a134c4a614427be8afd66cb40f251d10297", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "114cae64cc2003bc16fe12e8b9428a134c4a614427be8afd66cb40f251d10297", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "114cae64cc2003bc16fe12e8b9428a134c4a614427be8afd66cb40f251d10297", kill_on_drop: false }` [INFO] [stdout] 114cae64cc2003bc16fe12e8b9428a134c4a614427be8afd66cb40f251d10297 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 086903e12187ddee4a13283ea54f427e72d623d842fba754ce16e4b475e7c5ff [INFO] running `Command { std: "docker" "start" "-a" "086903e12187ddee4a13283ea54f427e72d623d842fba754ce16e4b475e7c5ff", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling pyo3-build-config v0.21.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling pyo3-ffi v0.21.2 [INFO] [stderr] Compiling pyo3 v0.21.2 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling pyo3-macros-backend v0.21.2 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling pyo3-macros v0.21.2 [INFO] [stderr] Checking wikitext_table_parser v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `pyo3::deprecations::GilRefs::::function_arg`: use `&Bound<'_, T>` instead for this function argument [INFO] [stdout] --> src/lib.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | fn wikitext_table_parser(_py: Python, m: &PyModule) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::deprecations::GilRefs::::function_arg`: use `&Bound<'_, T>` instead for this function argument [INFO] [stdout] --> src/lib.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | fn wikitext_table_parser(_py: Python, m: &PyModule) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/parser.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | let style: String = split_texts[0].clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cell_text` [INFO] [stdout] --> src/parser.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let cell_text = split_texts[1].clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cell_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/parser.rs:326:61 [INFO] [stdout] | [INFO] [stdout] 326 | (State::ReadTableCaption, Event::TableCaption { text }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `text: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cell_type` [INFO] [stdout] --> src/parser.rs:338:48 [INFO] [stdout] | [INFO] [stdout] 338 | (State::ReadRow, Event::ColStart { cell_type }) => self.state = State::ReadCol, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `cell_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/parser.rs:341:48 [INFO] [stdout] | [INFO] [stdout] 341 | (State::ReadCol, Event::ColStyle { text }) => {} [INFO] [stdout] | ^^^^ help: try ignoring the field: `text: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/parser.rs:342:46 [INFO] [stdout] | [INFO] [stdout] 342 | (State::ReadCol, Event::ColEnd { text }) => self.state = State::ReadCol, [INFO] [stdout] | ^^^^ help: try ignoring the field: `text: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/parser.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | let style: String = split_texts[0].clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cell_text` [INFO] [stdout] --> src/parser.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let cell_text = split_texts[1].clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cell_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/parser.rs:326:61 [INFO] [stdout] | [INFO] [stdout] 326 | (State::ReadTableCaption, Event::TableCaption { text }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `text: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cell_type` [INFO] [stdout] --> src/parser.rs:338:48 [INFO] [stdout] | [INFO] [stdout] 338 | (State::ReadRow, Event::ColStart { cell_type }) => self.state = State::ReadCol, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `cell_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/parser.rs:341:48 [INFO] [stdout] | [INFO] [stdout] 341 | (State::ReadCol, Event::ColStyle { text }) => {} [INFO] [stdout] | ^^^^ help: try ignoring the field: `text: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/parser.rs:342:46 [INFO] [stdout] | [INFO] [stdout] 342 | (State::ReadCol, Event::ColEnd { text }) => self.state = State::ReadCol, [INFO] [stdout] | ^^^^ help: try ignoring the field: `text: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `table_tokenizer` and `clean_cell_text` are never read [INFO] [stdout] --> src/parser.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct WikitextTableParser { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | table_tokenizer: Tokenizer, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | cell_tokenizer: Tokenizer, [INFO] [stdout] 52 | clean_cell_text: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WikitextTableParser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/parser.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyclass] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/parser.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyclass] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/parser.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/parser.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/tokenizer.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[pyfunction] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyfunction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/tokenizer.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | #[pyfunction] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyfunction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/tokenizer.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `table_tokenizer` and `clean_cell_text` are never read [INFO] [stdout] --> src/parser.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct WikitextTableParser { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | table_tokenizer: Tokenizer, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | cell_tokenizer: Tokenizer, [INFO] [stdout] 52 | clean_cell_text: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WikitextTableParser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/parser.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyclass] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/parser.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyclass] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/parser.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/parser.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/tokenizer.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[pyfunction] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyfunction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/tokenizer.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | #[pyfunction] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyfunction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wikitext_table_parser` (lib) due to 7 previous errors; 8 warnings emitted [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/tokenizer.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wikitext_table_parser` (lib test) due to 7 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "086903e12187ddee4a13283ea54f427e72d623d842fba754ce16e4b475e7c5ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "086903e12187ddee4a13283ea54f427e72d623d842fba754ce16e4b475e7c5ff", kill_on_drop: false }` [INFO] [stdout] 086903e12187ddee4a13283ea54f427e72d623d842fba754ce16e4b475e7c5ff