[INFO] fetching crate pyo3-testing 0.3.5... [INFO] testing pyo3-testing-0.3.5 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate pyo3-testing 0.3.5 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pyo3-testing 0.3.5 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 42 packages to latest compatible versions [INFO] [stderr] Adding pyo3 v0.22.6 (available: v0.26.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3-macros v0.22.6 [INFO] [stderr] Downloaded pyo3-build-config v0.22.6 [INFO] [stderr] Downloaded target-lexicon v0.12.16 [INFO] [stderr] Downloaded pyo3-ffi v0.22.6 [INFO] [stderr] Downloaded pyo3-macros-backend v0.22.6 [INFO] [stderr] Downloaded pyo3 v0.22.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ced3d645c80bc2f4940f1a0e38c069c264941d4b85e720a010dd9efd47653860 [INFO] running `Command { std: "docker" "start" "-a" "ced3d645c80bc2f4940f1a0e38c069c264941d4b85e720a010dd9efd47653860", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ced3d645c80bc2f4940f1a0e38c069c264941d4b85e720a010dd9efd47653860", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ced3d645c80bc2f4940f1a0e38c069c264941d4b85e720a010dd9efd47653860", kill_on_drop: false }` [INFO] [stdout] ced3d645c80bc2f4940f1a0e38c069c264941d4b85e720a010dd9efd47653860 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4fba0369884ee7ffe0ff5325bd2b94919a9ddfbce6b29c811094e1d9d063746 [INFO] running `Command { std: "docker" "start" "-a" "c4fba0369884ee7ffe0ff5325bd2b94919a9ddfbce6b29c811094e1d9d063746", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling toml_writer v1.0.3 [INFO] [stderr] Compiling unindent v0.2.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling pyo3-build-config v0.22.6 [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.3 [INFO] [stderr] Compiling serde_spanned v1.0.2 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling toml v0.9.7 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling trybuild v1.0.111 [INFO] [stderr] Compiling pyo3-macros v0.22.6 [INFO] [stderr] Compiling pyo3-testing v0.3.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.49s [INFO] running `Command { std: "docker" "inspect" "c4fba0369884ee7ffe0ff5325bd2b94919a9ddfbce6b29c811094e1d9d063746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4fba0369884ee7ffe0ff5325bd2b94919a9ddfbce6b29c811094e1d9d063746", kill_on_drop: false }` [INFO] [stdout] c4fba0369884ee7ffe0ff5325bd2b94919a9ddfbce6b29c811094e1d9d063746 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 718d7948a6343ac560f856fa4b0e417efefcf2fffead15ad561d0d59e1976846 [INFO] running `Command { std: "docker" "start" "-a" "718d7948a6343ac560f856fa4b0e417efefcf2fffead15ad561d0d59e1976846", kill_on_drop: false }` [INFO] [stderr] Compiling toml_writer v1.0.3 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling unindent v0.2.4 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling serde_spanned v1.0.2 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling pyo3-build-config v0.22.6 [INFO] [stderr] Compiling syn v2.0.106 [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 toml v0.9.7 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling trybuild v1.0.111 [INFO] [stderr] Compiling pyo3-macros v0.22.6 [INFO] [stderr] Compiling pyo3-testing v0.3.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 20.25s [INFO] running `Command { std: "docker" "inspect" "718d7948a6343ac560f856fa4b0e417efefcf2fffead15ad561d0d59e1976846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "718d7948a6343ac560f856fa4b0e417efefcf2fffead15ad561d0d59e1976846", kill_on_drop: false }` [INFO] [stdout] 718d7948a6343ac560f856fa4b0e417efefcf2fffead15ad561d0d59e1976846 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 733fa7be55f0c2ae8ee9e72e78ae1aeb213a248086c407a8ead200c791f61345 [INFO] running `Command { std: "docker" "start" "-a" "733fa7be55f0c2ae8ee9e72e78ae1aeb213a248086c407a8ead200c791f61345", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pyo3_testing-1a8f95cccfd8191c) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test withpyraises::test::test_parse_input ... ok [INFO] [stdout] test pyo3test::tests::test_other_attribute ... ok [INFO] [stdout] test withpyraises::test::test_expansion ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test_pyo3test.rs (/opt/rustwide/target/debug/deps/test_pyo3test-11347d121698f82b) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test test_without_macro ... ok [INFO] [stdout] test test_import_module_only ... ok [INFO] [stdout] test test_no_args ... ok [INFO] [stdout] test test_multiple_imports ... ok [INFO] [stdout] test test_mixed_import_types ... ok [INFO] [stdout] test test_multiple_args ... ok [INFO] [stdout] test test_no_imports ... ok [INFO] [stdout] test test_simple_case ... ok [INFO] [stdout] test test_star_args ... ok [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.176 [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 target-triple v0.1.4 [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 itoa v1.0.15 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling toml_writer v1.0.3 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling unindent v0.2.4 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking syn v2.0.106 [INFO] [stderr] Compiling pyo3-build-config v0.22.6 [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 toml_parser v1.0.3 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling serde_spanned v1.0.2 [INFO] [stderr] Compiling toml v0.9.7 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling pyo3-macros v0.22.6 [INFO] [stderr] Compiling trybuild v1.0.111 [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 24.52s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/ui/invalid_pyo3imports.rs ... ok [INFO] [stdout] test test_compile_errors_pyo3testing ... ok [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 24.95s [INFO] [stdout] [INFO] [stderr] Running tests/test_withpyraises.rs (/opt/rustwide/target/debug/deps/test_withpyraises-b223ff6d80bcd64b) [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.18s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/ui/invalid_withpyraises.rs ... ok [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.65s [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] [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" "733fa7be55f0c2ae8ee9e72e78ae1aeb213a248086c407a8ead200c791f61345", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "733fa7be55f0c2ae8ee9e72e78ae1aeb213a248086c407a8ead200c791f61345", kill_on_drop: false }` [INFO] [stdout] 733fa7be55f0c2ae8ee9e72e78ae1aeb213a248086c407a8ead200c791f61345