[INFO] cloning repository https://github.com/forando/tsim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/forando/tsim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforando%2Ftsim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforando%2Ftsim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8b23346c590bc92d16f9dc66bd00f8dd5b6cb75 [INFO] testing forando/tsim against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforando%2Ftsim" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/forando/tsim [INFO] finished tweaking git repo https://github.com/forando/tsim [INFO] tweaked toml for git repo https://github.com/forando/tsim written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/forando/tsim on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/forando/tsim 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.36 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49b7cd66c9d806bf4d0bca0c4ed78482aecdc4c74a5e371670ddac1444fdd43e [INFO] running `Command { std: "docker" "start" "-a" "49b7cd66c9d806bf4d0bca0c4ed78482aecdc4c74a5e371670ddac1444fdd43e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49b7cd66c9d806bf4d0bca0c4ed78482aecdc4c74a5e371670ddac1444fdd43e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49b7cd66c9d806bf4d0bca0c4ed78482aecdc4c74a5e371670ddac1444fdd43e", kill_on_drop: false }` [INFO] [stdout] 49b7cd66c9d806bf4d0bca0c4ed78482aecdc4c74a5e371670ddac1444fdd43e [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d48029f32152d05bd8c71847d6f8a35013b2149451eeb036a5455735b8e78d59 [INFO] running `Command { std: "docker" "start" "-a" "d48029f32152d05bd8c71847d6f8a35013b2149451eeb036a5455735b8e78d59", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling anyhow v1.0.36 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling terminal_size v0.1.15 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling console v0.13.0 [INFO] [stderr] Compiling indicatif v0.15.0 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling bstr v0.2.14 [INFO] [stderr] Compiling csv v1.1.5 [INFO] [stderr] Compiling tsim v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.36s [INFO] running `Command { std: "docker" "inspect" "d48029f32152d05bd8c71847d6f8a35013b2149451eeb036a5455735b8e78d59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d48029f32152d05bd8c71847d6f8a35013b2149451eeb036a5455735b8e78d59", kill_on_drop: false }` [INFO] [stdout] d48029f32152d05bd8c71847d6f8a35013b2149451eeb036a5455735b8e78d59 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7036590cd820d4e50d9cd3e15921538be88f0d229309b793bd659f9a924ef260 [INFO] running `Command { std: "docker" "start" "-a" "7036590cd820d4e50d9cd3e15921538be88f0d229309b793bd659f9a924ef260", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling tsim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/csv_extractor.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | let pb = PathBuf::from(Box::new(path).as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_allocation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/csv_extractor.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | let pb = PathBuf::from(Box::new(path).as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.61s [INFO] running `Command { std: "docker" "inspect" "7036590cd820d4e50d9cd3e15921538be88f0d229309b793bd659f9a924ef260", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7036590cd820d4e50d9cd3e15921538be88f0d229309b793bd659f9a924ef260", kill_on_drop: false }` [INFO] [stdout] 7036590cd820d4e50d9cd3e15921538be88f0d229309b793bd659f9a924ef260 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a994246cef24b0d23a3cb4ac0dad4e41b31fbae6de28304c02a32e4442f9d578 [INFO] running `Command { std: "docker" "start" "-a" "a994246cef24b0d23a3cb4ac0dad4e41b31fbae6de28304c02a32e4442f9d578", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary allocation, use `&` instead [INFO] [stderr] --> src/csv_extractor.rs:63:32 [INFO] [stderr] | [INFO] [stderr] 63 | let pb = PathBuf::from(Box::new(path).as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_allocation)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary allocation, use `&` instead [INFO] [stderr] --> src/csv_extractor.rs:93:32 [INFO] [stderr] | [INFO] [stderr] 93 | let pb = PathBuf::from(Box::new(path).as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tsim` (bin "tsim" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/tsim-f5f9d31ccf0116ec) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test csv_extractor::tests::should_throw_error_if_no_file ... ok [INFO] [stdout] test similarity_analyzer::tests::should_calculate_total_combinations ... ok [INFO] [stdout] test utils::tests::should_calculate_shift_left ... ok [INFO] [stdout] test similarity_analyzer::tests::should_calculate_similarity ... ok [INFO] [stdout] test csv_extractor::tests::should_throw_error_if_file_empty ... ok [INFO] [stdout] test similarity_analyzer::tests::should_not_run_similarities_if_zero_records ... ok [INFO] [stdout] test utils::tests::should_calculate_shift_right ... ok [INFO] [stdout] test similarity_analyzer::tests::should_split_string ... ok [INFO] [stdout] test csv_extractor::tests::should_load_csv ... ok [INFO] [stdout] test similarity_analyzer::tests::should_run_similarities ... ok [INFO] [stdout] test similarity_analyzer::tests::should_not_run_similarities_if_exactly_one_record ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a994246cef24b0d23a3cb4ac0dad4e41b31fbae6de28304c02a32e4442f9d578", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a994246cef24b0d23a3cb4ac0dad4e41b31fbae6de28304c02a32e4442f9d578", kill_on_drop: false }` [INFO] [stdout] a994246cef24b0d23a3cb4ac0dad4e41b31fbae6de28304c02a32e4442f9d578