[INFO] fetching crate twitter-text 0.2.0... [INFO] checking twitter-text-0.2.0 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate twitter-text 0.2.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate twitter-text 0.2.0 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0acf43053923bf1c846e52b45dce0915b6698c7f27bcb98c3bf90ef770286c71 [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" "0acf43053923bf1c846e52b45dce0915b6698c7f27bcb98c3bf90ef770286c71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0acf43053923bf1c846e52b45dce0915b6698c7f27bcb98c3bf90ef770286c71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0acf43053923bf1c846e52b45dce0915b6698c7f27bcb98c3bf90ef770286c71", kill_on_drop: false }` [INFO] [stdout] 0acf43053923bf1c846e52b45dce0915b6698c7f27bcb98c3bf90ef770286c71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d251db5e065ce280fb085793b9a06dfce5beb6eabe2465208220ae8b26d508bd [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" "d251db5e065ce280fb085793b9a06dfce5beb6eabe2465208220ae8b26d508bd", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking twitter_text_config v0.2.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [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] | ^^^^^ 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: 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: 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 20.89s [INFO] running `Command { std: "docker" "inspect" "d251db5e065ce280fb085793b9a06dfce5beb6eabe2465208220ae8b26d508bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d251db5e065ce280fb085793b9a06dfce5beb6eabe2465208220ae8b26d508bd", kill_on_drop: false }` [INFO] [stdout] d251db5e065ce280fb085793b9a06dfce5beb6eabe2465208220ae8b26d508bd