[INFO] cloning repository https://github.com/Techtonique/genbooster [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Techtonique/genbooster" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTechtonique%2Fgenbooster", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTechtonique%2Fgenbooster'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 576f5078c120ea4ab88177435c9bb5843210f4bc [INFO] checking Techtonique/genbooster/576f5078c120ea4ab88177435c9bb5843210f4bc against master#46424fb5054f211ec836c5c03159f92e46bb35ac for pr-139042 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTechtonique%2Fgenbooster" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 52% (597/1140) Updating files: 53% (605/1140) Updating files: 54% (616/1140) Updating files: 55% (627/1140) Updating files: 56% (639/1140) Updating files: 57% (650/1140) Updating files: 58% (662/1140) Updating files: 59% (673/1140) Updating files: 60% (684/1140) Updating files: 61% (696/1140) Updating files: 62% (707/1140) Updating files: 63% (719/1140) Updating files: 64% (730/1140) Updating files: 65% (741/1140) Updating files: 66% (753/1140) Updating files: 67% (764/1140) Updating files: 68% (776/1140) Updating files: 69% (787/1140) Updating files: 70% (798/1140) Updating files: 71% (810/1140) Updating files: 72% (821/1140) Updating files: 73% (833/1140) Updating files: 74% (844/1140) Updating files: 75% (855/1140) Updating files: 76% (867/1140) Updating files: 77% (878/1140) Updating files: 78% (890/1140) Updating files: 79% (901/1140) Updating files: 80% (912/1140) Updating files: 81% (924/1140) Updating files: 82% (935/1140) Updating files: 83% (947/1140) Updating files: 84% (958/1140) Updating files: 85% (969/1140) Updating files: 86% (981/1140) Updating files: 87% (992/1140) Updating files: 88% (1004/1140) Updating files: 89% (1015/1140) Updating files: 90% (1026/1140) Updating files: 91% (1038/1140) Updating files: 92% (1049/1140) Updating files: 93% (1061/1140) Updating files: 94% (1072/1140) Updating files: 95% (1083/1140) Updating files: 96% (1095/1140) Updating files: 97% (1106/1140) Updating files: 98% (1118/1140) Updating files: 99% (1129/1140) Updating files: 100% (1140/1140) Updating files: 100% (1140/1140), done. [INFO] validating manifest of git repo https://github.com/Techtonique/genbooster on toolchain 46424fb5054f211ec836c5c03159f92e46bb35ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Techtonique/genbooster [INFO] finished tweaking git repo https://github.com/Techtonique/genbooster [INFO] tweaked toml for git repo https://github.com/Techtonique/genbooster written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Techtonique/genbooster 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" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: tool [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyproject-toml v0.11.0 [INFO] [stderr] Downloaded charset v0.1.5 [INFO] [stderr] Downloaded rfc2047-decoder v1.0.6 [INFO] [stderr] Downloaded fs-err v3.0.0 [INFO] [stderr] Downloaded target-lexicon v0.13.1 [INFO] [stderr] Downloaded mailparse v0.15.0 [INFO] [stderr] Downloaded clap_complete_command v0.6.1 [INFO] [stderr] Downloaded scroll_derive v0.12.0 [INFO] [stderr] Downloaded numpy v0.19.0 [INFO] [stderr] Downloaded versions v6.3.2 [INFO] [stderr] Downloaded linfa-elasticnet v0.7.1 [INFO] [stderr] Downloaded argmin-math v0.3.0 [INFO] [stderr] Downloaded ndarray-stats v0.5.1 [INFO] [stderr] Downloaded cfb v0.10.0 [INFO] [stderr] Downloaded sprs v0.11.1 [INFO] [stderr] Downloaded argmin v0.9.0 [INFO] [stderr] Downloaded goblin v0.9.3 [INFO] [stderr] Downloaded linfa v0.7.1 [INFO] [stderr] Downloaded minijinja v2.6.0 [INFO] [stderr] Downloaded python-pkginfo v0.6.5 [INFO] [stderr] Downloaded maturin v1.8.1 [INFO] [stderr] Downloaded msi v0.8.0 [INFO] [stderr] Downloaded xwin v0.6.5 [INFO] [stderr] Downloaded cargo-config2 v0.1.32 [INFO] [stderr] Downloaded cargo-zigbuild v0.19.7 [INFO] [stderr] Downloaded clap_complete v4.5.42 [INFO] [stderr] Downloaded pep440_rs v0.6.6 [INFO] [stderr] Downloaded linfa-linear v0.7.1 [INFO] [stderr] Downloaded linfa-pls v0.7.1 [INFO] [stderr] Downloaded lzxd v0.2.6 [INFO] [stderr] Downloaded cab v0.6.0 [INFO] [stderr] Downloaded cargo-xwin v0.18.4 [INFO] [stderr] Downloaded rustflags v0.1.6 [INFO] [stderr] Downloaded clap_complete_nushell v4.5.5 [INFO] [stderr] Downloaded configparser v3.1.0 [INFO] [stderr] Downloaded fat-macho v0.4.9 [INFO] [stderr] Downloaded platform-info v2.0.5 [INFO] [stderr] Downloaded pep508_rs v0.6.1 [INFO] [stderr] Downloaded linfa-linalg v0.1.0 [INFO] [stderr] Downloaded ndarray-rand v0.14.0 [INFO] [stderr] Downloaded noisy_float v0.2.0 [INFO] [stderr] Downloaded cli-table v0.4.9 [INFO] [stderr] Downloaded scroll v0.12.0 [INFO] [stderr] Downloaded cargo-options v0.7.5 [INFO] [stderr] Downloaded lddtree v0.3.7 [INFO] [stderr] Downloaded unscanny v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1f6e36b969c287f0cdad49b9e001b6ff0e9efbc2f0793828354e9ba327379e8 [INFO] running `Command { std: "docker" "start" "-a" "f1f6e36b969c287f0cdad49b9e001b6ff0e9efbc2f0793828354e9ba327379e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1f6e36b969c287f0cdad49b9e001b6ff0e9efbc2f0793828354e9ba327379e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1f6e36b969c287f0cdad49b9e001b6ff0e9efbc2f0793828354e9ba327379e8", kill_on_drop: false }` [INFO] [stdout] f1f6e36b969c287f0cdad49b9e001b6ff0e9efbc2f0793828354e9ba327379e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36c0933172cd190e7d5f77c34bfd738dbbf3123d91d5e04e9719df3a0f87a818 [INFO] running `Command { std: "docker" "start" "-a" "36c0933172cd190e7d5f77c34bfd738dbbf3123d91d5e04e9719df3a0f87a818", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: tool [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 libc v0.2.169 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling linfa v0.7.1 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling pyo3-build-config v0.19.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking noisy_float v0.2.0 [INFO] [stderr] Compiling pyo3-ffi v0.19.2 [INFO] [stderr] Compiling pyo3 v0.19.2 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Compiling pyo3-macros-backend v0.19.2 [INFO] [stderr] Checking sprs v0.11.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pyo3-macros v0.19.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking linfa-linalg v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking argmin-math v0.3.0 [INFO] [stderr] Checking ndarray-stats v0.5.1 [INFO] [stderr] Checking ndarray-rand v0.14.0 [INFO] [stderr] Checking linfa-pls v0.7.1 [INFO] [stderr] Checking linfa-elasticnet v0.7.1 [INFO] [stderr] Checking numpy v0.19.0 [INFO] [stderr] Checking argmin v0.9.0 [INFO] [stderr] Checking linfa-linear v0.7.1 [INFO] [stderr] Checking genbooster v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::SeedableRng` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::SeedableRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::StdRng` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::rngs::StdRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `linfa_pls::PlsRegression` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use linfa_pls::PlsRegression; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_chacha::ChaCha20Rng` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use rand_chacha::ChaCha20Rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::SeedableRng` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::SeedableRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::StdRng` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::rngs::StdRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `linfa_pls::PlsRegression` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use linfa_pls::PlsRegression; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_chacha::ChaCha20Rng` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use rand_chacha::ChaCha20Rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:251:14 [INFO] [stdout] | [INFO] [stdout] 251 | for (i, (w, base_learner)) in self.weights.iter().zip(self.base_learners.iter()).enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_array` [INFO] [stdout] --> src/lib.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | let y_array = unsafe { y.as_array() }; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/lib.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 375 | py: Python, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:251:14 [INFO] [stdout] | [INFO] [stdout] 251 | for (i, (w, base_learner)) in self.weights.iter().zip(self.base_learners.iter()).enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_array` [INFO] [stdout] --> src/lib.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | let y_array = unsafe { y.as_array() }; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/lib.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | py: Python, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [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:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[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] 53 | impl Regressor { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `Regressor` is not local [INFO] [stdout] | `Regressor` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | #[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] 139 | impl RustBooster { [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | `RustBooster` is not local [INFO] [stdout] | `RustBooster` 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: 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:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | #[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] 434 | impl AdaBoostRegressor { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | `AdaBoostRegressor` is not local [INFO] [stdout] | `AdaBoostRegressor` 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: 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: unused variable: `py` [INFO] [stdout] --> src/lib.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 375 | py: Python, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/lib.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | py: Python, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [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:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[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] 53 | impl Regressor { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `Regressor` is not local [INFO] [stdout] | `Regressor` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | #[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] 139 | impl RustBooster { [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | `RustBooster` is not local [INFO] [stdout] | `RustBooster` 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: 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:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | #[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] 434 | impl AdaBoostRegressor { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | `AdaBoostRegressor` is not local [INFO] [stdout] | `AdaBoostRegressor` 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: 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 28.16s [INFO] running `Command { std: "docker" "inspect" "36c0933172cd190e7d5f77c34bfd738dbbf3123d91d5e04e9719df3a0f87a818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36c0933172cd190e7d5f77c34bfd738dbbf3123d91d5e04e9719df3a0f87a818", kill_on_drop: false }` [INFO] [stdout] 36c0933172cd190e7d5f77c34bfd738dbbf3123d91d5e04e9719df3a0f87a818