[INFO] fetching crate pgm_index 0.3.2... [INFO] checking pgm_index-0.3.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate pgm_index 0.3.2 into /workspace/builds/worker-3-tc1/source [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate pgm_index 0.3.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate pgm_index 0.3.2 [INFO] tweaked toml for crates.io crate pgm_index 0.3.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pgm_index 0.3.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pgm_index 0.3.2 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccd6d43da3d9ae31aea2d18622565a05ac3758f800039081c6bd0bc6864f1e17 [INFO] running `Command { std: "docker" "start" "-a" "ccd6d43da3d9ae31aea2d18622565a05ac3758f800039081c6bd0bc6864f1e17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccd6d43da3d9ae31aea2d18622565a05ac3758f800039081c6bd0bc6864f1e17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccd6d43da3d9ae31aea2d18622565a05ac3758f800039081c6bd0bc6864f1e17", kill_on_drop: false }` [INFO] [stdout] ccd6d43da3d9ae31aea2d18622565a05ac3758f800039081c6bd0bc6864f1e17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be11f8a88a6116a608fdf27df961d968fd2730fab51977025f9816aa06d3ed7f [INFO] running `Command { std: "docker" "start" "-a" "be11f8a88a6116a608fdf27df961d968fd2730fab51977025f9816aa06d3ed7f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking clap_builder v4.5.44 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling syn v2.0.105 [INFO] [stderr] Checking clap v4.5.45 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking pgm_index v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/pgm_index.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `jemalloc` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/pgm_index.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `jemalloc` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/pgm_index.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `jemalloc` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/pgm_index.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `jemalloc` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/pgm_index.rs:353:7 [INFO] [stdout] | [INFO] [stdout] 353 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `jemalloc` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SegmentLookupConfig` is never constructed [INFO] [stdout] --> src/pgm_index.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct SegmentLookupConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/pgm_index.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `jemalloc` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/pgm_index.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `jemalloc` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/pgm_index.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `jemalloc` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/pgm_index.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `jemalloc` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/pgm_index.rs:353:7 [INFO] [stdout] | [INFO] [stdout] 353 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `jemalloc` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `batch_get` found for reference `&&PGMIndex` in the current scope [INFO] [stdout] --> benches/pgm_vs_binary.rs:82:41 [INFO] [stdout] | [INFO] [stdout] 82 | let results = index.batch_get(queries); [INFO] [stdout] | ^^^^^^^^^ method not found in `&&PGMIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/pgm_vs_binary.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 104 | |b, (data, &epsilon)| { [INFO] [stdout] | -------^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | expected integer, found `&_` [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found reference `&_` [INFO] [stdout] help: consider removing `&` from the pattern [INFO] [stdout] | [INFO] [stdout] 104 - |b, (data, &epsilon)| { [INFO] [stdout] 104 + |b, (data, epsilon)| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SegmentLookupConfig` is never constructed [INFO] [stdout] --> src/pgm_index.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct SegmentLookupConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/pgm_vs_binary.rs:106:51 [INFO] [stdout] | [INFO] [stdout] 106 | let index = PGMIndex::new(data.clone(), epsilon); [INFO] [stdout] | ------------- ^^^^^^^^^^^^ expected `Vec<_>`, found `&Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec<_>` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/pgm_index.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(data: Vec, epsilon: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 106 - let index = PGMIndex::new(data.clone(), epsilon); [INFO] [stdout] 106 + let index = PGMIndex::new(data.to_vec(), epsilon); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pgm_index` (bench "pgm_vs_binary") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "be11f8a88a6116a608fdf27df961d968fd2730fab51977025f9816aa06d3ed7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be11f8a88a6116a608fdf27df961d968fd2730fab51977025f9816aa06d3ed7f", kill_on_drop: false }` [INFO] [stdout] be11f8a88a6116a608fdf27df961d968fd2730fab51977025f9816aa06d3ed7f