[INFO] fetching crate twitter-text 0.2.0... [INFO] checking twitter-text-0.2.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate twitter-text 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate twitter-text 0.2.0 [INFO] finished tweaking crates.io crate twitter-text 0.2.0 [INFO] tweaked toml for crates.io crate twitter-text 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate twitter-text 0.2.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 36 packages to latest compatible versions [INFO] [stderr] Adding idna v0.1.5 (available: v1.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbe88cce7780709bdff66207e3033da02d3f183f72eaa9824747ead56e0efc3e [INFO] running `Command { std: "docker" "start" "-a" "dbe88cce7780709bdff66207e3033da02d3f183f72eaa9824747ead56e0efc3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbe88cce7780709bdff66207e3033da02d3f183f72eaa9824747ead56e0efc3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbe88cce7780709bdff66207e3033da02d3f183f72eaa9824747ead56e0efc3e", kill_on_drop: false }` [INFO] [stdout] dbe88cce7780709bdff66207e3033da02d3f183f72eaa9824747ead56e0efc3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2ed069abb58d6908f8ecfc2c1d72595bb4bc0d404486dd6ab9362c09bc917f4 [INFO] running `Command { std: "docker" "start" "-a" "f2ed069abb58d6908f8ecfc2c1d72595bb4bc0d404486dd6ab9362c09bc917f4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking pest v2.8.1 [INFO] [stderr] Checking twitter_text_config v0.2.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking twitter_text_parser v0.2.0 [INFO] [stderr] Checking twitter-text v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hit_highlighter.rs:43:48 [INFO] [stdout] | [INFO] [stdout] 43 | fn walk(&self, pairs: Pairs, hits: &[(Hit)], builder: &mut HighlightBuilder) -> usize { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - fn walk(&self, pairs: Pairs, hits: &[(Hit)], builder: &mut HighlightBuilder) -> usize { [INFO] [stdout] 43 + fn walk(&self, pairs: Pairs, hits: &[Hit], builder: &mut HighlightBuilder) -> usize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hit_highlighter.rs:89:46 [INFO] [stdout] | [INFO] [stdout] 89 | fn new(text: &str, tag: &str, hits: &Vec<(Hit)>) -> HighlightBuilder { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - fn new(text: &str, tag: &str, hits: &Vec<(Hit)>) -> HighlightBuilder { [INFO] [stdout] 89 + fn new(text: &str, tag: &str, hits: &Vec) -> HighlightBuilder { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hit_highlighter.rs:43:48 [INFO] [stdout] | [INFO] [stdout] 43 | fn walk(&self, pairs: Pairs, hits: &[(Hit)], builder: &mut HighlightBuilder) -> usize { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - fn walk(&self, pairs: Pairs, hits: &[(Hit)], builder: &mut HighlightBuilder) -> usize { [INFO] [stdout] 43 + fn walk(&self, pairs: Pairs, hits: &[Hit], builder: &mut HighlightBuilder) -> usize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hit_highlighter.rs:89:46 [INFO] [stdout] | [INFO] [stdout] 89 | fn new(text: &str, tag: &str, hits: &Vec<(Hit)>) -> HighlightBuilder { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - fn new(text: &str, tag: &str, hits: &Vec<(Hit)>) -> HighlightBuilder { [INFO] [stdout] 89 + fn new(text: &str, tag: &str, hits: &Vec) -> HighlightBuilder { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pest::iterators::Pair::<'i, R>::into_span`: Please use `as_span` instead [INFO] [stdout] --> src/hit_highlighter.rs:51:60 [INFO] [stdout] | [INFO] [stdout] 51 | Rule::start_tag => builder.append_tag(pair.into_span().as_str()), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pest::iterators::Pair::<'i, R>::into_span`: Please use `as_span` instead [INFO] [stdout] --> src/hit_highlighter.rs:52:58 [INFO] [stdout] | [INFO] [stdout] 52 | Rule::end_tag => builder.append_tag(pair.into_span().as_str()), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pest::iterators::Pair::<'i, R>::into_span`: Please use `as_span` instead [INFO] [stdout] --> src/hit_highlighter.rs:54:37 [INFO] [stdout] | [INFO] [stdout] 54 | let span = pair.into_span(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pest::iterators::Pair::<'i, R>::into_span`: Please use `as_span` instead [INFO] [stdout] --> src/hit_highlighter.rs:51:60 [INFO] [stdout] | [INFO] [stdout] 51 | Rule::start_tag => builder.append_tag(pair.into_span().as_str()), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pest::iterators::Pair::<'i, R>::into_span`: Please use `as_span` instead [INFO] [stdout] --> src/hit_highlighter.rs:52:58 [INFO] [stdout] | [INFO] [stdout] 52 | Rule::end_tag => builder.append_tag(pair.into_span().as_str()), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pest::iterators::Pair::<'i, R>::into_span`: Please use `as_span` instead [INFO] [stdout] --> src/hit_highlighter.rs:54:37 [INFO] [stdout] | [INFO] [stdout] 54 | let span = pair.into_span(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `original_length` [INFO] [stdout] --> src/extractor.rs:325:14 [INFO] [stdout] | [INFO] [stdout] 325 | let (original_length, original_length_utf8) = calculate_length(s); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_original_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `original_length_utf8` [INFO] [stdout] --> src/extractor.rs:325:31 [INFO] [stdout] | [INFO] [stdout] 325 | let (original_length, original_length_utf8) = calculate_length(s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_original_length_utf8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/extractor.rs:415:30 [INFO] [stdout] | [INFO] [stdout] 415 | fn mention_result(&self, s: &'a str, pair: Option>) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pair` [INFO] [stdout] --> src/extractor.rs:415:42 [INFO] [stdout] | [INFO] [stdout] 415 | fn mention_result(&self, s: &'a str, pair: Option>) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/autolinker.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | fn link_to_text(&self, entity: &Entity, original_text: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `original_length` [INFO] [stdout] --> src/extractor.rs:325:14 [INFO] [stdout] | [INFO] [stdout] 325 | let (original_length, original_length_utf8) = calculate_length(s); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_original_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `original_length_utf8` [INFO] [stdout] --> src/extractor.rs:325:31 [INFO] [stdout] | [INFO] [stdout] 325 | let (original_length, original_length_utf8) = calculate_length(s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_original_length_utf8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/autolinker.rs:174:48 [INFO] [stdout] | [INFO] [stdout] 174 | fn link_to_cashtag(&self, entity: &Entity, text: &str, buf: &mut String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/extractor.rs:415:30 [INFO] [stdout] | [INFO] [stdout] 415 | fn mention_result(&self, s: &'a str, pair: Option>) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pair` [INFO] [stdout] --> src/extractor.rs:415:42 [INFO] [stdout] | [INFO] [stdout] 415 | fn mention_result(&self, s: &'a str, pair: Option>) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/autolinker.rs:201:44 [INFO] [stdout] | [INFO] [stdout] 201 | fn link_to_url(&self, entity: &Entity, text: &str, buf: &mut String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/autolinker.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | fn link_to_text(&self, entity: &Entity, original_text: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/autolinker.rs:174:48 [INFO] [stdout] | [INFO] [stdout] 174 | fn link_to_cashtag(&self, entity: &Entity, text: &str, buf: &mut String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/autolinker.rs:201:44 [INFO] [stdout] | [INFO] [stdout] 201 | fn link_to_url(&self, entity: &Entity, text: &str, buf: &mut String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/extractor.rs:300:31 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn new(configuration: &Configuration) -> ValidatingExtractor { [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] 300 | pub fn new(configuration: &Configuration) -> ValidatingExtractor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/extractor.rs:467:20 [INFO] [stdout] | [INFO] [stdout] 467 | fn new(config: &Configuration, normalized_length: i32) -> TextMetrics { [INFO] [stdout] | ^^^^^^^^^^^^^^ the lifetime is elided here ----------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 467 | fn new(config: &Configuration, normalized_length: i32) -> TextMetrics<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/extractor.rs:300:31 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn new(configuration: &Configuration) -> ValidatingExtractor { [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] 300 | pub fn new(configuration: &Configuration) -> ValidatingExtractor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/extractor.rs:467:20 [INFO] [stdout] | [INFO] [stdout] 467 | fn new(config: &Configuration, normalized_length: i32) -> TextMetrics { [INFO] [stdout] | ^^^^^^^^^^^^^^ the lifetime is elided here ----------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 467 | fn new(config: &Configuration, normalized_length: i32) -> TextMetrics<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.54s [INFO] running `Command { std: "docker" "inspect" "f2ed069abb58d6908f8ecfc2c1d72595bb4bc0d404486dd6ab9362c09bc917f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2ed069abb58d6908f8ecfc2c1d72595bb4bc0d404486dd6ab9362c09bc917f4", kill_on_drop: false }` [INFO] [stdout] f2ed069abb58d6908f8ecfc2c1d72595bb4bc0d404486dd6ab9362c09bc917f4