[INFO] fetching crate pyo3-testing 0.3.5... [INFO] testing pyo3-testing-0.3.5 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [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 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 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ccf5b581bde78d04c6b501dbc63a03b34e23954e9f60a3ac5a63ad87f6f556f [INFO] running `Command { std: "docker" "start" "-a" "9ccf5b581bde78d04c6b501dbc63a03b34e23954e9f60a3ac5a63ad87f6f556f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ccf5b581bde78d04c6b501dbc63a03b34e23954e9f60a3ac5a63ad87f6f556f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ccf5b581bde78d04c6b501dbc63a03b34e23954e9f60a3ac5a63ad87f6f556f", kill_on_drop: false }` [INFO] [stdout] 9ccf5b581bde78d04c6b501dbc63a03b34e23954e9f60a3ac5a63ad87f6f556f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 334edf673a764d618b1da24bd741f09a61657895f8a55b296197edcfc60d6c74 [INFO] running `Command { std: "docker" "start" "-a" "334edf673a764d618b1da24bd741f09a61657895f8a55b296197edcfc60d6c74", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling pyo3-build-config v0.22.6 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling toml_writer v1.0.3 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling unindent v0.2.4 [INFO] [stderr] Compiling cfg-if v1.0.3 [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 serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.16s [INFO] running `Command { std: "docker" "inspect" "334edf673a764d618b1da24bd741f09a61657895f8a55b296197edcfc60d6c74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "334edf673a764d618b1da24bd741f09a61657895f8a55b296197edcfc60d6c74", kill_on_drop: false }` [INFO] [stdout] 334edf673a764d618b1da24bd741f09a61657895f8a55b296197edcfc60d6c74 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52d696116f9de0bbe5a94e9b9db69f825c852d7c97e44573b41f341705051c03 [INFO] running `Command { std: "docker" "start" "-a" "52d696116f9de0bbe5a94e9b9db69f825c852d7c97e44573b41f341705051c03", kill_on_drop: false }` [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 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 28.57s [INFO] running `Command { std: "docker" "inspect" "52d696116f9de0bbe5a94e9b9db69f825c852d7c97e44573b41f341705051c03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52d696116f9de0bbe5a94e9b9db69f825c852d7c97e44573b41f341705051c03", kill_on_drop: false }` [INFO] [stdout] 52d696116f9de0bbe5a94e9b9db69f825c852d7c97e44573b41f341705051c03 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a0a51333da57421cd7b1e9bc0222f4986f67f3ee748d5486fd74691c1acb4db2 [INFO] running `Command { std: "docker" "start" "-a" "a0a51333da57421cd7b1e9bc0222f4986f67f3ee748d5486fd74691c1acb4db2", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [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 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-11347d121698f82b) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test test_simple_case ... ok [INFO] [stdout] test test_multiple_imports ... ok [INFO] [stdout] test test_multiple_args ... ok [INFO] [stdout] test test_mixed_import_types ... 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] [stdout] test test_without_macro ... 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 serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.176 [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 indoc v2.0.6 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling pyo3-build-config v0.22.6 [INFO] [stderr] Compiling toml_writer v1.0.3 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling unindent v0.2.4 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling serde_spanned v1.0.2 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling toml v0.9.7 [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_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 48.51s [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 48.99s [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_validate_approach ... ok [INFO] [stdout] test test_raises ... 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.14s [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.46s [INFO] [stdout] [INFO] [stderr] Doc-tests pyo3_testing [INFO] [stdout] [INFO] [stderr] warning: unexpected character `#` [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/lib.rs:1:1 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 1 | / //! Simplifies testing of `#[pyo3function]`s by enabling tests to be condensed to: [INFO] [stdout] [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] running `Command { std: "docker" "inspect" "a0a51333da57421cd7b1e9bc0222f4986f67f3ee748d5486fd74691c1acb4db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0a51333da57421cd7b1e9bc0222f4986f67f3ee748d5486fd74691c1acb4db2", kill_on_drop: false }` [INFO] [stdout] a0a51333da57421cd7b1e9bc0222f4986f67f3ee748d5486fd74691c1acb4db2