[INFO] fetching crate text-document 0.0.5... [INFO] building text-document-0.0.5 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate text-document 0.0.5 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate text-document 0.0.5 [INFO] finished tweaking crates.io crate text-document 0.0.5 [INFO] tweaked toml for crates.io crate text-document 0.0.5 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate text-document 0.0.5 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 32 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid-macro-internal v1.18.1 [INFO] [stderr] Downloaded array_tool v1.0.3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2243752d8d33e961cab20b760f70e88247d3b73c855d42cd30aa30e87f57fe0f [INFO] running `Command { std: "docker" "start" "-a" "2243752d8d33e961cab20b760f70e88247d3b73c855d42cd30aa30e87f57fe0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2243752d8d33e961cab20b760f70e88247d3b73c855d42cd30aa30e87f57fe0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2243752d8d33e961cab20b760f70e88247d3b73c855d42cd30aa30e87f57fe0f", kill_on_drop: false }` [INFO] [stdout] 2243752d8d33e961cab20b760f70e88247d3b73c855d42cd30aa30e87f57fe0f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d700a07fb3cc8b3c0b98412777eca23c2f86b2e5c087b1caf09dc7c52da8074e [INFO] running `Command { std: "docker" "start" "-a" "d700a07fb3cc8b3c0b98412777eca23c2f86b2e5c087b1caf09dc7c52da8074e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling array_tool v1.0.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling uuid-macro-internal v1.18.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling text-document v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `set_text_format` is never used [INFO] [stdout] --> src/block.rs:256:19 [INFO] [stdout] | [INFO] [stdout] 23 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 256 | pub(crate) fn set_text_format(&self, text_format: &TextFormat) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `text` is never read [INFO] [stdout] --> src/image.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Image { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | text: RefCell, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Image` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `image_format` are never used [INFO] [stdout] --> src/image.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 30 | impl Image { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 31 | pub(crate) fn new(element_manager: Weak) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub(crate) fn image_format(&self) -> ImageFormat { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Before` is never constructed [INFO] [stdout] --> src/text_document.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 221 | pub(crate) enum InsertMode { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 222 | Before, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert_new_image` is never used [INFO] [stdout] --> src/text_document.rs:365:19 [INFO] [stdout] | [INFO] [stdout] 244 | impl ElementManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 365 | pub(crate) fn insert_new_image( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `number_of_ancestors` are never used [INFO] [stdout] --> src/text_document.rs:785:19 [INFO] [stdout] | [INFO] [stdout] 782 | impl TreeModel { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 785 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 816 | fn number_of_ancestors(&self, child_id: &usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text_document.rs:807:13 [INFO] [stdout] | [INFO] [stdout] 807 | fn iter(&self) -> TreeIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 807 | fn iter(&self) -> TreeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.92s [INFO] running `Command { std: "docker" "inspect" "d700a07fb3cc8b3c0b98412777eca23c2f86b2e5c087b1caf09dc7c52da8074e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d700a07fb3cc8b3c0b98412777eca23c2f86b2e5c087b1caf09dc7c52da8074e", kill_on_drop: false }` [INFO] [stdout] d700a07fb3cc8b3c0b98412777eca23c2f86b2e5c087b1caf09dc7c52da8074e [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cecb35daffde1cbca0bdfc69bfa276942595be8481952bb9e0a12d0f430f9f8c [INFO] running `Command { std: "docker" "start" "-a" "cecb35daffde1cbca0bdfc69bfa276942595be8481952bb9e0a12d0f430f9f8c", kill_on_drop: false }` [INFO] [stdout] warning: method `set_text_format` is never used [INFO] [stdout] --> src/block.rs:256:19 [INFO] [stdout] | [INFO] [stdout] 23 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 256 | pub(crate) fn set_text_format(&self, text_format: &TextFormat) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `text` is never read [INFO] [stdout] --> src/image.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Image { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | text: RefCell, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Image` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling text-document v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `new` and `image_format` are never used [INFO] [stdout] --> src/image.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 30 | impl Image { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 31 | pub(crate) fn new(element_manager: Weak) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub(crate) fn image_format(&self) -> ImageFormat { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Before` is never constructed [INFO] [stdout] --> src/text_document.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 221 | pub(crate) enum InsertMode { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 222 | Before, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert_new_image` is never used [INFO] [stdout] --> src/text_document.rs:365:19 [INFO] [stdout] | [INFO] [stdout] 244 | impl ElementManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 365 | pub(crate) fn insert_new_image( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `number_of_ancestors` are never used [INFO] [stdout] --> src/text_document.rs:785:19 [INFO] [stdout] | [INFO] [stdout] 782 | impl TreeModel { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 785 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 816 | fn number_of_ancestors(&self, child_id: &usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text_document.rs:807:13 [INFO] [stdout] | [INFO] [stdout] 807 | fn iter(&self) -> TreeIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 807 | fn iter(&self) -> TreeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_text_document` is never used [INFO] [stdout] --> tests/common/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn setup_text_document() -> TextDocument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `text` is never read [INFO] [stdout] --> src/image.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Image { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | text: RefCell, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Image` has derived impls for the traits `Debug` and `Clone`, but these are 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] warning: associated function `new` is never used [INFO] [stdout] --> src/text_document.rs:785:19 [INFO] [stdout] | [INFO] [stdout] 782 | impl TreeModel { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 785 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text_document.rs:807:13 [INFO] [stdout] | [INFO] [stdout] 807 | fn iter(&self) -> TreeIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 807 | fn iter(&self) -> TreeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.48s [INFO] running `Command { std: "docker" "inspect" "cecb35daffde1cbca0bdfc69bfa276942595be8481952bb9e0a12d0f430f9f8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cecb35daffde1cbca0bdfc69bfa276942595be8481952bb9e0a12d0f430f9f8c", kill_on_drop: false }` [INFO] [stdout] cecb35daffde1cbca0bdfc69bfa276942595be8481952bb9e0a12d0f430f9f8c