[INFO] cloning repository https://github.com/SMartinScottLogic/name-similarity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SMartinScottLogic/name-similarity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSMartinScottLogic%2Fname-similarity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSMartinScottLogic%2Fname-similarity'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e372b61b025b732028c2db4dee41d3da5f241528 [INFO] testing SMartinScottLogic/name-similarity against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSMartinScottLogic%2Fname-similarity" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SMartinScottLogic/name-similarity [INFO] finished tweaking git repo https://github.com/SMartinScottLogic/name-similarity [INFO] tweaked toml for git repo https://github.com/SMartinScottLogic/name-similarity written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SMartinScottLogic/name-similarity 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] crate git repo https://github.com/SMartinScottLogic/name-similarity already has a lockfile, it will not be regenerated [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 serde_derive v1.0.189 [INFO] [stderr] Downloaded opentelemetry-http v0.9.0 [INFO] [stderr] Downloaded ipnet v2.8.0 [INFO] [stderr] Downloaded clap_derive v4.0.9 [INFO] [stderr] Downloaded tokio-util v0.7.9 [INFO] [stderr] Downloaded base64 v0.21.4 [INFO] [stderr] Downloaded openssl-sys v0.9.93 [INFO] [stderr] Downloaded serde v1.0.189 [INFO] [stderr] Downloaded h2 v0.3.21 [INFO] [stderr] Downloaded clap v4.0.9 [INFO] [stderr] Downloaded rustix v0.38.20 [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] 407ce02a6d71949509a8f15dab68d74ef601b0c6c43277991d14fb282dcf475c [INFO] running `Command { std: "docker" "start" "-a" "407ce02a6d71949509a8f15dab68d74ef601b0c6c43277991d14fb282dcf475c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "407ce02a6d71949509a8f15dab68d74ef601b0c6c43277991d14fb282dcf475c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "407ce02a6d71949509a8f15dab68d74ef601b0c6c43277991d14fb282dcf475c", kill_on_drop: false }` [INFO] [stdout] 407ce02a6d71949509a8f15dab68d74ef601b0c6c43277991d14fb282dcf475c [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] e2bb54354086d2960c6e9f900dfa14ea55d15c88a65d25196e72430f19261bb8 [INFO] running `Command { std: "docker" "start" "-a" "e2bb54354086d2960c6e9f900dfa14ea55d15c88a65d25196e72430f19261bb8", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling syn v1.0.101 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling base64 v0.21.4 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling os_str_bytes v6.3.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling clap_lex v0.3.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling clap_derive v4.0.9 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling clap v4.0.9 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Compiling opentelemetry_api v0.20.0 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling opentelemetry_sdk v0.20.0 [INFO] [stderr] Compiling tokio-util v0.7.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling opentelemetry v0.20.0 [INFO] [stderr] Compiling opentelemetry-semantic-conventions v0.12.0 [INFO] [stderr] Compiling tracing-opentelemetry v0.21.0 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling opentelemetry-http v0.9.0 [INFO] [stderr] Compiling tonic v0.9.2 [INFO] [stderr] Compiling opentelemetry-proto v0.3.0 [INFO] [stderr] Compiling opentelemetry-otlp v0.13.0 [INFO] [stderr] Compiling name-similarity v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HttpClient` and `HttpError` [INFO] [stdout] --> src/main.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use opentelemetry_http::{HttpClient, HttpError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread::sleep` and `time::Duration` [INFO] [stdout] --> src/main.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{collections::HashSet, path::PathBuf, thread::sleep, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | .fold(Vec::new(), |mut acc, entry| process_file(acc, entry, &filename_regex, trie_len)) [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.03s [INFO] running `Command { std: "docker" "inspect" "e2bb54354086d2960c6e9f900dfa14ea55d15c88a65d25196e72430f19261bb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2bb54354086d2960c6e9f900dfa14ea55d15c88a65d25196e72430f19261bb8", kill_on_drop: false }` [INFO] [stdout] e2bb54354086d2960c6e9f900dfa14ea55d15c88a65d25196e72430f19261bb8 [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] 5a6c09a6b88d2d3e28616c87b1453283a4d925e4b77cb1497e35e394a336b10f [INFO] running `Command { std: "docker" "start" "-a" "5a6c09a6b88d2d3e28616c87b1453283a4d925e4b77cb1497e35e394a336b10f", kill_on_drop: false }` [INFO] [stderr] Compiling name-similarity v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HttpClient` and `HttpError` [INFO] [stdout] --> src/main.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use opentelemetry_http::{HttpClient, HttpError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread::sleep` and `time::Duration` [INFO] [stdout] --> src/main.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{collections::HashSet, path::PathBuf, thread::sleep, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | .fold(Vec::new(), |mut acc, entry| process_file(acc, entry, &filename_regex, trie_len)) [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "5a6c09a6b88d2d3e28616c87b1453283a4d925e4b77cb1497e35e394a336b10f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a6c09a6b88d2d3e28616c87b1453283a4d925e4b77cb1497e35e394a336b10f", kill_on_drop: false }` [INFO] [stdout] 5a6c09a6b88d2d3e28616c87b1453283a4d925e4b77cb1497e35e394a336b10f [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", kill_on_drop: false }` [INFO] [stdout] 1f5d70e93ff9f43a4bda4466abff7c0ab7b8eadb7e1e2da4f3cdf615d9902948 [INFO] running `Command { std: "docker" "start" "-a" "1f5d70e93ff9f43a4bda4466abff7c0ab7b8eadb7e1e2da4f3cdf615d9902948", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `HttpClient` and `HttpError` [INFO] [stderr] --> src/main.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 3 | use opentelemetry_http::{HttpClient, HttpError}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `thread::sleep` and `time::Duration` [INFO] [stderr] --> src/main.rs:7:48 [INFO] [stderr] | [INFO] [stderr] 7 | use std::{collections::HashSet, path::PathBuf, thread::sleep, time::Duration}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:77:28 [INFO] [stderr] | [INFO] [stderr] 77 | .fold(Vec::new(), |mut acc, entry| process_file(acc, entry, &filename_regex, trie_len)) [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `name-similarity` (bin "name-similarity" test) generated 3 warnings (run `cargo fix --bin "name-similarity" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/name_similarity-593fc58b256419df) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1f5d70e93ff9f43a4bda4466abff7c0ab7b8eadb7e1e2da4f3cdf615d9902948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f5d70e93ff9f43a4bda4466abff7c0ab7b8eadb7e1e2da4f3cdf615d9902948", kill_on_drop: false }` [INFO] [stdout] 1f5d70e93ff9f43a4bda4466abff7c0ab7b8eadb7e1e2da4f3cdf615d9902948