[INFO] cloning repository https://github.com/marcelm/rstrobes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcelm/rstrobes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcelm%2Frstrobes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcelm%2Frstrobes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a782614f74aef58aae37542b480f3dd776179f38 [INFO] testing marcelm/rstrobes against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcelm%2Frstrobes" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/marcelm/rstrobes [INFO] finished tweaking git repo https://github.com/marcelm/rstrobes [INFO] tweaked toml for git repo https://github.com/marcelm/rstrobes written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/marcelm/rstrobes on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/marcelm/rstrobes 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded temp-file v0.1.9 [INFO] [stderr] Downloaded xxhash-rust v0.8.8 [INFO] [stderr] Downloaded sigpipe v0.1.3 [INFO] [stderr] Downloaded target-lexicon v0.12.14 [INFO] [stderr] Downloaded assert_cmd v2.0.16 [INFO] [stderr] Downloaded indoc v2.0.4 [INFO] [stderr] Downloaded pyo3-macros v0.21.0-beta.0 [INFO] [stderr] Downloaded pyo3-ffi v0.21.0-beta.0 [INFO] [stderr] Downloaded pyo3-macros-backend v0.21.0-beta.0 [INFO] [stderr] Downloaded pyo3-build-config v0.21.0-beta.0 [INFO] [stderr] Downloaded pyo3 v0.21.0-beta.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4765af727dc0d2217ae56bce90283c8b863c4b210da67546205381f8fccda91 [INFO] running `Command { std: "docker" "start" "-a" "c4765af727dc0d2217ae56bce90283c8b863c4b210da67546205381f8fccda91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4765af727dc0d2217ae56bce90283c8b863c4b210da67546205381f8fccda91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4765af727dc0d2217ae56bce90283c8b863c4b210da67546205381f8fccda91", kill_on_drop: false }` [INFO] [stdout] c4765af727dc0d2217ae56bce90283c8b863c4b210da67546205381f8fccda91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 886fe518b17fe61293bbb61bc871a801c565f1fa8c519581d87d93d67ebb7ef8 [INFO] running `Command { std: "docker" "start" "-a" "886fe518b17fe61293bbb61bc871a801c565f1fa8c519581d87d93d67ebb7ef8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling xxhash-rust v0.8.8 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling sigpipe v0.1.3 [INFO] [stderr] Compiling rstrobes v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling clap v4.5.28 [INFO] [stdout] error[E0425]: cannot find function `unique` in crate `std` [INFO] [stdout] --> src/chainer.rs:167:22 [INFO] [stdout] | [INFO] [stdout] 167 | std::unique(anchors.begin(), anchors.end()), anchors.end() [INFO] [stdout] | ^^^^^^ not found in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `n_randstrobes` in this scope [INFO] [stdout] --> src/chainer.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | n_randstrobes, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `time_randstrobes` in this scope [INFO] [stdout] --> src/chainer.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | time_randstrobes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `query_randstrobes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `time_sort_nams` in this scope [INFO] [stdout] --> src/chainer.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | time_sort_nams, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hit` [INFO] [stdout] --> src/nam.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::{hit, mapper}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Reverse` [INFO] [stdout] --> src/chainer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Reverse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/chainer.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | precomputed_scores[i] = compute_score(i, i, k, ¶meters); [INFO] [stdout] | ^^^^^^^^^^^^^ - - - expected `i32`, found `usize` [INFO] [stdout] | | | [INFO] [stdout] | | expected `i32`, found `usize` [INFO] [stdout] | expected `i32`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chainer.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | fn compute_score(dq: i32, dr: i32, k: i32, parameters: &ChainingParameters) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ ------- ------- ------ [INFO] [stdout] help: you can convert a `usize` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 40 | precomputed_scores[i] = compute_score(i.try_into().unwrap(), i, k, ¶meters); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] help: you can convert a `usize` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 40 | precomputed_scores[i] = compute_score(i, i.try_into().unwrap(), k, ¶meters); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] help: you can convert a `usize` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 40 | precomputed_scores[i] = compute_score(i, i, k.try_into().unwrap(), ¶meters); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `i64` [INFO] [stdout] --> src/chainer.rs:48:37 [INFO] [stdout] | [INFO] [stdout] 48 | self.precomputed_scores[dq] [INFO] [stdout] | ^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is not implemented for `i64` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `[f32]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[f32; 1024]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/chainer.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | compute_score(dq, dr, self.k, &self.parameters) [INFO] [stdout] | ^^^^^^^^^^^^^ -- -- ------ expected `i32`, found `usize` [INFO] [stdout] | | | [INFO] [stdout] | | expected `i32`, found `i64` [INFO] [stdout] | expected `i32`, found `i64` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chainer.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | fn compute_score(dq: i32, dr: i32, k: i32, parameters: &ChainingParameters) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ ------- ------- ------ [INFO] [stdout] help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 50 | compute_score(dq.try_into().unwrap(), dr, self.k, &self.parameters) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 50 | compute_score(dq, dr.try_into().unwrap(), self.k, &self.parameters) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] help: you can convert a `usize` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 50 | compute_score(dq, dr, self.k.try_into().unwrap(), &self.parameters) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> src/chainer.rs:89:34 [INFO] [stdout] | [INFO] [stdout] 89 | let score = self.compute_score(dq, dr); [INFO] [stdout] | ^^^^^^^^^^^^^ -- -- expected `i64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | expected `i64`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/chainer.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn compute_score(&self, dq: i64, dr: i64) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ ------- ------- [INFO] [stdout] help: you can convert a `usize` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 89 | let score = self.compute_score(dq.try_into().unwrap(), dr); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] help: you can convert a `usize` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 89 | let score = self.compute_score(dq, dr.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `begin` found for struct `Vec` in the current scope [INFO] [stdout] --> src/chainer.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 165 | pdqsort_branchless(anchors.begin(), anchors.end()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `end` found for struct `Vec` in the current scope [INFO] [stdout] --> src/chainer.rs:165:57 [INFO] [stdout] | [INFO] [stdout] 165 | pdqsort_branchless(anchors.begin(), anchors.end()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `append` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/vec/mod.rs:2719:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pdqsort_branchless` in this scope [INFO] [stdout] --> src/chainer.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | pdqsort_branchless(anchors.begin(), anchors.end()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `erase` found for struct `Vec` in the current scope [INFO] [stdout] --> src/chainer.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | anchors.erase( [INFO] [stdout] | --------^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `begin` found for struct `Vec` in the current scope [INFO] [stdout] --> src/chainer.rs:167:37 [INFO] [stdout] | [INFO] [stdout] 167 | std::unique(anchors.begin(), anchors.end()), anchors.end() [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `end` found for struct `Vec` in the current scope [INFO] [stdout] --> src/chainer.rs:167:54 [INFO] [stdout] | [INFO] [stdout] 167 | std::unique(anchors.begin(), anchors.end()), anchors.end() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `append` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/vec/mod.rs:2719:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `end` found for struct `Vec` in the current scope [INFO] [stdout] --> src/chainer.rs:167:70 [INFO] [stdout] | [INFO] [stdout] 167 | std::unique(anchors.begin(), anchors.end()), anchors.end() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `append` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/vec/mod.rs:2719:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ref_end` [INFO] [stdout] --> src/chainer.rs:266:25 [INFO] [stdout] | [INFO] [stdout] 266 | let (ref_start, ref_end) = index.strobe_extent_partial(pos); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ref_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rstrobes` (lib) due to 15 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "886fe518b17fe61293bbb61bc871a801c565f1fa8c519581d87d93d67ebb7ef8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "886fe518b17fe61293bbb61bc871a801c565f1fa8c519581d87d93d67ebb7ef8", kill_on_drop: false }` [INFO] [stdout] 886fe518b17fe61293bbb61bc871a801c565f1fa8c519581d87d93d67ebb7ef8