[INFO] fetching crate parattice 0.2.2... [INFO] testing parattice-0.2.2 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate parattice 0.2.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate parattice 0.2.2 [INFO] finished tweaking crates.io crate parattice 0.2.2 [INFO] tweaked toml for crates.io crate parattice 0.2.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate parattice 0.2.2 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c135233fac0c1af49a8f5267b6c572c0f77e95eea281d5ea35c8d2ce6f4c050e [INFO] running `Command { std: "docker" "start" "-a" "c135233fac0c1af49a8f5267b6c572c0f77e95eea281d5ea35c8d2ce6f4c050e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c135233fac0c1af49a8f5267b6c572c0f77e95eea281d5ea35c8d2ce6f4c050e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c135233fac0c1af49a8f5267b6c572c0f77e95eea281d5ea35c8d2ce6f4c050e", kill_on_drop: false }` [INFO] [stdout] c135233fac0c1af49a8f5267b6c572c0f77e95eea281d5ea35c8d2ce6f4c050e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e90af0c1bccd8483ba2a0bac0458daccc296b31a1f0210d6fd2112cd9113d9d4 [INFO] running `Command { std: "docker" "start" "-a" "e90af0c1bccd8483ba2a0bac0458daccc296b31a1f0210d6fd2112cd9113d9d4", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling parattice v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parattice.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | let mut node = &mut pma[*node_id_next]; [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lattice.rs:417:34 [INFO] [stdout] | [INFO] [stdout] 417 | pub fn dump_for_search_index(&self) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 417 | pub fn dump_for_search_index(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/externs.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | CString::from_raw(s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 15 | let _ = CString::from_raw(s); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/externs.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | Box::from_raw(parattice); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 55 | let _ = Box::from_raw(parattice); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/externs.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | Box::from_raw(lattice); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 101 | let _ = Box::from_raw(lattice); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/externs.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | Box::from_raw(latticekmp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 203 | let _ = Box::from_raw(latticekmp); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/externs.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | Box::from_raw(results); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 218 | let _ = Box::from_raw(results); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | (*results)[index].len() [INFO] [stdout] | ^^-------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/externs.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | (*results)[index].len() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 233 | (&(*results))[index].len() [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | for i in 0..(*results)[index].len() { [INFO] [stdout] | ^^-------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/externs.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | for i in 0..(*results)[index].len() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 242 | for i in 0..(&(*results))[index].len() { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:243:25 [INFO] [stdout] | [INFO] [stdout] 243 | *nodes.add(i) = (*results)[index][i].1; [INFO] [stdout] | ^^-------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<(&str, usize)>` [INFO] [stdout] --> src/externs.rs:243:25 [INFO] [stdout] | [INFO] [stdout] 243 | *nodes.add(i) = (*results)[index][i].1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 243 | *nodes.add(i) = (&(*results)[index])[i].1; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:243:25 [INFO] [stdout] | [INFO] [stdout] 243 | *nodes.add(i) = (*results)[index][i].1; [INFO] [stdout] | ^^-------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/externs.rs:243:25 [INFO] [stdout] | [INFO] [stdout] 243 | *nodes.add(i) = (*results)[index][i].1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 243 | *nodes.add(i) = (&(*results))[index][i].1; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | for i in 0..(*results)[index].len() { [INFO] [stdout] | ^^-------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/externs.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | for i in 0..(*results)[index].len() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 254 | for i in 0..(&(*results))[index].len() { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:255:31 [INFO] [stdout] | [INFO] [stdout] 255 | *edge_labels.add(i) = (*results)[index][i].0.as_ptr(); [INFO] [stdout] | ^^-------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<(&str, usize)>` [INFO] [stdout] --> src/externs.rs:255:31 [INFO] [stdout] | [INFO] [stdout] 255 | *edge_labels.add(i) = (*results)[index][i].0.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 255 | *edge_labels.add(i) = (&(*results)[index])[i].0.as_ptr(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:255:31 [INFO] [stdout] | [INFO] [stdout] 255 | *edge_labels.add(i) = (*results)[index][i].0.as_ptr(); [INFO] [stdout] | ^^-------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/externs.rs:255:31 [INFO] [stdout] | [INFO] [stdout] 255 | *edge_labels.add(i) = (*results)[index][i].0.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 255 | *edge_labels.add(i) = (&(*results))[index][i].0.as_ptr(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (*results)[index][i].0.len(); [INFO] [stdout] | ^^-------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&str` [INFO] [stdout] --> src/externs.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (*results)[index][i].0.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/str/mod.rs:141:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (&(*results)[index][i].0).len(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (*results)[index][i].0.len(); [INFO] [stdout] | ^^-------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<(&str, usize)>` [INFO] [stdout] --> src/externs.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (*results)[index][i].0.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (&(*results)[index])[i].0.len(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (*results)[index][i].0.len(); [INFO] [stdout] | ^^-------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/externs.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (*results)[index][i].0.len(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (&(*results))[index][i].0.len(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `Command { std: "docker" "inspect" "e90af0c1bccd8483ba2a0bac0458daccc296b31a1f0210d6fd2112cd9113d9d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e90af0c1bccd8483ba2a0bac0458daccc296b31a1f0210d6fd2112cd9113d9d4", kill_on_drop: false }` [INFO] [stdout] e90af0c1bccd8483ba2a0bac0458daccc296b31a1f0210d6fd2112cd9113d9d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f94a2346d60acf4a0dfa30aa7e865fd02048a6d0045f4bb75c7eb8993ea121e [INFO] running `Command { std: "docker" "start" "-a" "9f94a2346d60acf4a0dfa30aa7e865fd02048a6d0045f4bb75c7eb8993ea121e", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parattice.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | let mut node = &mut pma[*node_id_next]; [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lattice.rs:417:34 [INFO] [stdout] | [INFO] [stdout] 417 | pub fn dump_for_search_index(&self) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 417 | pub fn dump_for_search_index(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/externs.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | CString::from_raw(s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 15 | let _ = CString::from_raw(s); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/externs.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | Box::from_raw(parattice); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 55 | let _ = Box::from_raw(parattice); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/externs.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | Box::from_raw(lattice); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 101 | let _ = Box::from_raw(lattice); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/externs.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | Box::from_raw(latticekmp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 203 | let _ = Box::from_raw(latticekmp); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/externs.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | Box::from_raw(results); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 218 | let _ = Box::from_raw(results); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | (*results)[index].len() [INFO] [stdout] | ^^-------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/externs.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | (*results)[index].len() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 233 | (&(*results))[index].len() [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | for i in 0..(*results)[index].len() { [INFO] [stdout] | ^^-------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/externs.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | for i in 0..(*results)[index].len() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 242 | for i in 0..(&(*results))[index].len() { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:243:25 [INFO] [stdout] | [INFO] [stdout] 243 | *nodes.add(i) = (*results)[index][i].1; [INFO] [stdout] | ^^-------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<(&str, usize)>` [INFO] [stdout] --> src/externs.rs:243:25 [INFO] [stdout] | [INFO] [stdout] 243 | *nodes.add(i) = (*results)[index][i].1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 243 | *nodes.add(i) = (&(*results)[index])[i].1; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:243:25 [INFO] [stdout] | [INFO] [stdout] 243 | *nodes.add(i) = (*results)[index][i].1; [INFO] [stdout] | ^^-------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/externs.rs:243:25 [INFO] [stdout] | [INFO] [stdout] 243 | *nodes.add(i) = (*results)[index][i].1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 243 | *nodes.add(i) = (&(*results))[index][i].1; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | for i in 0..(*results)[index].len() { [INFO] [stdout] | ^^-------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/externs.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | for i in 0..(*results)[index].len() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 254 | for i in 0..(&(*results))[index].len() { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:255:31 [INFO] [stdout] | [INFO] [stdout] 255 | *edge_labels.add(i) = (*results)[index][i].0.as_ptr(); [INFO] [stdout] | ^^-------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<(&str, usize)>` [INFO] [stdout] --> src/externs.rs:255:31 [INFO] [stdout] | [INFO] [stdout] 255 | *edge_labels.add(i) = (*results)[index][i].0.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 255 | *edge_labels.add(i) = (&(*results)[index])[i].0.as_ptr(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:255:31 [INFO] [stdout] | [INFO] [stdout] 255 | *edge_labels.add(i) = (*results)[index][i].0.as_ptr(); [INFO] [stdout] | ^^-------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/externs.rs:255:31 [INFO] [stdout] | [INFO] [stdout] 255 | *edge_labels.add(i) = (*results)[index][i].0.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 255 | *edge_labels.add(i) = (&(*results))[index][i].0.as_ptr(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (*results)[index][i].0.len(); [INFO] [stdout] | ^^-------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&str` [INFO] [stdout] --> src/externs.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (*results)[index][i].0.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/str/mod.rs:141:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (&(*results)[index][i].0).len(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (*results)[index][i].0.len(); [INFO] [stdout] | ^^-------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<(&str, usize)>` [INFO] [stdout] --> src/externs.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (*results)[index][i].0.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (&(*results)[index])[i].0.len(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (*results)[index][i].0.len(); [INFO] [stdout] | ^^-------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/externs.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (*results)[index][i].0.len(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (&(*results))[index][i].0.len(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling parattice v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parattice.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | let mut node = &mut pma[*node_id_next]; [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lattice.rs:417:34 [INFO] [stdout] | [INFO] [stdout] 417 | pub fn dump_for_search_index(&self) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 417 | pub fn dump_for_search_index(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/externs.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | CString::from_raw(s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 15 | let _ = CString::from_raw(s); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/externs.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | Box::from_raw(parattice); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 55 | let _ = Box::from_raw(parattice); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/externs.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | Box::from_raw(lattice); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 101 | let _ = Box::from_raw(lattice); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/externs.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | Box::from_raw(latticekmp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 203 | let _ = Box::from_raw(latticekmp); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/externs.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | Box::from_raw(results); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 218 | let _ = Box::from_raw(results); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | (*results)[index].len() [INFO] [stdout] | ^^-------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/externs.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | (*results)[index].len() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 233 | (&(*results))[index].len() [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | for i in 0..(*results)[index].len() { [INFO] [stdout] | ^^-------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/externs.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | for i in 0..(*results)[index].len() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 242 | for i in 0..(&(*results))[index].len() { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:243:25 [INFO] [stdout] | [INFO] [stdout] 243 | *nodes.add(i) = (*results)[index][i].1; [INFO] [stdout] | ^^-------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<(&str, usize)>` [INFO] [stdout] --> src/externs.rs:243:25 [INFO] [stdout] | [INFO] [stdout] 243 | *nodes.add(i) = (*results)[index][i].1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 243 | *nodes.add(i) = (&(*results)[index])[i].1; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:243:25 [INFO] [stdout] | [INFO] [stdout] 243 | *nodes.add(i) = (*results)[index][i].1; [INFO] [stdout] | ^^-------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/externs.rs:243:25 [INFO] [stdout] | [INFO] [stdout] 243 | *nodes.add(i) = (*results)[index][i].1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 243 | *nodes.add(i) = (&(*results))[index][i].1; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | for i in 0..(*results)[index].len() { [INFO] [stdout] | ^^-------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/externs.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | for i in 0..(*results)[index].len() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 254 | for i in 0..(&(*results))[index].len() { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:255:31 [INFO] [stdout] | [INFO] [stdout] 255 | *edge_labels.add(i) = (*results)[index][i].0.as_ptr(); [INFO] [stdout] | ^^-------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<(&str, usize)>` [INFO] [stdout] --> src/externs.rs:255:31 [INFO] [stdout] | [INFO] [stdout] 255 | *edge_labels.add(i) = (*results)[index][i].0.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 255 | *edge_labels.add(i) = (&(*results)[index])[i].0.as_ptr(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:255:31 [INFO] [stdout] | [INFO] [stdout] 255 | *edge_labels.add(i) = (*results)[index][i].0.as_ptr(); [INFO] [stdout] | ^^-------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/externs.rs:255:31 [INFO] [stdout] | [INFO] [stdout] 255 | *edge_labels.add(i) = (*results)[index][i].0.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 255 | *edge_labels.add(i) = (&(*results))[index][i].0.as_ptr(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (*results)[index][i].0.len(); [INFO] [stdout] | ^^-------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&str` [INFO] [stdout] --> src/externs.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (*results)[index][i].0.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/str/mod.rs:141:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (&(*results)[index][i].0).len(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (*results)[index][i].0.len(); [INFO] [stdout] | ^^-------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<(&str, usize)>` [INFO] [stdout] --> src/externs.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (*results)[index][i].0.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (&(*results)[index])[i].0.len(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/externs.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (*results)[index][i].0.len(); [INFO] [stdout] | ^^-------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/externs.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (*results)[index][i].0.len(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 256 | *edge_label_length.add(i) = (&(*results))[index][i].0.len(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.22s [INFO] running `Command { std: "docker" "inspect" "9f94a2346d60acf4a0dfa30aa7e865fd02048a6d0045f4bb75c7eb8993ea121e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f94a2346d60acf4a0dfa30aa7e865fd02048a6d0045f4bb75c7eb8993ea121e", kill_on_drop: false }` [INFO] [stdout] 9f94a2346d60acf4a0dfa30aa7e865fd02048a6d0045f4bb75c7eb8993ea121e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1628eaf551ec833852d99a94ec5a005cd0636a79b2ed902a70cf98129a85e244 [INFO] running `Command { std: "docker" "start" "-a" "1628eaf551ec833852d99a94ec5a005cd0636a79b2ed902a70cf98129a85e244", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/parattice.rs:107:21 [INFO] [stderr] | [INFO] [stderr] 107 | let mut node = &mut pma[*node_id_next]; [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lattice.rs:417:34 [INFO] [stderr] | [INFO] [stderr] 417 | pub fn dump_for_search_index(&self) -> Vec { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 417 | pub fn dump_for_search_index(&self) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `CString::from_raw` that must be used [INFO] [stderr] --> src/externs.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | CString::from_raw(s); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 15 | let _ = CString::from_raw(s); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> src/externs.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | Box::from_raw(parattice); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 55 | let _ = Box::from_raw(parattice); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> src/externs.rs:101:5 [INFO] [stderr] | [INFO] [stderr] 101 | Box::from_raw(lattice); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 101 | let _ = Box::from_raw(lattice); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> src/externs.rs:203:5 [INFO] [stderr] | [INFO] [stderr] 203 | Box::from_raw(latticekmp); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 203 | let _ = Box::from_raw(latticekmp); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> src/externs.rs:218:5 [INFO] [stderr] | [INFO] [stderr] 218 | Box::from_raw(results); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 218 | let _ = Box::from_raw(results); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/externs.rs:233:5 [INFO] [stderr] | [INFO] [stderr] 233 | (*results)[index].len() [INFO] [stderr] | ^^-------^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*const Vec>` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stderr] --> src/externs.rs:233:5 [INFO] [stderr] | [INFO] [stderr] 233 | (*results)[index].len() [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 233 | (&(*results))[index].len() [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/externs.rs:242:17 [INFO] [stderr] | [INFO] [stderr] 242 | for i in 0..(*results)[index].len() { [INFO] [stderr] | ^^-------^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*const Vec>` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stderr] --> src/externs.rs:242:17 [INFO] [stderr] | [INFO] [stderr] 242 | for i in 0..(*results)[index].len() { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 242 | for i in 0..(&(*results))[index].len() { [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/externs.rs:243:25 [INFO] [stderr] | [INFO] [stderr] 243 | *nodes.add(i) = (*results)[index][i].1; [INFO] [stderr] | ^^-------^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*const Vec>` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&Vec<(&str, usize)>` [INFO] [stderr] --> src/externs.rs:243:25 [INFO] [stderr] | [INFO] [stderr] 243 | *nodes.add(i) = (*results)[index][i].1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 243 | *nodes.add(i) = (&(*results)[index])[i].1; [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/externs.rs:243:25 [INFO] [stderr] | [INFO] [stderr] 243 | *nodes.add(i) = (*results)[index][i].1; [INFO] [stderr] | ^^-------^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*const Vec>` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stderr] --> src/externs.rs:243:25 [INFO] [stderr] | [INFO] [stderr] 243 | *nodes.add(i) = (*results)[index][i].1; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 243 | *nodes.add(i) = (&(*results))[index][i].1; [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/externs.rs:254:17 [INFO] [stderr] | [INFO] [stderr] 254 | for i in 0..(*results)[index].len() { [INFO] [stderr] | ^^-------^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*const Vec>` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stderr] --> src/externs.rs:254:17 [INFO] [stderr] | [INFO] [stderr] 254 | for i in 0..(*results)[index].len() { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 254 | for i in 0..(&(*results))[index].len() { [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/externs.rs:255:31 [INFO] [stderr] | [INFO] [stderr] 255 | *edge_labels.add(i) = (*results)[index][i].0.as_ptr(); [INFO] [stderr] | ^^-------^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*const Vec>` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&Vec<(&str, usize)>` [INFO] [stderr] --> src/externs.rs:255:31 [INFO] [stderr] | [INFO] [stderr] 255 | *edge_labels.add(i) = (*results)[index][i].0.as_ptr(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 255 | *edge_labels.add(i) = (&(*results)[index])[i].0.as_ptr(); [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/externs.rs:255:31 [INFO] [stderr] | [INFO] [stderr] 255 | *edge_labels.add(i) = (*results)[index][i].0.as_ptr(); [INFO] [stderr] | ^^-------^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*const Vec>` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stderr] --> src/externs.rs:255:31 [INFO] [stderr] | [INFO] [stderr] 255 | *edge_labels.add(i) = (*results)[index][i].0.as_ptr(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 255 | *edge_labels.add(i) = (&(*results))[index][i].0.as_ptr(); [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/externs.rs:256:37 [INFO] [stderr] | [INFO] [stderr] 256 | *edge_label_length.add(i) = (*results)[index][i].0.len(); [INFO] [stderr] | ^^-------^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*const Vec>` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&str` [INFO] [stderr] --> src/externs.rs:256:37 [INFO] [stderr] | [INFO] [stderr] 256 | *edge_label_length.add(i) = (*results)[index][i].0.len(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: method calls to `len` require a reference [INFO] [stderr] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/str/mod.rs:141:5 [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 256 | *edge_label_length.add(i) = (&(*results)[index][i].0).len(); [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/externs.rs:256:37 [INFO] [stderr] | [INFO] [stderr] 256 | *edge_label_length.add(i) = (*results)[index][i].0.len(); [INFO] [stderr] | ^^-------^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*const Vec>` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&Vec<(&str, usize)>` [INFO] [stderr] --> src/externs.rs:256:37 [INFO] [stderr] | [INFO] [stderr] 256 | *edge_label_length.add(i) = (*results)[index][i].0.len(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 256 | *edge_label_length.add(i) = (&(*results)[index])[i].0.len(); [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/externs.rs:256:37 [INFO] [stderr] | [INFO] [stderr] 256 | *edge_label_length.add(i) = (*results)[index][i].0.len(); [INFO] [stderr] | ^^-------^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*const Vec>` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stderr] --> src/externs.rs:256:37 [INFO] [stderr] | [INFO] [stderr] 256 | *edge_label_length.add(i) = (*results)[index][i].0.len(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 256 | *edge_label_length.add(i) = (&(*results))[index][i].0.len(); [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: `parattice` (lib) generated 17 warnings (run `cargo fix --lib -p parattice` to apply 2 suggestions) [INFO] [stderr] warning: `parattice` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/parattice-d7ed6c4a7b5006af) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/lattice_kmp.rs (/opt/rustwide/target/debug/deps/lattice_kmp-906438da3580b6ea) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test lattice_kmp_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/parattice.rs (/opt/rustwide/target/debug/deps/parattice-324e10ee3199684d) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test dump_for_search_index_test ... ok [INFO] [stdout] test max_depth_test ... ok [INFO] [stdout] test get_trunk_span_test ... ok [INFO] [stdout] test serialize_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests parattice [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lattice.rs - lattice::Lattice<'a>::new_from_bytes (line 97) ... ok [INFO] [stdout] test src/lattice.rs - lattice::Lattice<'a>::to_bytes (line 213) ... ok [INFO] [stdout] test src/lattice_kmp.rs - lattice_kmp::LatticeKMP<'a>::new (line 20) ... ok [INFO] [stdout] test src/lattice_kmp.rs - lattice_kmp::LatticeKMP<'a>::search (line 50) ... ok [INFO] [stdout] test src/parattice.rs - parattice::PaRattice<'a>::get_lattice (line 248) ... ok [INFO] [stdout] test src/parattice.rs - parattice::PaRattice<'a>::new (line 35) ... ok [INFO] [stdout] test src/lattice.rs - lattice::Lattice<'a>::dump_dot (line 285) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1628eaf551ec833852d99a94ec5a005cd0636a79b2ed902a70cf98129a85e244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1628eaf551ec833852d99a94ec5a005cd0636a79b2ed902a70cf98129a85e244", kill_on_drop: false }` [INFO] [stdout] 1628eaf551ec833852d99a94ec5a005cd0636a79b2ed902a70cf98129a85e244