[INFO] cloning repository https://github.com/jinlow/discrust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jinlow/discrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjinlow%2Fdiscrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjinlow%2Fdiscrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d6c9d34548cc274f710ba7e1cb6aef2ad4a6ec99 [INFO] checking jinlow/discrust against master#96cfc75584359ae7ad11cc45968059f29e7b44b7 for pr-137728 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjinlow%2Fdiscrust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jinlow/discrust on toolchain 96cfc75584359ae7ad11cc45968059f29e7b44b7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+96cfc75584359ae7ad11cc45968059f29e7b44b7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jinlow/discrust [INFO] finished tweaking git repo https://github.com/jinlow/discrust [INFO] tweaked toml for git repo https://github.com/jinlow/discrust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+96cfc75584359ae7ad11cc45968059f29e7b44b7" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 47 packages to latest compatible versions [INFO] [stderr] Adding ndarray v0.15.6 (available: v0.16.1) [INFO] [stderr] Adding numpy v0.16.2 (available: v0.23.0) [INFO] [stderr] Adding pyo3 v0.16.6 (available: v0.23.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+96cfc75584359ae7ad11cc45968059f29e7b44b7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3-macros v0.16.6 [INFO] [stderr] Downloaded pyo3-build-config v0.16.6 [INFO] [stderr] Downloaded numpy v0.16.2 [INFO] [stderr] Downloaded pyo3-ffi v0.16.6 [INFO] [stderr] Downloaded pyo3-macros-backend v0.16.6 [INFO] [stderr] Downloaded pyo3 v0.16.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+96cfc75584359ae7ad11cc45968059f29e7b44b7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cfa549ca46d9f7245a94b8858176c94cec1502fd48b0c7132b60586cfaa2156 [INFO] running `Command { std: "docker" "start" "-a" "3cfa549ca46d9f7245a94b8858176c94cec1502fd48b0c7132b60586cfaa2156", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cfa549ca46d9f7245a94b8858176c94cec1502fd48b0c7132b60586cfaa2156", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cfa549ca46d9f7245a94b8858176c94cec1502fd48b0c7132b60586cfaa2156", kill_on_drop: false }` [INFO] [stdout] 3cfa549ca46d9f7245a94b8858176c94cec1502fd48b0c7132b60586cfaa2156 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+96cfc75584359ae7ad11cc45968059f29e7b44b7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afce4e01e2ceac94c21cbf1c347b0abb089764f01a6692f3a090a41a454ebefe [INFO] running `Command { std: "docker" "start" "-a" "afce4e01e2ceac94c21cbf1c347b0abb089764f01a6692f3a090a41a454ebefe", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling pyo3-build-config v0.16.6 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Compiling pyo3-ffi v0.16.6 [INFO] [stderr] Compiling pyo3 v0.16.6 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pyo3-macros-backend v0.16.6 [INFO] [stderr] Checking discrust_core v0.1.7 (/opt/rustwide/workdir/crates/discrust_core) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/discrust_core/src/discretize.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | let mut node = que.pop_back().unwrap().unwrap(); [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: field `iv` is never read [INFO] [stdout] --> crates/discrust_core/src/node.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub iv: f64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pyo3-macros v0.16.6 [INFO] [stderr] Checking numpy v0.16.2 [INFO] [stderr] Checking discrust v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this static `ITEMS` and up 3 bodies [INFO] [stdout] 27 | impl Discretizer { [INFO] [stdout] | ----------- `Discretizer` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this static `ITEMS` and up 3 bodies [INFO] [stdout] 27 | impl Discretizer { [INFO] [stdout] | ----------- `Discretizer` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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 15.77s [INFO] running `Command { std: "docker" "inspect" "afce4e01e2ceac94c21cbf1c347b0abb089764f01a6692f3a090a41a454ebefe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afce4e01e2ceac94c21cbf1c347b0abb089764f01a6692f3a090a41a454ebefe", kill_on_drop: false }` [INFO] [stdout] afce4e01e2ceac94c21cbf1c347b0abb089764f01a6692f3a090a41a454ebefe