[INFO] fetching crate text-document 0.0.5... [INFO] building text-document-0.0.5 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate text-document 0.0.5 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate text-document 0.0.5 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded array_tool v1.0.3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42ca9d0c77910957d5416d81fba91a081573a5c6aa75217b68cce76c8e3998fd [INFO] running `Command { std: "docker" "start" "-a" "42ca9d0c77910957d5416d81fba91a081573a5c6aa75217b68cce76c8e3998fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42ca9d0c77910957d5416d81fba91a081573a5c6aa75217b68cce76c8e3998fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42ca9d0c77910957d5416d81fba91a081573a5c6aa75217b68cce76c8e3998fd", kill_on_drop: false }` [INFO] [stdout] 42ca9d0c77910957d5416d81fba91a081573a5c6aa75217b68cce76c8e3998fd [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=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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc19866af729a5f501f5631f009ddb9c31d452e0b6ee6ad72adf936752235f9b [INFO] running `Command { std: "docker" "start" "-a" "dc19866af729a5f501f5631f009ddb9c31d452e0b6ee6ad72adf936752235f9b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling array_tool v1.0.3 [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 quote v1.0.41 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling syn v2.0.106 [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 8.64s [INFO] running `Command { std: "docker" "inspect" "dc19866af729a5f501f5631f009ddb9c31d452e0b6ee6ad72adf936752235f9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc19866af729a5f501f5631f009ddb9c31d452e0b6ee6ad72adf936752235f9b", kill_on_drop: false }` [INFO] [stdout] dc19866af729a5f501f5631f009ddb9c31d452e0b6ee6ad72adf936752235f9b [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=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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1080a340a46a91baa27b3e2267cfc4ad9d5396ecec5cbc923d0fb5cb8c6f596 [INFO] running `Command { std: "docker" "start" "-a" "f1080a340a46a91baa27b3e2267cfc4ad9d5396ecec5cbc923d0fb5cb8c6f596", kill_on_drop: false }` [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] [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 2.76s [INFO] running `Command { std: "docker" "inspect" "f1080a340a46a91baa27b3e2267cfc4ad9d5396ecec5cbc923d0fb5cb8c6f596", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1080a340a46a91baa27b3e2267cfc4ad9d5396ecec5cbc923d0fb5cb8c6f596", kill_on_drop: false }` [INFO] [stdout] f1080a340a46a91baa27b3e2267cfc4ad9d5396ecec5cbc923d0fb5cb8c6f596