[INFO] fetching crate querent-rs 1.1.7... [INFO] testing querent-rs-1.1.7 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate querent-rs 1.1.7 into /workspace/builds/worker-4-tc2/source [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate querent-rs 1.1.7 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate querent-rs 1.1.7 [INFO] tweaked toml for crates.io crate querent-rs 1.1.7 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate querent-rs 1.1.7 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 223 packages to latest compatible versions [INFO] [stderr] Adding apache-avro v0.16.0 (available: v0.20.0) [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding ctor v0.2.9 (available: v0.5.0) [INFO] [stderr] Adding dryoc v0.5.4 (available: v0.7.0) [INFO] [stderr] Adding env_logger v0.10.2 (available: v0.11.8) [INFO] [stderr] Adding minijinja v1.0.22 (available: v2.12.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (available: v0.8.9) [INFO] [stderr] Adding pyo3 v0.20.3 (available: v0.26.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 253eac92fa022f1f6307b9f84d3fc595ded959151aa922d7722cffedecec25b3 [INFO] running `Command { std: "docker" "start" "-a" "253eac92fa022f1f6307b9f84d3fc595ded959151aa922d7722cffedecec25b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "253eac92fa022f1f6307b9f84d3fc595ded959151aa922d7722cffedecec25b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "253eac92fa022f1f6307b9f84d3fc595ded959151aa922d7722cffedecec25b3", kill_on_drop: false }` [INFO] [stdout] 253eac92fa022f1f6307b9f84d3fc595ded959151aa922d7722cffedecec25b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af6179696cbbfae6061abbd0d2fc6bb90dea2668531df3705636c84b96bee3d8 [INFO] running `Command { std: "docker" "start" "-a" "af6179696cbbfae6061abbd0d2fc6bb90dea2668531df3705636c84b96bee3d8", kill_on_drop: false }` [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling pyo3-build-config v0.20.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling unindent v0.2.4 [INFO] [stderr] Compiling dary_heap v0.3.8 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling pyo3-asyncio-macros v0.20.0 [INFO] [stderr] Compiling self_cell v1.2.0 [INFO] [stderr] Compiling regex-lite v0.1.7 [INFO] [stderr] Compiling inventory v0.3.21 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling memo-map v0.3.3 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling libflate_lz77 v2.1.0 [INFO] [stderr] Compiling libflate v2.1.0 [INFO] [stderr] Compiling pyo3-ffi v0.20.3 [INFO] [stderr] Compiling pyo3 v0.20.3 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling typed-builder-macro v0.16.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling typed-builder v0.16.2 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling dryoc v0.5.4 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling pyo3-macros v0.20.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling serde_with_macros v3.14.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling minijinja v1.0.22 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde_with v3.14.1 [INFO] [stderr] Compiling apache-avro v0.16.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling pyo3-asyncio v0.20.0 [INFO] [stderr] Compiling querent-rs v1.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/callbacks/interface.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | #[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] 36 | impl PyEventCallbackInterface { [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | `PyEventCallbackInterface` is not local [INFO] [stdout] | `PyEventCallbackInterface` 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/comm/channel.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | #[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] 41 | impl PyMessageInterface { [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | `PyMessageInterface` is not local [INFO] [stdout] | `PyMessageInterface` 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/config/config.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | #[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] 263 | impl Config { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `Config` is not local [INFO] [stdout] | `Config` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cross/clrepr.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn iter(&self) -> Iter { [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] 27 | pub fn iter(&self) -> Iter<'_, String, CLRepr> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.92s [INFO] running `Command { std: "docker" "inspect" "af6179696cbbfae6061abbd0d2fc6bb90dea2668531df3705636c84b96bee3d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af6179696cbbfae6061abbd0d2fc6bb90dea2668531df3705636c84b96bee3d8", kill_on_drop: false }` [INFO] [stdout] af6179696cbbfae6061abbd0d2fc6bb90dea2668531df3705636c84b96bee3d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6285870df1ff7ab9617a13141b2dbc08e7b3d1dcabf1755ca4eb2be5ce7569b1 [INFO] running `Command { std: "docker" "start" "-a" "6285870df1ff7ab9617a13141b2dbc08e7b3d1dcabf1755ca4eb2be5ce7569b1", kill_on_drop: false }` [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling ntest_test_cases v0.9.3 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/callbacks/interface.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | #[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] 36 | impl PyEventCallbackInterface { [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | `PyEventCallbackInterface` is not local [INFO] [stdout] | `PyEventCallbackInterface` 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/comm/channel.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | #[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] 41 | impl PyMessageInterface { [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | `PyMessageInterface` is not local [INFO] [stdout] | `PyMessageInterface` 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/config/config.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | #[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] 263 | impl Config { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `Config` is not local [INFO] [stdout] | `Config` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cross/clrepr.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn iter(&self) -> Iter { [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] 27 | pub fn iter(&self) -> Iter<'_, String, CLRepr> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling toml_edit v0.23.6 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling ntest_timeout v0.9.3 [INFO] [stderr] Compiling ntest v0.9.3 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling querent-rs v1.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/callbacks/interface.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | #[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] 36 | impl PyEventCallbackInterface { [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | `PyEventCallbackInterface` is not local [INFO] [stdout] | `PyEventCallbackInterface` 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/comm/channel.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | #[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] 41 | impl PyMessageInterface { [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | `PyMessageInterface` is not local [INFO] [stdout] | `PyMessageInterface` 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/config/config.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | #[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] 263 | impl Config { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `Config` is not local [INFO] [stdout] | `Config` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cross/clrepr.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn iter(&self) -> Iter { [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] 27 | pub fn iter(&self) -> Iter<'_, String, CLRepr> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.16s [INFO] running `Command { std: "docker" "inspect" "6285870df1ff7ab9617a13141b2dbc08e7b3d1dcabf1755ca4eb2be5ce7569b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6285870df1ff7ab9617a13141b2dbc08e7b3d1dcabf1755ca4eb2be5ce7569b1", kill_on_drop: false }` [INFO] [stdout] 6285870df1ff7ab9617a13141b2dbc08e7b3d1dcabf1755ca4eb2be5ce7569b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cb4d80ffb6abcbff4423266b486fda7f582e64deed5e646e1529cd049f4712ed [INFO] running `Command { std: "docker" "start" "-a" "cb4d80ffb6abcbff4423266b486fda7f582e64deed5e646e1529cd049f4712ed", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/callbacks/interface.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | #[pymethods] [INFO] [stderr] | -^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `PyClassImplCollector` is not local [INFO] [stderr] | `PyClassNewTextSignature` is not local [INFO] [stderr] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stderr] 36 | impl PyEventCallbackInterface { [INFO] [stderr] | ------------------------ [INFO] [stderr] | | [INFO] [stderr] | `PyEventCallbackInterface` is not local [INFO] [stderr] | `PyEventCallbackInterface` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/comm/channel.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | #[pymethods] [INFO] [stderr] | -^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `PyClassImplCollector` is not local [INFO] [stderr] | `PyClassNewTextSignature` is not local [INFO] [stderr] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stderr] 41 | impl PyMessageInterface { [INFO] [stderr] | ------------------ [INFO] [stderr] | | [INFO] [stderr] | `PyMessageInterface` is not local [INFO] [stderr] | `PyMessageInterface` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/config/config.rs:262:1 [INFO] [stderr] | [INFO] [stderr] 262 | #[pymethods] [INFO] [stderr] | -^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `PyClassImplCollector` is not local [INFO] [stderr] | `PyClassNewTextSignature` is not local [INFO] [stderr] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stderr] 263 | impl Config { [INFO] [stderr] | ------ [INFO] [stderr] | | [INFO] [stderr] | `Config` is not local [INFO] [stderr] | `Config` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cross/clrepr.rs:27:14 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 27 | pub fn iter(&self) -> Iter<'_, String, CLRepr> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `querent-rs` (lib) generated 4 warnings (run `cargo fix --lib -p querent-rs` to apply 1 suggestion) [INFO] [stderr] warning: `querent-rs` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/querent_rs-bd5518db4ece650d) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test util::time::tests::duration_days_since_should_return_correct_number_of_days ... ok [INFO] [stdout] test util::transactional_hashmap::tests::transactional_hashmap_entry_should_behave_as_expected ... ok [INFO] [stdout] test util::transactional_hashmap::tests::transactional_hashmap_should_revert_the_state_as_before ... ok [INFO] [stdout] test util::transactional_vec::tests::transactional_vec_should_revert_the_state_as_before_using_clean_and_extend ... ok [INFO] [stdout] test util::transactional_vec::tests::transactional_vec_should_revert_the_state_as_before_using_push_and_retain ... ok [INFO] [stdout] test tests::test_callback_interface::test_callback_interface ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running pytests/test_basic.rs (/opt/rustwide/target/debug/deps/test_basic-7cc16dd6506da16f) [INFO] [stdout] Python runtime initialized. [INFO] [stderr] Running pytests/test_workflow_manager.rs (/opt/rustwide/target/debug/deps/test_workflow_manager-e61c6408addb4dcb) [INFO] [stdout] event is now in async: Some((ChatCompleted, EventState { event_type: ChatCompleted, timestamp: 123.45, payload: "πŸš€πŸš€" })) [INFO] [stdout] test test_workflow_manager::workflow_manager_python_tests_with_config ... ok [INFO] [stdout] test test_workflow_manager::workflow_manager_python_tests_with_config_events_mpsc_separate_receiver ... ok [INFO] [stdout] test test_workflow_manager::test_basic ... ok [INFO] [stdout] Event sender is None [INFO] [stdout] Event type: ChatCompleted [INFO] [stdout] Event data: EventState { event_type: ChatCompleted, timestamp: 123.45, payload: "πŸš€πŸš€" } [INFO] [stdout] test test_workflow_manager::workflow_manager_python_tests_with_config_events ... ok [INFO] [stdout] event is now: Some((ChatCompleted, EventState { event_type: ChatCompleted, timestamp: 123.45, payload: "πŸš€πŸš€" })) [INFO] [stdout] test test_workflow_manager::workflow_manager_python_tests_with_config_events_mpsc ... ok [INFO] [stdout] TODOβœ…: handle different channel message types: Event coming from rust [INFO] [stdout] test test_workflow_manager::workflow_manager_python_tests_with_config_channel_break ... ok [INFO] [stdout] test test_workflow_manager::workflow_manager_python_tests_with_config2 ... ok [INFO] [stdout] test test_workflow_manager::workflow_manager_python_tests ... ok [INFO] [stdout] TODOβœ…: handle different channel message types: Event coming from rust [INFO] [stdout] test test_workflow_manager::workflow_manager_python_tests_with_config_channel ... ok [INFO] [stdout] test test_workflow_manager::workflow_manager_basic_tests ... ok [INFO] [stdout] test test_workflow_manager::workflow_manager_python_test_with_result ... ok [INFO] [stdout] test test_workflow_manager::workflow_manager_multiple_workflows ... ok [INFO] running `Command { std: "docker" "inspect" "cb4d80ffb6abcbff4423266b486fda7f582e64deed5e646e1529cd049f4712ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb4d80ffb6abcbff4423266b486fda7f582e64deed5e646e1529cd049f4712ed", kill_on_drop: false }` [INFO] [stdout] cb4d80ffb6abcbff4423266b486fda7f582e64deed5e646e1529cd049f4712ed