[INFO] cloning repository https://github.com/4less/sequence_distance_benchmark [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/4less/sequence_distance_benchmark" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F4less%2Fsequence_distance_benchmark", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F4less%2Fsequence_distance_benchmark'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f7cc785201fae955935453471ef66843d00da7e [INFO] building 4less/sequence_distance_benchmark against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F4less%2Fsequence_distance_benchmark" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/4less/sequence_distance_benchmark [INFO] finished tweaking git repo https://github.com/4less/sequence_distance_benchmark [INFO] tweaked toml for git repo https://github.com/4less/sequence_distance_benchmark written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/4less/sequence_distance_benchmark 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/4less/sequence_distance_benchmark 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded which v3.1.1 [INFO] [stderr] Downloaded edit-distance v2.1.3 [INFO] [stderr] Downloaded env_logger v0.7.1 [INFO] [stderr] Downloaded oorandom v11.1.4 [INFO] [stderr] Downloaded rust_wfa v1.0.0 [INFO] [stderr] Downloaded clang-sys v0.29.3 [INFO] [stderr] Downloaded textwrap v0.16.1 [INFO] [stderr] Downloaded cc v1.1.16 [INFO] [stderr] Downloaded nom v5.1.3 [INFO] [stderr] Downloaded bindgen v0.53.3 [INFO] [stderr] Downloaded libwfa v0.1.2 [INFO] [stderr] Downloaded seqalign v0.2.3 [INFO] [stderr] Downloaded triple_accel v0.4.0 [INFO] [stderr] Downloaded hamming v0.1.3 [INFO] [stderr] Downloaded humantime v1.3.0 [INFO] [stderr] Downloaded rust_hamming_distance v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 2930d1cc022341f126bd058f75c2f7b7079bb8b20ba8033aad4cffd6305f26e3 [INFO] running `Command { std: "docker" "start" "-a" "2930d1cc022341f126bd058f75c2f7b7079bb8b20ba8033aad4cffd6305f26e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2930d1cc022341f126bd058f75c2f7b7079bb8b20ba8033aad4cffd6305f26e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2930d1cc022341f126bd058f75c2f7b7079bb8b20ba8033aad4cffd6305f26e3", kill_on_drop: false }` [INFO] [stdout] 2930d1cc022341f126bd058f75c2f7b7079bb8b20ba8033aad4cffd6305f26e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 6f034bdc821cd560c042d8c85251e4dabed3124bc5b2be1a6408fab71dc37c5d [INFO] running `Command { std: "docker" "start" "-a" "6f034bdc821cd560c042d8c85251e4dabed3124bc5b2be1a6408fab71dc37c5d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling cc v1.1.16 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bindgen v0.53.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling plotters-backend v0.3.6 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling clap_builder v4.5.17 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling plotters-svg v0.3.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling plotters v0.3.6 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling rust_hamming_distance v0.1.1 [INFO] [stderr] Compiling edit-distance v2.1.3 [INFO] [stderr] Compiling seqalign v0.2.3 [INFO] [stderr] Compiling triple_accel v0.4.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling hamming v0.1.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling clap v4.5.17 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling rust_wfa v1.0.0 [INFO] [stderr] Compiling libwfa v0.1.2 [INFO] [stderr] Compiling sequence_distance_benchmark v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/test_data.rs:128:22 [INFO] [stdout] | [INFO] [stdout] 128 | for _ in (0..num_indel) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 128 - for _ in (0..num_indel) { [INFO] [stdout] 128 + for _ in 0..num_indel { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indel_pos` [INFO] [stdout] --> src/test_data.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let indel_pos = Self::generate_x_out_of_n(num_indel, sequence.len()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indel_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/test_data.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reference` [INFO] [stdout] --> src/main.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | use lib::{alignment_lib::Penalties, reference, wavefront_alignment::wavefront_align}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/test_data.rs:128:22 [INFO] [stdout] | [INFO] [stdout] 128 | for _ in (0..num_indel) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 128 - for _ in (0..num_indel) { [INFO] [stdout] 128 + for _ in 0..num_indel { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wavefront_alignment::wavefront_align` [INFO] [stdout] --> src/benches/edit_benchmark.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use lib::{alignment_lib::Penalties, wavefront_alignment::wavefront_align}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indel_pos` [INFO] [stdout] --> src/test_data.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let indel_pos = Self::generate_x_out_of_n(num_indel, sequence.len()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indel_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/test_data.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alloc` [INFO] [stdout] --> src/benches/edit_benchmark.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let alloc = MMAllocator::new(BUFFER_SIZE_8M as u64); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/benches/edit_benchmark.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let data = Data::generate(0.0, 0.0, 150, 1_000); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `penalties` [INFO] [stdout] --> src/benches/edit_benchmark.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut penalties = AffinePenalties { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_penalties` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pens` [INFO] [stdout] --> src/benches/edit_benchmark.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let pens = Penalties { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `samples` [INFO] [stdout] --> src/benches/edit_benchmark.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let samples = 100; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_samples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/benches/edit_benchmark.rs:168:15 [INFO] [stdout] | [INFO] [stdout] 168 | for (id, (name, data)) in datasets.iter().enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/benches/edit_benchmark.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let mut penalties = AffinePenalties { [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] [stdout] warning: function `test_wfa` is never used [INFO] [stdout] --> src/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn test_wfa() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hamming_fast` is never used [INFO] [stdout] --> src/edit.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn hamming_fast(query: &[u8], reference: &[u8]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hamming_32` is never used [INFO] [stdout] --> src/edit.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn hamming_32(s1: &[u8], s2: &[u8]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hamming_64` is never used [INFO] [stdout] --> src/edit.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn hamming_64(s1: &[u8], s2: &[u8]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hamming_128` is never used [INFO] [stdout] --> src/edit.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn hamming_128(s1: &[u8], s2: &[u8]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wfa` is never used [INFO] [stdout] --> src/alignment.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn wfa() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `libwfa` is never used [INFO] [stdout] --> src/alignment.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn libwfa(query: &[u8], reference: &[u8], alloc: &MMAllocator, penalties: &mut AffinePenalties) -> isize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "6f034bdc821cd560c042d8c85251e4dabed3124bc5b2be1a6408fab71dc37c5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f034bdc821cd560c042d8c85251e4dabed3124bc5b2be1a6408fab71dc37c5d", kill_on_drop: false }` [INFO] [stdout] 6f034bdc821cd560c042d8c85251e4dabed3124bc5b2be1a6408fab71dc37c5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] b816dec82610fbc98a22ad3022d47a910b2e502fc979ca70bd2a1ba15c03ecd6 [INFO] running `Command { std: "docker" "start" "-a" "b816dec82610fbc98a22ad3022d47a910b2e502fc979ca70bd2a1ba15c03ecd6", kill_on_drop: false }` [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/test_data.rs:128:22 [INFO] [stdout] | [INFO] [stdout] 128 | for _ in (0..num_indel) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 128 - for _ in (0..num_indel) { [INFO] [stdout] 128 + for _ in 0..num_indel { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indel_pos` [INFO] [stdout] --> src/test_data.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let indel_pos = Self::generate_x_out_of_n(num_indel, sequence.len()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indel_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/test_data.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sequence_distance_benchmark v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/test_data.rs:128:22 [INFO] [stdout] | [INFO] [stdout] 128 | for _ in (0..num_indel) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 128 - for _ in (0..num_indel) { [INFO] [stdout] 128 + for _ in 0..num_indel { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indel_pos` [INFO] [stdout] --> src/test_data.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let indel_pos = Self::generate_x_out_of_n(num_indel, sequence.len()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indel_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/test_data.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reference` [INFO] [stdout] --> src/main.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | use lib::{alignment_lib::Penalties, reference, wavefront_alignment::wavefront_align}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/test_data.rs:128:22 [INFO] [stdout] | [INFO] [stdout] 128 | for _ in (0..num_indel) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 128 - for _ in (0..num_indel) { [INFO] [stdout] 128 + for _ in 0..num_indel { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wavefront_alignment::wavefront_align` [INFO] [stdout] --> src/benches/edit_benchmark.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use lib::{alignment_lib::Penalties, wavefront_alignment::wavefront_align}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indel_pos` [INFO] [stdout] --> src/test_data.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let indel_pos = Self::generate_x_out_of_n(num_indel, sequence.len()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indel_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/test_data.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alloc` [INFO] [stdout] --> src/benches/edit_benchmark.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let alloc = MMAllocator::new(BUFFER_SIZE_8M as u64); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/benches/edit_benchmark.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let data = Data::generate(0.0, 0.0, 150, 1_000); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `penalties` [INFO] [stdout] --> src/benches/edit_benchmark.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut penalties = AffinePenalties { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_penalties` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pens` [INFO] [stdout] --> src/benches/edit_benchmark.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let pens = Penalties { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `samples` [INFO] [stdout] --> src/benches/edit_benchmark.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let samples = 100; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_samples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/benches/edit_benchmark.rs:168:15 [INFO] [stdout] | [INFO] [stdout] 168 | for (id, (name, data)) in datasets.iter().enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/benches/edit_benchmark.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let mut penalties = AffinePenalties { [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] [stdout] warning: function `test_wfa` is never used [INFO] [stdout] --> src/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn test_wfa() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hamming_fast` is never used [INFO] [stdout] --> src/edit.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn hamming_fast(query: &[u8], reference: &[u8]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hamming_32` is never used [INFO] [stdout] --> src/edit.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn hamming_32(s1: &[u8], s2: &[u8]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hamming_64` is never used [INFO] [stdout] --> src/edit.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn hamming_64(s1: &[u8], s2: &[u8]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hamming_128` is never used [INFO] [stdout] --> src/edit.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn hamming_128(s1: &[u8], s2: &[u8]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wfa` is never used [INFO] [stdout] --> src/alignment.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn wfa() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `libwfa` is never used [INFO] [stdout] --> src/alignment.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn libwfa(query: &[u8], reference: &[u8], alloc: &MMAllocator, penalties: &mut AffinePenalties) -> isize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.54s [INFO] running `Command { std: "docker" "inspect" "b816dec82610fbc98a22ad3022d47a910b2e502fc979ca70bd2a1ba15c03ecd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b816dec82610fbc98a22ad3022d47a910b2e502fc979ca70bd2a1ba15c03ecd6", kill_on_drop: false }` [INFO] [stdout] b816dec82610fbc98a22ad3022d47a910b2e502fc979ca70bd2a1ba15c03ecd6