[INFO] fetching crate twitter-text 0.2.0... [INFO] checking twitter-text-0.2.0 against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] extracting crate twitter-text 0.2.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate twitter-text 0.2.0 on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d6c112cd5e6d9a7c5be9b3893d1f40f83671c7dbec8151a57dede1a9cb779901 [INFO] running `Command { std: "docker" "start" "-a" "d6c112cd5e6d9a7c5be9b3893d1f40f83671c7dbec8151a57dede1a9cb779901", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6c112cd5e6d9a7c5be9b3893d1f40f83671c7dbec8151a57dede1a9cb779901", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6c112cd5e6d9a7c5be9b3893d1f40f83671c7dbec8151a57dede1a9cb779901", kill_on_drop: false }` [INFO] [stdout] d6c112cd5e6d9a7c5be9b3893d1f40f83671c7dbec8151a57dede1a9cb779901 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 358b7e3cb0c9faf6aa41545d505c1a2674351b22ccb901397fb7ad324b8cde08 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "358b7e3cb0c9faf6aa41545d505c1a2674351b22ccb901397fb7ad324b8cde08", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking serde_json v1.0.58 [INFO] [stderr] Checking twitter_text_parser v0.2.0 [INFO] [stderr] Checking twitter_text_config 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] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^ help: remove these parentheses [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] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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 associated function `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: `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: use of deprecated associated function `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 associated function `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 associated function `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: `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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 50.39s [INFO] running `Command { std: "docker" "inspect" "358b7e3cb0c9faf6aa41545d505c1a2674351b22ccb901397fb7ad324b8cde08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "358b7e3cb0c9faf6aa41545d505c1a2674351b22ccb901397fb7ad324b8cde08", kill_on_drop: false }` [INFO] [stdout] 358b7e3cb0c9faf6aa41545d505c1a2674351b22ccb901397fb7ad324b8cde08