[INFO] fetching crate pyo3_special_method_derive_0_21 0.4.2... [INFO] checking pyo3_special_method_derive_0_21-0.4.2 against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] extracting crate pyo3_special_method_derive_0_21 0.4.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate pyo3_special_method_derive_0_21 0.4.2 [INFO] finished tweaking crates.io crate pyo3_special_method_derive_0_21 0.4.2 [INFO] tweaked toml for crates.io crate pyo3_special_method_derive_0_21 0.4.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pyo3_special_method_derive_0_21 0.4.2 on toolchain 943e2200e35c3825486c4671b6cab0107a07f8c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pyo3_special_method_derive_0_21 0.4.2 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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c51ee742d52025833409d196c5e970444632c53d38daa6fb0c5376d9656f957 [INFO] running `Command { std: "docker" "start" "-a" "1c51ee742d52025833409d196c5e970444632c53d38daa6fb0c5376d9656f957", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c51ee742d52025833409d196c5e970444632c53d38daa6fb0c5376d9656f957", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c51ee742d52025833409d196c5e970444632c53d38daa6fb0c5376d9656f957", kill_on_drop: false }` [INFO] [stdout] 1c51ee742d52025833409d196c5e970444632c53d38daa6fb0c5376d9656f957 [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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76cea3b2ef9cf3fd6c40f38480d698326e63cb7f156b578c73ce4847e68ed2e5 [INFO] running `Command { std: "docker" "start" "-a" "76cea3b2ef9cf3fd6c40f38480d698326e63cb7f156b578c73ce4847e68ed2e5", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.15 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling unindent v0.2.3 [INFO] [stderr] Compiling inventory v0.3.15 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling pyo3-build-config v0.21.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling pyo3-ffi v0.21.2 [INFO] [stderr] Compiling pyo3 v0.21.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.21.2 [INFO] [stderr] Compiling quote_into_macro v0.2.0 [INFO] [stderr] Compiling quote_into v0.2.0 [INFO] [stderr] Compiling pyo3-macros v0.21.2 [INFO] [stderr] Compiling pyo3_special_method_derive_macro_0_21 v0.4.2 [INFO] [stderr] Checking pyo3_special_method_derive_0_21 v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/struct_str_repr_skip_str_repr.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Dir, Str, Repr)] [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/dict_enum_unit_skipped.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Dict)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/dict_enum.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Dict)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pyo3_special_method_derive_0_21` (test "struct_str_repr_skip_str_repr") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `pyo3_special_method_derive_0_21` (test "dict_enum_unit_skipped") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pyo3_special_method_derive_0_21` (test "dict_enum") due to 1 previous error [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> examples/dict/main.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Dict)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/functional_struct_pub_skip.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Dir, Str, Repr)] [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/dir_skip.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Dir)] [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/dir_skip.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Dir)] [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/functional_struct_pub_skip.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Dir)] [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pyo3_special_method_derive_0_21` (example "dict") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pyo3_special_method_derive_0_21` (test "functional_struct_pub_skip") due to 2 previous errors [INFO] [stderr] error: could not compile `pyo3_special_method_derive_0_21` (test "dir_skip") due to 2 previous errors [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/empty_complex_enum.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Dir)] [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/functional_struct.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Dir, Str, Repr)] [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> examples/all/main.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Str, Repr, Dir)] [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/functional_struct.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Dir)] [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> examples/all/main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Dir, Str, Repr)] [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pyo3_special_method_derive_0_21` (test "empty_complex_enum") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pyo3_special_method_derive_0_21` (test "functional_struct") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pyo3_special_method_derive_0_21` (example "all") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "76cea3b2ef9cf3fd6c40f38480d698326e63cb7f156b578c73ce4847e68ed2e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76cea3b2ef9cf3fd6c40f38480d698326e63cb7f156b578c73ce4847e68ed2e5", kill_on_drop: false }` [INFO] [stdout] 76cea3b2ef9cf3fd6c40f38480d698326e63cb7f156b578c73ce4847e68ed2e5