[INFO] cloning repository https://github.com/tremwil/scanner-bench [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tremwil/scanner-bench" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftremwil%2Fscanner-bench", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftremwil%2Fscanner-bench'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] edfd7106cfdb8131f8b9e572a838939fb592c5e6 [INFO] testing tremwil/scanner-bench against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftremwil%2Fscanner-bench" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/tremwil/scanner-bench [INFO] finished tweaking git repo https://github.com/tremwil/scanner-bench [INFO] tweaked toml for git repo https://github.com/tremwil/scanner-bench written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tremwil/scanner-bench on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tremwil/scanner-bench 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded no-std-compat v0.4.1 [INFO] [stderr] Downloaded simple_logger v5.0.0 [INFO] [stderr] Downloaded derive_pod v0.1.2 [INFO] [stderr] Downloaded pelite-macros v0.1.1 [INFO] [stderr] Downloaded dataview v1.0.1 [INFO] [stderr] Downloaded pelite v0.10.0 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83eaee76d62d92b919ad95a2be07b2c1e21936723da148f4286d3153fb8be1c2 [INFO] running `Command { std: "docker" "start" "-a" "83eaee76d62d92b919ad95a2be07b2c1e21936723da148f4286d3153fb8be1c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83eaee76d62d92b919ad95a2be07b2c1e21936723da148f4286d3153fb8be1c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83eaee76d62d92b919ad95a2be07b2c1e21936723da148f4286d3153fb8be1c2", kill_on_drop: false }` [INFO] [stdout] 83eaee76d62d92b919ad95a2be07b2c1e21936723da148f4286d3153fb8be1c2 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 210bef45926b8b722aaf31e25cbfa0ce86459f96cdf660dbfc289f8cdbf61ea9 [INFO] running `Command { std: "docker" "start" "-a" "210bef45926b8b722aaf31e25cbfa0ce86459f96cdf660dbfc289f8cdbf61ea9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.5 [INFO] [stderr] Compiling derive_pod v0.1.2 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling no-std-compat v0.4.1 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling scanner-bench v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling pelite-macros v0.1.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling dataview v1.0.1 [INFO] [stderr] Compiling windows-targets v0.52.5 [INFO] [stderr] Compiling pelite v0.10.0 [INFO] [stderr] Compiling windows-result v0.1.2 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling simple_logger v5.0.0 [INFO] [stderr] Compiling windows-implement v0.57.0 [INFO] [stderr] Compiling windows-interface v0.57.0 [INFO] [stderr] Compiling windows-core v0.57.0 [INFO] [stderr] Compiling windows v0.57.0 [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: `Pat16Scanner` [INFO] [stdout] --> src/main.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | foreign::{MemScanner, Pat16Scanner}, [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 import: `crate::main` [INFO] [stdout] --> src/scanners/multi_needle_simd.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::main; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/scanners/foreign.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 42 | [].into_iter() [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/scanners/foreign.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 64 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 65 | [].into_iter() [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/scanners/multi_needle_simd.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 136 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 137 | return [].into_iter(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/scanners/simd.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 194 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 195 | return [].into_iter(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/scanners/multi_needle_simd.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe { prefetch_read_data(chunk.as_array().as_ptr().add(L * 64), 3) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ - unexpected argument #2 of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/intrinsics/mod.rs:275:13 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 110 - unsafe { prefetch_read_data(chunk.as_array().as_ptr().add(L * 64), 3) }; [INFO] [stdout] 110 + unsafe { prefetch_read_data(chunk.as_array().as_ptr().add(L * 64)) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/scanners/simd.rs:175:22 [INFO] [stdout] | [INFO] [stdout] 175 | unsafe { prefetch_read_data(chunk.as_array().as_ptr().add(N * 64), 3) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ - unexpected argument #2 of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/intrinsics/mod.rs:275:13 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 175 - unsafe { prefetch_read_data(chunk.as_array().as_ptr().add(N * 64), 3) }; [INFO] [stdout] 175 + unsafe { prefetch_read_data(chunk.as_array().as_ptr().add(N * 64)) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/pattern.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | fn from_string(string: impl AsRef) -> Option { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `haystack` [INFO] [stdout] --> src/scanners/foreign.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | fn find_all(&self, haystack: &[u8], pat: &impl Pattern) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_haystack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pat` [INFO] [stdout] --> src/scanners/foreign.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | fn find_all(&self, haystack: &[u8], pat: &impl Pattern) -> impl Iterator { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `haystack` [INFO] [stdout] --> src/scanners/foreign.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | fn find_all(&self, haystack: &[u8], pat: &impl Pattern) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_haystack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pat` [INFO] [stdout] --> src/scanners/foreign.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | fn find_all(&self, haystack: &[u8], pat: &impl Pattern) -> impl Iterator { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `haystack` [INFO] [stdout] --> src/scanners/multi_needle_simd.rs:135:24 [INFO] [stdout] | [INFO] [stdout] 135 | fn find_all(&self, haystack: &[u8], pat: &impl Pattern) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_haystack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pat` [INFO] [stdout] --> src/scanners/multi_needle_simd.rs:135:41 [INFO] [stdout] | [INFO] [stdout] 135 | fn find_all(&self, haystack: &[u8], pat: &impl Pattern) -> impl Iterator { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `haystack` [INFO] [stdout] --> src/scanners/simd.rs:193:24 [INFO] [stdout] | [INFO] [stdout] 193 | fn find_all(&self, haystack: &[u8], pat: &impl Pattern) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_haystack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pat` [INFO] [stdout] --> src/scanners/simd.rs:193:41 [INFO] [stdout] | [INFO] [stdout] 193 | fn find_all(&self, haystack: &[u8], pat: &impl Pattern) -> impl Iterator { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `scanner-bench` (bin "scanner-bench") due to 2 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "210bef45926b8b722aaf31e25cbfa0ce86459f96cdf660dbfc289f8cdbf61ea9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "210bef45926b8b722aaf31e25cbfa0ce86459f96cdf660dbfc289f8cdbf61ea9", kill_on_drop: false }` [INFO] [stdout] 210bef45926b8b722aaf31e25cbfa0ce86459f96cdf660dbfc289f8cdbf61ea9