[INFO] cloning repository https://github.com/tmikus/rust-with-python [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tmikus/rust-with-python" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmikus%2Frust-with-python", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmikus%2Frust-with-python'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1695d48ad26675efa876f5f7992e375cfa25fee [INFO] testing tmikus/rust-with-python against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmikus%2Frust-with-python" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tmikus/rust-with-python [INFO] finished tweaking git repo https://github.com/tmikus/rust-with-python [INFO] tweaked toml for git repo https://github.com/tmikus/rust-with-python written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tmikus/rust-with-python 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] crate git repo https://github.com/tmikus/rust-with-python 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] cd8009fe29014013fe6b8d4314e357221ca93dd3e5a9872dd9a929c9881db543 [INFO] running `Command { std: "docker" "start" "-a" "cd8009fe29014013fe6b8d4314e357221ca93dd3e5a9872dd9a929c9881db543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd8009fe29014013fe6b8d4314e357221ca93dd3e5a9872dd9a929c9881db543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd8009fe29014013fe6b8d4314e357221ca93dd3e5a9872dd9a929c9881db543", kill_on_drop: false }` [INFO] [stdout] cd8009fe29014013fe6b8d4314e357221ca93dd3e5a9872dd9a929c9881db543 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 9f27e71dca1385fab08a7b5713fa326faea49b8b33d0fc03a00a9761395b6188 [INFO] running `Command { std: "docker" "start" "-a" "9f27e71dca1385fab08a7b5713fa326faea49b8b33d0fc03a00a9761395b6188", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling pyo3-build-config v0.15.1 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling base_classifier v0.1.0 (/opt/rustwide/workdir/base_classifier) [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stdout] warning: fields `classifications` and `message` are never read [INFO] [stdout] --> base_classifier/src/classified_message.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ClassifiedMessage<'a> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 3 | classifications: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | message: &'a str, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassifiedMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust_classifier v0.1.0 (/opt/rustwide/workdir/rust_classifier) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> base_classifier/src/classified_message.rs:8:65 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(message: &'a str, classifications: Vec) -> ClassifiedMessage { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(message: &'a str, classifications: Vec) -> ClassifiedMessage<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling pyo3 v0.15.1 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.15.1 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling indoc v0.3.6 [INFO] [stderr] Compiling pyo3-macros v0.15.1 [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PyUnicode_READY` in module `ffi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.15.1/src/types/string.rs:232:30 [INFO] [stdout] | [INFO] [stdout] 232 | let ready = ffi::PyUnicode_READY(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a function with a similar name exists: `PyUnicode_IS_READY` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.15.1/src/ffi/cpython/unicodeobject.rs:224:1 [INFO] [stdout] | [INFO] [stdout] 224 | pub unsafe fn PyUnicode_IS_READY(op: *mut PyObject) -> c_uint { [INFO] [stdout] | ------------------------------------------------------------- similarly named function `PyUnicode_IS_READY` defined here [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.15.1/src/ffi/cpython/unicodeobject.rs:232:15 [INFO] [stdout] | [INFO] [stdout] 228 | #[cfg(not(Py_3_12))] [INFO] [stdout] | --------- the item is gated here [INFO] [stdout] ... [INFO] [stdout] 232 | pub unsafe fn PyUnicode_READY(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pyo3` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "9f27e71dca1385fab08a7b5713fa326faea49b8b33d0fc03a00a9761395b6188", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f27e71dca1385fab08a7b5713fa326faea49b8b33d0fc03a00a9761395b6188", kill_on_drop: false }` [INFO] [stdout] 9f27e71dca1385fab08a7b5713fa326faea49b8b33d0fc03a00a9761395b6188