[INFO] cloning repository https://github.com/kkollsga/rusty_graph [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kkollsga/rusty_graph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkkollsga%2Frusty_graph", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkkollsga%2Frusty_graph'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 236b76dada73ed24595830a4b198068486bbcd4f [INFO] checking kkollsga/rusty_graph against master#43ca9d18e333797f0aa3b525501a7cec8d61a96b for pr-136764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkkollsga%2Frusty_graph" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kkollsga/rusty_graph on toolchain 43ca9d18e333797f0aa3b525501a7cec8d61a96b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+43ca9d18e333797f0aa3b525501a7cec8d61a96b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kkollsga/rusty_graph [INFO] finished tweaking git repo https://github.com/kkollsga/rusty_graph [INFO] tweaked toml for git repo https://github.com/kkollsga/rusty_graph written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kkollsga/rusty_graph already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+43ca9d18e333797f0aa3b525501a7cec8d61a96b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+43ca9d18e333797f0aa3b525501a7cec8d61a96b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 866065e0903a1d79c8c6db7c4e794399b8ad5493cca2e2f7982d2d07f3d40fee [INFO] running `Command { std: "docker" "start" "-a" "866065e0903a1d79c8c6db7c4e794399b8ad5493cca2e2f7982d2d07f3d40fee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "866065e0903a1d79c8c6db7c4e794399b8ad5493cca2e2f7982d2d07f3d40fee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "866065e0903a1d79c8c6db7c4e794399b8ad5493cca2e2f7982d2d07f3d40fee", kill_on_drop: false }` [INFO] [stdout] 866065e0903a1d79c8c6db7c4e794399b8ad5493cca2e2f7982d2d07f3d40fee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+43ca9d18e333797f0aa3b525501a7cec8d61a96b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edd2cf0bffd35182731a6256583cc0bcc28e6daa61e9022bc965a9598935d252 [INFO] running `Command { std: "docker" "start" "-a" "edd2cf0bffd35182731a6256583cc0bcc28e6daa61e9022bc965a9598935d252", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Compiling pyo3-build-config v0.20.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling pyo3-ffi v0.20.3 [INFO] [stderr] Compiling pyo3 v0.20.3 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.3 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling pyo3-macros v0.20.3 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking rusty_graph v0.1.54 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `child_node` [INFO] [stdout] --> src/graph/traversal_functions.rs:517:37 [INFO] [stdout] | [INFO] [stdout] 517 | if let Some(child_node) = graph.node_weight(NodeIndex::new(child_idx)) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_child_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child_node` [INFO] [stdout] --> src/graph/traversal_functions.rs:517:37 [INFO] [stdout] | [INFO] [stdout] 517 | if let Some(child_node) = graph.node_weight(NodeIndex::new(child_idx)) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_child_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_node_data` and `node_data_to_py` are never used [INFO] [stdout] --> src/schema.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn to_node_data(&self, graph_index: usize, _py: Python, filter_attributes: Option<&[String]>) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn node_data_to_py(node_data: &NodeData, py: Python) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/graph.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 131 | impl KnowledgeGraph { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | `KnowledgeGraph` is not local [INFO] [stdout] | `KnowledgeGraph` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_node_data` and `node_data_to_py` are never used [INFO] [stdout] --> src/schema.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn to_node_data(&self, graph_index: usize, _py: Python, filter_attributes: Option<&[String]>) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn node_data_to_py(node_data: &NodeData, py: Python) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/graph.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 131 | impl KnowledgeGraph { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | `KnowledgeGraph` is not local [INFO] [stdout] | `KnowledgeGraph` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.21s [INFO] running `Command { std: "docker" "inspect" "edd2cf0bffd35182731a6256583cc0bcc28e6daa61e9022bc965a9598935d252", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edd2cf0bffd35182731a6256583cc0bcc28e6daa61e9022bc965a9598935d252", kill_on_drop: false }` [INFO] [stdout] edd2cf0bffd35182731a6256583cc0bcc28e6daa61e9022bc965a9598935d252