[INFO] fetching crate pyo3-testing 0.3.5... [INFO] testing pyo3-testing-0.3.5 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate pyo3-testing 0.3.5 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate pyo3-testing 0.3.5 [INFO] finished tweaking crates.io crate pyo3-testing 0.3.5 [INFO] tweaked toml for crates.io crate pyo3-testing 0.3.5 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pyo3-testing 0.3.5 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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 43 packages to latest compatible versions [INFO] [stderr] Adding pyo3 v0.22.6 (available: v0.27.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c1aafa42a5b78c82c4147cbcf6cdeab2e7eb8dfe39f7a514216803f76ebb187 [INFO] running `Command { std: "docker" "start" "-a" "6c1aafa42a5b78c82c4147cbcf6cdeab2e7eb8dfe39f7a514216803f76ebb187", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c1aafa42a5b78c82c4147cbcf6cdeab2e7eb8dfe39f7a514216803f76ebb187", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c1aafa42a5b78c82c4147cbcf6cdeab2e7eb8dfe39f7a514216803f76ebb187", kill_on_drop: false }` [INFO] [stdout] 6c1aafa42a5b78c82c4147cbcf6cdeab2e7eb8dfe39f7a514216803f76ebb187 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bb7f51d7e1d552de17c107285c7787f7958953ece79900818c23037a3e13bb8 [INFO] running `Command { std: "docker" "start" "-a" "6bb7f51d7e1d552de17c107285c7787f7958953ece79900818c23037a3e13bb8", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling target-triple v1.0.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling toml_writer v1.0.4 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling unindent v0.2.4 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling pyo3-build-config v0.22.6 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling pyo3-macros-backend v0.22.6 [INFO] [stderr] Compiling pyo3-ffi v0.22.6 [INFO] [stderr] Compiling pyo3 v0.22.6 [INFO] [stderr] Compiling serde_spanned v1.0.3 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling toml v0.9.8 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling pyo3-macros v0.22.6 [INFO] [stderr] Compiling trybuild v1.0.114 [INFO] [stderr] Compiling pyo3-testing v0.3.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.31s [INFO] running `Command { std: "docker" "inspect" "6bb7f51d7e1d552de17c107285c7787f7958953ece79900818c23037a3e13bb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bb7f51d7e1d552de17c107285c7787f7958953ece79900818c23037a3e13bb8", kill_on_drop: false }` [INFO] [stdout] 6bb7f51d7e1d552de17c107285c7787f7958953ece79900818c23037a3e13bb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f10cf83ea0a105c644dc3838d0b20a805e8543de6b4e9f3446ea5176ecb75cb [INFO] running `Command { std: "docker" "start" "-a" "2f10cf83ea0a105c644dc3838d0b20a805e8543de6b4e9f3446ea5176ecb75cb", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling toml_writer v1.0.4 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling target-triple v1.0.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling unindent v0.2.4 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling serde_spanned v1.0.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling pyo3-build-config v0.22.6 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling pyo3-macros-backend v0.22.6 [INFO] [stderr] Compiling pyo3-ffi v0.22.6 [INFO] [stderr] Compiling pyo3 v0.22.6 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling toml v0.9.8 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling pyo3-macros v0.22.6 [INFO] [stderr] Compiling trybuild v1.0.114 [INFO] [stderr] Compiling pyo3-testing v0.3.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.42s [INFO] running `Command { std: "docker" "inspect" "2f10cf83ea0a105c644dc3838d0b20a805e8543de6b4e9f3446ea5176ecb75cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f10cf83ea0a105c644dc3838d0b20a805e8543de6b4e9f3446ea5176ecb75cb", kill_on_drop: false }` [INFO] [stdout] 2f10cf83ea0a105c644dc3838d0b20a805e8543de6b4e9f3446ea5176ecb75cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6d01b0c5248c42b2d5409426f8ea066c5a7864fd917ebeec08c5476c982d6daa [INFO] running `Command { std: "docker" "start" "-a" "6d01b0c5248c42b2d5409426f8ea066c5a7864fd917ebeec08c5476c982d6daa", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pyo3_testing-69b00b68178d2498) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test withpyraises::test::test_parse_input ... ok [INFO] [stdout] test withpyraises::test::test_expansion ... ok [INFO] [stdout] test pyo3test::tests::test_other_attribute ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/test_pyo3test.rs (/opt/rustwide/target/debug/deps/test_pyo3test-fb4117ab1fbb1c7a) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test test_without_macro ... ok [INFO] [stdout] test test_mixed_import_types ... ok [INFO] [stdout] test test_multiple_imports ... ok [INFO] [stdout] test test_simple_case ... ok [INFO] [stdout] test test_multiple_args ... ok [INFO] [stdout] test test_no_imports ... ok [INFO] [stdout] test test_no_args ... ok [INFO] [stdout] test test_star_args ... ok [INFO] [stdout] test test_import_module_only ... ok [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling target-triple v1.0.0 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling toml_writer v1.0.4 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling unindent v0.2.4 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling pyo3-build-config v0.22.6 [INFO] [stderr] Checking syn v2.0.110 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling pyo3-ffi v0.22.6 [INFO] [stderr] Compiling pyo3-macros-backend v0.22.6 [INFO] [stderr] Compiling pyo3 v0.22.6 [INFO] [stderr] Compiling serde_spanned v1.0.3 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling toml v0.9.8 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling pyo3-macros v0.22.6 [INFO] [stderr] Compiling trybuild v1.0.114 [INFO] [stderr] Compiling pyo3-testing v0.3.5 (/opt/rustwide/workdir) [INFO] [stderr] Checking pyo3-testing-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/pyo3-testing) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.07s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/ui/invalid_pyo3imports.rs ... ok [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test test_compile_errors_pyo3testing ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 29.67s [INFO] [stdout] [INFO] [stderr] Running tests/test_withpyraises.rs (/opt/rustwide/target/debug/deps/test_withpyraises-34cb9b3ba3e8ccc8) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_raises ... ok [INFO] [stdout] test test_raises_validate_approach ... ok [INFO] [stderr] Checking pyo3-testing-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/pyo3-testing) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/ui/invalid_withpyraises.rs ... ok [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test test_compile_errors_pyo3testing ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.70s [INFO] [stdout] [INFO] [stderr] Doc-tests pyo3_testing [INFO] [stderr] warning: unexpected character `#` [INFO] [stderr] --> src/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / //! Simplifies testing of `#[pyo3function]`s by enabling tests to be condensed to: [INFO] [stderr] 2 | | //! [INFO] [stderr] 3 | | //! ```no_run # expands to include #[test] so gets ignored anyway [INFO] [stderr] 4 | | //! # use pyo3_testing::pyo3test; [INFO] [stderr] ... | [INFO] [stderr] 22 | | //! } [INFO] [stderr] 23 | | //! ``` [INFO] [stderr] | |_______^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::invalid_codeblock_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected character `#` [INFO] [stderr] --> src/lib.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | / /// A proc macro to decorate tests, which removes boilerplate code required for testing pyO3-wrapped [INFO] [stderr] 34 | | /// functions within rust. [INFO] [stderr] 35 | | /// [INFO] [stderr] 36 | | /// 1. takes a function (the "testcase") designed to test either a `#[pyo3module]` [INFO] [stderr] ... | [INFO] [stderr] 116 | | /// } [INFO] [stderr] 117 | | /// ``` [INFO] [stderr] | |_______^ [INFO] [stderr] [INFO] [stderr] warning: unexpected character `#` [INFO] [stderr] --> src/lib.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | / /// A proc macro to implement the equivalent of [pytest's `with raises`][1] context manager. [INFO] [stderr] 124 | | /// [INFO] [stderr] 125 | | /// Use like this: `with_py_raises(ExpectedErrType, {code block which should raise error })` [INFO] [stderr] 126 | | /// [INFO] [stderr] ... | [INFO] [stderr] 154 | | /// } [INFO] [stderr] 155 | | /// ``` [INFO] [stderr] | |_______^ [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6d01b0c5248c42b2d5409426f8ea066c5a7864fd917ebeec08c5476c982d6daa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d01b0c5248c42b2d5409426f8ea066c5a7864fd917ebeec08c5476c982d6daa", kill_on_drop: false }` [INFO] [stdout] 6d01b0c5248c42b2d5409426f8ea066c5a7864fd917ebeec08c5476c982d6daa