[INFO] fetching crate parattice 0.2.2... [INFO] checking parattice-0.2.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate parattice 0.2.2 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate parattice 0.2.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6d5c2295b6981c68a087f910e64a3a54576c76fbcffe2146045111018f7f6b0 [INFO] running `Command { std: "docker" "start" "-a" "b6d5c2295b6981c68a087f910e64a3a54576c76fbcffe2146045111018f7f6b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6d5c2295b6981c68a087f910e64a3a54576c76fbcffe2146045111018f7f6b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6d5c2295b6981c68a087f910e64a3a54576c76fbcffe2146045111018f7f6b0", kill_on_drop: false }` [INFO] [stdout] b6d5c2295b6981c68a087f910e64a3a54576c76fbcffe2146045111018f7f6b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 218742c62c660f126dcce4b40336500fe579490d1e04c32bdd3c388eccb89967 [INFO] running `Command { std: "docker" "start" "-a" "218742c62c660f126dcce4b40336500fe579490d1e04c32bdd3c388eccb89967", 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 libc v0.2.175 [INFO] [stderr] Checking 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)]` on by default [INFO] [stdout] [INFO] [stdout] [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)]` 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: 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)]` 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] error: 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: `#[deny(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] error: 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] error: 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] error: 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] error: 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] error: 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] error: 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] error: 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/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/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] error: 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] error: 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] [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)]` 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] error: 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: `#[deny(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] error: 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] error: 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] error: 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] error: 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] error: 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] error: 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] error: 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/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/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] error: 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] error: 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] error: could not compile `parattice` (lib test) due to 10 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `parattice` (lib) due to 10 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "218742c62c660f126dcce4b40336500fe579490d1e04c32bdd3c388eccb89967", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "218742c62c660f126dcce4b40336500fe579490d1e04c32bdd3c388eccb89967", kill_on_drop: false }` [INFO] [stdout] 218742c62c660f126dcce4b40336500fe579490d1e04c32bdd3c388eccb89967