[INFO] cloning repository https://github.com/viking-sudo-rm/py-rusty-dawg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/viking-sudo-rm/py-rusty-dawg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviking-sudo-rm%2Fpy-rusty-dawg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviking-sudo-rm%2Fpy-rusty-dawg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ab44c3e16dd2879262b3d15e557441e099d9d07 [INFO] checking viking-sudo-rm/py-rusty-dawg against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviking-sudo-rm%2Fpy-rusty-dawg" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/viking-sudo-rm/py-rusty-dawg [INFO] finished tweaking git repo https://github.com/viking-sudo-rm/py-rusty-dawg [INFO] tweaked toml for git repo https://github.com/viking-sudo-rm/py-rusty-dawg written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/viking-sudo-rm/py-rusty-dawg on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/viking-sudo-rm/py-rusty-dawg 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e51591a75b1785e7dc317696cf4b4f6501db6025acda02d3e57e9005421da91b [INFO] running `Command { std: "docker" "start" "-a" "e51591a75b1785e7dc317696cf4b4f6501db6025acda02d3e57e9005421da91b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e51591a75b1785e7dc317696cf4b4f6501db6025acda02d3e57e9005421da91b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e51591a75b1785e7dc317696cf4b4f6501db6025acda02d3e57e9005421da91b", kill_on_drop: false }` [INFO] [stdout] e51591a75b1785e7dc317696cf4b4f6501db6025acda02d3e57e9005421da91b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d63fe0820f92e57d852c6bb9c3c8dfc2487b237f4d9bfad15127d651cd6b08f [INFO] running `Command { std: "docker" "start" "-a" "2d63fe0820f92e57d852c6bb9c3c8dfc2487b237f4d9bfad15127d651cd6b08f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling target-lexicon v0.12.10 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde v1.0.178 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.178 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking ux v0.1.5 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling pyo3-build-config v0.19.1 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking petgraph v0.6.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling pyo3-ffi v0.19.1 [INFO] [stderr] Compiling pyo3 v0.19.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking tempfile v3.7.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking bit-struct v0.3.2 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking test-temp-file v0.1.2 [INFO] [stderr] Checking terminal_size v0.2.6 [INFO] [stderr] Checking kdam v0.3.0 [INFO] [stderr] Checking clap_builder v4.3.19 [INFO] [stderr] Compiling pyo3-macros-backend v0.19.1 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Compiling type-layout-derive v0.2.0 [INFO] [stderr] Checking type-layout v0.2.0 [INFO] [stderr] Checking clap v4.3.19 [INFO] [stderr] Compiling pyo3-macros v0.19.1 [INFO] [stderr] Checking rusty-dawg v0.1.0 (https://github.com/viking-sudo-rm/rusty-dawg#fcdd4e58) [INFO] [stderr] Checking py-rusty-dawg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rusty_dawg::graph::indexing::NodeIndex` [INFO] [stdout] --> src/lms/kn_lm.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rusty_dawg::graph::indexing::NodeIndex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusty_dawg::graph::indexing::NodeIndex` [INFO] [stdout] --> src/lms/kn_lm.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rusty_dawg::graph::indexing::NodeIndex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cls` [INFO] [stdout] --> src/dawg.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn load(cls: &PyType, path: String) -> PyResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dawg.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut file = fs::OpenOptions::new() [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: unused variable: `cls` [INFO] [stdout] --> src/dawg.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn load(cls: &PyType, path: String) -> PyResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dawg.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut file = fs::OpenOptions::new() [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/dawg.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[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] 17 | impl Dawg { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `Dawg` is not local [INFO] [stdout] | `Dawg` 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/lms/kn_lm.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[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] 14 | impl KNLM { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `KNLM` is not local [INFO] [stdout] | `KNLM` 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/dawg.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[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] 17 | impl Dawg { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `Dawg` is not local [INFO] [stdout] | `Dawg` 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/lms/kn_lm.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[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] 14 | impl KNLM { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `KNLM` is not local [INFO] [stdout] | `KNLM` 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 21.30s [INFO] running `Command { std: "docker" "inspect" "2d63fe0820f92e57d852c6bb9c3c8dfc2487b237f4d9bfad15127d651cd6b08f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d63fe0820f92e57d852c6bb9c3c8dfc2487b237f4d9bfad15127d651cd6b08f", kill_on_drop: false }` [INFO] [stdout] 2d63fe0820f92e57d852c6bb9c3c8dfc2487b237f4d9bfad15127d651cd6b08f