[INFO] fetching crate perde-core 0.0.1... [INFO] testing perde-core-0.0.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate perde-core 0.0.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate perde-core 0.0.1 [INFO] finished tweaking crates.io crate perde-core 0.0.1 [INFO] tweaked toml for crates.io crate perde-core 0.0.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate perde-core 0.0.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 41 packages to latest compatible versions [INFO] [stderr] Adding derive-new v0.5.9 (available: v0.7.0) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.11.0) [INFO] [stderr] Adding indoc-impl v0.3.6 (available: v0.3.7) [INFO] [stderr] Adding pyo3 v0.12.4 (available: v0.26.0) [INFO] [stderr] Adding pyo3-derive-backend v0.12.4 (available: v0.12.5) [INFO] [stderr] Adding pyo3cls v0.12.4 (available: v0.12.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9b81f83d81e866fa4d01e63cc19e17934b76c5d76b9750992a245c111bf4865 [INFO] running `Command { std: "docker" "start" "-a" "f9b81f83d81e866fa4d01e63cc19e17934b76c5d76b9750992a245c111bf4865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9b81f83d81e866fa4d01e63cc19e17934b76c5d76b9750992a245c111bf4865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9b81f83d81e866fa4d01e63cc19e17934b76c5d76b9750992a245c111bf4865", kill_on_drop: false }` [INFO] [stdout] f9b81f83d81e866fa4d01e63cc19e17934b76c5d76b9750992a245c111bf4865 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55641503283bd8d804a222274cc88e9872d737b438e1d518ac9d99babe6dc7be [INFO] running `Command { std: "docker" "start" "-a" "55641503283bd8d804a222274cc88e9872d737b438e1d518ac9d99babe6dc7be", kill_on_drop: false }` [INFO] [stderr] Compiling unindent v0.1.11 [INFO] [stderr] Compiling inventory v0.1.11 [INFO] [stderr] Compiling pyo3 v0.12.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling pyo3-derive-backend v0.12.4 [INFO] [stderr] Compiling inventory-impl v0.1.11 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling indoc v0.3.6 [INFO] [stderr] Compiling pyo3cls v0.12.4 [INFO] [stderr] Compiling ghost v0.1.20 [INFO] [stderr] Compiling perde-core v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/error.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | return Err($crate::err!($($t)*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/types/object.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | bail!("cannot set attribute `{}`", s) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: `#[deny(semicolon_in_expressions_from_macros)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/error.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | return Err($crate::err!($($t)*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/types/object.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | bail!("cannot get capsule pointer") [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/error.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | return Err($crate::err!($($t)*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/types/object.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | bail!("object is not boolean type") [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/error.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | return Err($crate::err!($($t)*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/types/object.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | bail!("object is not integer type") [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/error.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | return Err($crate::err!($($t)*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/types/object.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | bail!("object is not integer type") [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/error.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | return Err($crate::err!($($t)*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/types/object.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | bail!("object is not double float") [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/error.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | return Err($crate::err!($($t)*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/types/object.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | bail!("object is not a string") [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/error.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | return Err($crate::err!($($t)*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/types/object.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | bail!("object is not bytes") [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/error.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | return Err($crate::err!($($t)*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/types/object.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | bail!("object is not bytearray") [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/error.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | return Err($crate::err!($($t)*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/types/args.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | / bail!( [INFO] [stdout] 28 | | "missing {}-th positional argument; got {}", [INFO] [stdout] 29 | | index, [INFO] [stdout] 30 | | self.num_args() [INFO] [stdout] 31 | | ) [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/error.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | return Err($crate::err!($($t)*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/types/containers.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | bail!("cannot add an item to a set") [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/error.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | return Err($crate::err!($($t)*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/types/containers.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | bail!("cannot set an item to dictionary") [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/error.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | return Err($crate::err!($($t)*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/resolve.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | bail!("unsupported type") [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/error.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | return Err($crate::err!($($t)*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/schema.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | c => bail!("Unsupported string case: {}", c), [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/types/object.rs:188:23 [INFO] [stdout] | [INFO] [stdout] 188 | self.is(cast!(PyBool_Type)) [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/types/object.rs:192:23 [INFO] [stdout] | [INFO] [stdout] 192 | self.is(cast!(PyUnicode_Type)) [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/types/object.rs:196:23 [INFO] [stdout] | [INFO] [stdout] 196 | self.is(cast!(PyLong_Type)) [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/types/object.rs:200:23 [INFO] [stdout] | [INFO] [stdout] 200 | self.is(cast!(PyFloat_Type)) [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/types/object.rs:204:23 [INFO] [stdout] | [INFO] [stdout] 204 | self.is(cast!(PyBytes_Type)) [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/types/object.rs:208:23 [INFO] [stdout] | [INFO] [stdout] 208 | self.is(cast!(PyByteArray_Type)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/types/object.rs:212:23 [INFO] [stdout] | [INFO] [stdout] 212 | self.is(cast!(PyDict_Type)) [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/types/object.rs:216:23 [INFO] [stdout] | [INFO] [stdout] 216 | self.is(cast!(PySet_Type)) [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/types/object.rs:220:23 [INFO] [stdout] | [INFO] [stdout] 220 | self.is(cast!(PyList_Type)) [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/types/object.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | self.is(cast!(PyFrozenSet_Type)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/tuple.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn as_ref(&self) -> TupleRef { [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] 100 | pub fn as_ref(&self) -> TupleRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `perde-core` (lib) due to 28 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "55641503283bd8d804a222274cc88e9872d737b438e1d518ac9d99babe6dc7be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55641503283bd8d804a222274cc88e9872d737b438e1d518ac9d99babe6dc7be", kill_on_drop: false }` [INFO] [stdout] 55641503283bd8d804a222274cc88e9872d737b438e1d518ac9d99babe6dc7be