[INFO] cloning repository https://github.com/yuntara/rtf_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yuntara/rtf_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuntara%2Frtf_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuntara%2Frtf_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7d5e7ed921d3a4efed147955c970f2503d3822e [INFO] checking yuntara/rtf_rs against master#01706e1a34c87656fcbfce198608f4cd2ac6461a for pr-135272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuntara%2Frtf_rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yuntara/rtf_rs on toolchain 01706e1a34c87656fcbfce198608f4cd2ac6461a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yuntara/rtf_rs [INFO] finished tweaking git repo https://github.com/yuntara/rtf_rs [INFO] tweaked toml for git repo https://github.com/yuntara/rtf_rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yuntara/rtf_rs 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" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rusoto_core` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rusoto_ssm` dependency) [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded similar v1.2.2 [INFO] [stderr] Downloaded zip v0.5.10 [INFO] [stderr] Downloaded rusoto_ssm v0.45.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.2 [INFO] [stderr] Downloaded insta v1.6.3 [INFO] [stderr] Downloaded rtf-grimoire v0.1.1 [INFO] [stderr] Downloaded docx-rs v0.2.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2f4722dc9d1389e67b4f77d909c82bcc182a49410ee3be0a5d998553db0f044 [INFO] running `Command { std: "docker" "start" "-a" "c2f4722dc9d1389e67b4f77d909c82bcc182a49410ee3be0a5d998553db0f044", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2f4722dc9d1389e67b4f77d909c82bcc182a49410ee3be0a5d998553db0f044", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2f4722dc9d1389e67b4f77d909c82bcc182a49410ee3be0a5d998553db0f044", kill_on_drop: false }` [INFO] [stdout] c2f4722dc9d1389e67b4f77d909c82bcc182a49410ee3be0a5d998553db0f044 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c1ffeb53faddee281f855bf8dc12d68c7efa61b558269279d36567faabd3177 [INFO] running `Command { std: "docker" "start" "-a" "1c1ffeb53faddee281f855bf8dc12d68c7efa61b558269279d36567faabd3177", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rusoto_core` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rusoto_ssm` dependency) [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Checking once_cell v1.6.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.2 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling standback v0.2.15 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.2 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.70 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking weezl v0.1.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.70 [INFO] [stderr] Checking shlex v0.1.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Compiling rusoto_core v0.45.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking ct-logs v0.6.0 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking xml-rs v0.8.3 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.70 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.70 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking rustls-native-certs v0.3.0 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.70 [INFO] [stderr] Checking codepage v0.1.1 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking rtf-grimoire v0.1.1 [INFO] [stderr] Checking console v0.14.0 [INFO] [stderr] Checking similar v1.2.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking zip v0.5.10 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.13.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking docx-rs v0.2.12 [INFO] [stderr] Checking insta v1.6.3 [INFO] [stderr] Checking rusoto_credential v0.45.0 [INFO] [stderr] Checking hyper-rustls v0.20.0 [INFO] [stderr] Checking rusoto_signature v0.45.0 [INFO] [stderr] Checking rusoto_ssm v0.45.0 [INFO] [stderr] Checking rtf_rs v0.1.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/rtf/table_border.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `errors::*` [INFO] [stdout] --> src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use errors::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/rtf/table_border.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `errors::*` [INFO] [stdout] --> src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use errors::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rtf/text.rs:450:17 [INFO] [stdout] | [INFO] [stdout] 450 | let mut last_row = table.last_row(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rtf/text.rs:465:17 [INFO] [stdout] | [INFO] [stdout] 465 | let mut last_row = table.last_row(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rtf/text.rs:478:17 [INFO] [stdout] | [INFO] [stdout] 478 | let mut last_row = table.last_row(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rtf/text.rs:489:17 [INFO] [stdout] | [INFO] [stdout] 489 | let mut last_row = table.last_row(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rtf/text.rs:500:17 [INFO] [stdout] | [INFO] [stdout] 500 | let mut last_row = table.last_row(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rtf/text.rs:512:17 [INFO] [stdout] | [INFO] [stdout] 512 | let mut last_row = table.last_row(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rtf/text.rs:523:17 [INFO] [stdout] | [INFO] [stdout] 523 | let mut last_row = table.last_row(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `unicode_count` and `color_index` are never read [INFO] [stdout] --> src/rtf/group.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct GroupState { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub unicode_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub ignore_count: usize, [INFO] [stdout] 14 | pub color_index: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GroupState` has a derived impl for the trait `Clone`, 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: methods `set_cell_horiz_merge_root` and `set_cell_horiz_merged_cell` are never used [INFO] [stdout] --> src/rtf/group.rs:495:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl GroupState { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 495 | pub fn set_cell_horiz_merge_root(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 508 | pub fn set_cell_horiz_merged_cell(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/rtf/docx.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | fn into_docx(self) -> Result, Errors> { [INFO] [stdout] | --------------------------------------------- move the `impl` block outside of this method `into_docx` [INFO] [stdout] 17 | impl std::convert::Into for Align { [INFO] [stdout] | ^^^^^------------------^-------------^^^^^^----- [INFO] [stdout] | | | | [INFO] [stdout] | | | `Align` is not local [INFO] [stdout] | | `AlignmentType` is not local [INFO] [stdout] | `Into` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/rtf/docx.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 16 | fn into_docx(self) -> Result, Errors> { [INFO] [stdout] | --------------------------------------------- move the `impl` block outside of this method `into_docx` [INFO] [stdout] ... [INFO] [stdout] 27 | impl std::convert::Into for CellVerticalAlignment { [INFO] [stdout] | ^^^^^------------------^-------------------^^^^^^--------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | `CellVerticalAlignment` is not local [INFO] [stdout] | | `VAlignType` is not local [INFO] [stdout] | `Into` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/rtf/docx.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 16 | fn into_docx(self) -> Result, Errors> { [INFO] [stdout] | --------------------------------------------- move the `impl` block outside of this method `into_docx` [INFO] [stdout] ... [INFO] [stdout] 36 | impl std::convert::Into for table_border::BorderType { [INFO] [stdout] | ^^^^^------------------^-------------------^^^^^^------------------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | `BorderType` is not local [INFO] [stdout] | | `BorderType` is not local [INFO] [stdout] | `Into` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/rtf/docx.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 16 | fn into_docx(self) -> Result, Errors> { [INFO] [stdout] | --------------------------------------------- move the `impl` block outside of this method `into_docx` [INFO] [stdout] ... [INFO] [stdout] 51 | impl std::convert::Into for RowBorder { [INFO] [stdout] | ^^^^^------------------^---------------------^^^^^^--------- [INFO] [stdout] | | | | [INFO] [stdout] | | | `RowBorder` is not local [INFO] [stdout] | | `TableBorders` is not local [INFO] [stdout] | `Into` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/rtf/docx.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 16 | fn into_docx(self) -> Result, Errors> { [INFO] [stdout] | --------------------------------------------- move the `impl` block outside of this method `into_docx` [INFO] [stdout] ... [INFO] [stdout] 94 | impl std::convert::Into for CellBorder { [INFO] [stdout] | ^^^^^------------------^-------------------------^^^^^^---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | `CellBorder` is not local [INFO] [stdout] | | `TableCellBorders` is not local [INFO] [stdout] | `Into` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rtf/text.rs:450:17 [INFO] [stdout] | [INFO] [stdout] 450 | let mut last_row = table.last_row(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rtf/text.rs:465:17 [INFO] [stdout] | [INFO] [stdout] 465 | let mut last_row = table.last_row(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rtf/text.rs:478:17 [INFO] [stdout] | [INFO] [stdout] 478 | let mut last_row = table.last_row(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rtf/text.rs:489:17 [INFO] [stdout] | [INFO] [stdout] 489 | let mut last_row = table.last_row(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rtf/text.rs:500:17 [INFO] [stdout] | [INFO] [stdout] 500 | let mut last_row = table.last_row(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rtf/text.rs:512:17 [INFO] [stdout] | [INFO] [stdout] 512 | let mut last_row = table.last_row(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rtf/text.rs:523:17 [INFO] [stdout] | [INFO] [stdout] 523 | let mut last_row = table.last_row(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `unicode_count` and `color_index` are never read [INFO] [stdout] --> src/rtf/group.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct GroupState { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub unicode_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub ignore_count: usize, [INFO] [stdout] 14 | pub color_index: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GroupState` has a derived impl for the trait `Clone`, 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: methods `set_cell_horiz_merge_root` and `set_cell_horiz_merged_cell` are never used [INFO] [stdout] --> src/rtf/group.rs:495:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl GroupState { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 495 | pub fn set_cell_horiz_merge_root(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 508 | pub fn set_cell_horiz_merged_cell(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/rtf/docx.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | fn into_docx(self) -> Result, Errors> { [INFO] [stdout] | --------------------------------------------- move the `impl` block outside of this method `into_docx` [INFO] [stdout] 17 | impl std::convert::Into for Align { [INFO] [stdout] | ^^^^^------------------^-------------^^^^^^----- [INFO] [stdout] | | | | [INFO] [stdout] | | | `Align` is not local [INFO] [stdout] | | `AlignmentType` is not local [INFO] [stdout] | `Into` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/rtf/docx.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 16 | fn into_docx(self) -> Result, Errors> { [INFO] [stdout] | --------------------------------------------- move the `impl` block outside of this method `into_docx` [INFO] [stdout] ... [INFO] [stdout] 27 | impl std::convert::Into for CellVerticalAlignment { [INFO] [stdout] | ^^^^^------------------^-------------------^^^^^^--------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | `CellVerticalAlignment` is not local [INFO] [stdout] | | `VAlignType` is not local [INFO] [stdout] | `Into` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/rtf/docx.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 16 | fn into_docx(self) -> Result, Errors> { [INFO] [stdout] | --------------------------------------------- move the `impl` block outside of this method `into_docx` [INFO] [stdout] ... [INFO] [stdout] 36 | impl std::convert::Into for table_border::BorderType { [INFO] [stdout] | ^^^^^------------------^-------------------^^^^^^------------------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | `BorderType` is not local [INFO] [stdout] | | `BorderType` is not local [INFO] [stdout] | `Into` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/rtf/docx.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 16 | fn into_docx(self) -> Result, Errors> { [INFO] [stdout] | --------------------------------------------- move the `impl` block outside of this method `into_docx` [INFO] [stdout] ... [INFO] [stdout] 51 | impl std::convert::Into for RowBorder { [INFO] [stdout] | ^^^^^------------------^---------------------^^^^^^--------- [INFO] [stdout] | | | | [INFO] [stdout] | | | `RowBorder` is not local [INFO] [stdout] | | `TableBorders` is not local [INFO] [stdout] | `Into` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/rtf/docx.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 16 | fn into_docx(self) -> Result, Errors> { [INFO] [stdout] | --------------------------------------------- move the `impl` block outside of this method `into_docx` [INFO] [stdout] ... [INFO] [stdout] 94 | impl std::convert::Into for CellBorder { [INFO] [stdout] | ^^^^^------------------^-------------------------^^^^^^---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | `CellBorder` is not local [INFO] [stdout] | | `TableCellBorders` is not local [INFO] [stdout] | `Into` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3, wasm-bindgen v0.2.70 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "1c1ffeb53faddee281f855bf8dc12d68c7efa61b558269279d36567faabd3177", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c1ffeb53faddee281f855bf8dc12d68c7efa61b558269279d36567faabd3177", kill_on_drop: false }` [INFO] [stdout] 1c1ffeb53faddee281f855bf8dc12d68c7efa61b558269279d36567faabd3177