[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] testing yuntara/rtf_rs against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuntara%2Frtf_rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yuntara/rtf_rs on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "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-4-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" "+1.85.0" "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 rusoto_credential v0.45.0 [INFO] [stderr] Downloaded generator v0.6.24 [INFO] [stderr] Downloaded rusoto_signature v0.45.0 [INFO] [stderr] Downloaded rusoto_core v0.45.0 [INFO] [stderr] Downloaded rustls-native-certs v0.3.0 [INFO] [stderr] Downloaded hyper-rustls v0.20.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.2 [INFO] [stderr] Downloaded zip v0.5.10 [INFO] [stderr] Downloaded similar v1.2.2 [INFO] [stderr] Downloaded once_cell v1.6.0 [INFO] [stderr] Downloaded rusoto_ssm v0.45.0 [INFO] [stderr] Downloaded docx-rs v0.2.12 [INFO] [stderr] Downloaded insta v1.6.3 [INFO] [stderr] Downloaded rtf-grimoire v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2feeb1d32603c19f0ae4ac440c9f38891a0d85de844b7728abb4891e0e0cb2e9 [INFO] running `Command { std: "docker" "start" "-a" "2feeb1d32603c19f0ae4ac440c9f38891a0d85de844b7728abb4891e0e0cb2e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2feeb1d32603c19f0ae4ac440c9f38891a0d85de844b7728abb4891e0e0cb2e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2feeb1d32603c19f0ae4ac440c9f38891a0d85de844b7728abb4891e0e0cb2e9", kill_on_drop: false }` [INFO] [stdout] 2feeb1d32603c19f0ae4ac440c9f38891a0d85de844b7728abb4891e0e0cb2e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2663fdf38c6b473aaaf1c86f51ae8f01eab7dde74ca93615b4a8b9f62beae66d [INFO] running `Command { std: "docker" "start" "-a" "2663fdf38c6b473aaaf1c86f51ae8f01eab7dde74ca93615b4a8b9f62beae66d", 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 cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling once_cell v1.6.0 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.8.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling standback v0.2.15 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling crossbeam-epoch v0.9.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.70 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling weezl v0.1.4 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling rusoto_core v0.45.0 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.70 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling pretty_assertions v0.6.1 [INFO] [stderr] Compiling codepage v0.1.1 [INFO] [stderr] Compiling rtf-grimoire v0.1.1 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.70 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling ct-logs v0.6.0 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.70 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling zip v0.5.10 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.70 [INFO] [stderr] Compiling pin-project v1.0.5 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling futures-executor v0.3.13 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling rustls-native-certs v0.3.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.13.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling docx-rs v0.2.12 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling rusoto_credential v0.45.0 [INFO] [stderr] Compiling hyper-rustls v0.20.0 [INFO] [stderr] Compiling rusoto_signature v0.45.0 [INFO] [stderr] Compiling rusoto_ssm v0.45.0 [INFO] [stderr] Compiling 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: 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 36s [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" "2663fdf38c6b473aaaf1c86f51ae8f01eab7dde74ca93615b4a8b9f62beae66d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2663fdf38c6b473aaaf1c86f51ae8f01eab7dde74ca93615b4a8b9f62beae66d", kill_on_drop: false }` [INFO] [stdout] 2663fdf38c6b473aaaf1c86f51ae8f01eab7dde74ca93615b4a8b9f62beae66d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1381daea7f6672396c332dbc8f6a513e0cc5c3865d42f615a31a49b6b63c045 [INFO] running `Command { std: "docker" "start" "-a" "c1381daea7f6672396c332dbc8f6a513e0cc5c3865d42f615a31a49b6b63c045", 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 linked-hash-map v0.5.4 [INFO] [stderr] Compiling terminal_size v0.1.16 [INFO] [stderr] Compiling dtoa v0.4.7 [INFO] [stderr] Compiling similar v1.2.2 [INFO] [stderr] Compiling uuid v0.8.2 [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] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling console v0.14.0 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling insta v1.6.3 [INFO] [stderr] Compiling 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 8.58s [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" "c1381daea7f6672396c332dbc8f6a513e0cc5c3865d42f615a31a49b6b63c045", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1381daea7f6672396c332dbc8f6a513e0cc5c3865d42f615a31a49b6b63c045", kill_on_drop: false }` [INFO] [stdout] c1381daea7f6672396c332dbc8f6a513e0cc5c3865d42f615a31a49b6b63c045 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5f2fe137238d5c1efdf2d6fa9b67330f5b013597af79063326ffbfc2301d668d [INFO] running `Command { std: "docker" "start" "-a" "5f2fe137238d5c1efdf2d6fa9b67330f5b013597af79063326ffbfc2301d668d", 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] warning: unused import: `super::*` [INFO] [stderr] --> src/rtf/table_border.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | pub use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `errors::*` [INFO] [stderr] --> src/lib.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub use errors::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rtf/text.rs:450:17 [INFO] [stderr] | [INFO] [stderr] 450 | let mut last_row = table.last_row(); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rtf/text.rs:465:17 [INFO] [stderr] | [INFO] [stderr] 465 | let mut last_row = table.last_row(); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rtf/text.rs:478:17 [INFO] [stderr] | [INFO] [stderr] 478 | let mut last_row = table.last_row(); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rtf/text.rs:489:17 [INFO] [stderr] | [INFO] [stderr] 489 | let mut last_row = table.last_row(); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rtf/text.rs:500:17 [INFO] [stderr] | [INFO] [stderr] 500 | let mut last_row = table.last_row(); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rtf/text.rs:512:17 [INFO] [stderr] | [INFO] [stderr] 512 | let mut last_row = table.last_row(); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rtf/text.rs:523:17 [INFO] [stderr] | [INFO] [stderr] 523 | let mut last_row = table.last_row(); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: fields `unicode_count` and `color_index` are never read [INFO] [stderr] --> src/rtf/group.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct GroupState { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 12 | pub unicode_count: usize, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 13 | pub ignore_count: usize, [INFO] [stderr] 14 | pub color_index: usize, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GroupState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `set_cell_horiz_merge_root` and `set_cell_horiz_merged_cell` are never used [INFO] [stderr] --> src/rtf/group.rs:495:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl GroupState { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 495 | pub fn set_cell_horiz_merge_root(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 508 | pub fn set_cell_horiz_merged_cell(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/rtf/docx.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 16 | fn into_docx(self) -> Result, Errors> { [INFO] [stderr] | --------------------------------------------- move the `impl` block outside of this method `into_docx` [INFO] [stderr] 17 | impl std::convert::Into for Align { [INFO] [stderr] | ^^^^^------------------^-------------^^^^^^----- [INFO] [stderr] | | | | [INFO] [stderr] | | | `Align` is not local [INFO] [stderr] | | `AlignmentType` is not local [INFO] [stderr] | `Into` is not local [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/rtf/docx.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 16 | fn into_docx(self) -> Result, Errors> { [INFO] [stderr] | --------------------------------------------- move the `impl` block outside of this method `into_docx` [INFO] [stderr] ... [INFO] [stderr] 27 | impl std::convert::Into for CellVerticalAlignment { [INFO] [stderr] | ^^^^^------------------^-------------------^^^^^^--------------------- [INFO] [stderr] | | | | [INFO] [stderr] | | | `CellVerticalAlignment` is not local [INFO] [stderr] | | `VAlignType` is not local [INFO] [stderr] | `Into` is not local [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/rtf/docx.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 16 | fn into_docx(self) -> Result, Errors> { [INFO] [stderr] | --------------------------------------------- move the `impl` block outside of this method `into_docx` [INFO] [stderr] ... [INFO] [stderr] 36 | impl std::convert::Into for table_border::BorderType { [INFO] [stderr] | ^^^^^------------------^-------------------^^^^^^------------------------ [INFO] [stderr] | | | | [INFO] [stderr] | | | `BorderType` is not local [INFO] [stderr] | | `BorderType` is not local [INFO] [stderr] | `Into` is not local [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/rtf/docx.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 16 | fn into_docx(self) -> Result, Errors> { [INFO] [stderr] | --------------------------------------------- move the `impl` block outside of this method `into_docx` [INFO] [stderr] ... [INFO] [stderr] 51 | impl std::convert::Into for RowBorder { [INFO] [stderr] | ^^^^^------------------^---------------------^^^^^^--------- [INFO] [stderr] | | | | [INFO] [stderr] | | | `RowBorder` is not local [INFO] [stderr] | | `TableBorders` is not local [INFO] [stderr] | `Into` is not local [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/rtf/docx.rs:94:9 [INFO] [stderr] | [INFO] [stderr] 16 | fn into_docx(self) -> Result, Errors> { [INFO] [stderr] | --------------------------------------------- move the `impl` block outside of this method `into_docx` [INFO] [stderr] ... [INFO] [stderr] 94 | impl std::convert::Into for CellBorder { [INFO] [stderr] | ^^^^^------------------^-------------------------^^^^^^---------- [INFO] [stderr] | | | | [INFO] [stderr] | | | `CellBorder` is not local [INFO] [stderr] | | `TableCellBorders` is not local [INFO] [stderr] | `Into` is not local [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `rtf_rs` (lib) generated 16 warnings (run `cargo fix --lib -p rtf_rs` to apply 9 suggestions) [INFO] [stderr] warning: `rtf_rs` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rtf_rs-2c5fe2192b8019e7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/mod.rs (/opt/rustwide/target/debug/deps/mod-38b53de0c295b467) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::rtf_test_1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] Doc-tests rtf_rs [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5f2fe137238d5c1efdf2d6fa9b67330f5b013597af79063326ffbfc2301d668d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f2fe137238d5c1efdf2d6fa9b67330f5b013597af79063326ffbfc2301d668d", kill_on_drop: false }` [INFO] [stdout] 5f2fe137238d5c1efdf2d6fa9b67330f5b013597af79063326ffbfc2301d668d