[INFO] cloning repository https://github.com/jonasbb/pyo3_evcxr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jonasbb/pyo3_evcxr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonasbb%2Fpyo3_evcxr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonasbb%2Fpyo3_evcxr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce129719463914dff706f262228ff0a2983b2fc0 [INFO] checking jonasbb/pyo3_evcxr against try#79452e8441468c5568c20bfca2aa1fe75b645b2d for pr-152210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonasbb%2Fpyo3_evcxr" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jonasbb/pyo3_evcxr [INFO] finished tweaking git repo https://github.com/jonasbb/pyo3_evcxr [INFO] tweaked toml for git repo https://github.com/jonasbb/pyo3_evcxr written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jonasbb/pyo3_evcxr on toolchain 79452e8441468c5568c20bfca2aa1fe75b645b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jonasbb/pyo3_evcxr 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" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3-build-config v0.24.1 [INFO] [stderr] Downloaded pyo3-ffi v0.24.1 [INFO] [stderr] Downloaded pyo3 v0.24.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84199566d82c51994ad60c8b8e5fe617ef30229dab1db4a4bcc630450ad9e06b [INFO] running `Command { std: "docker" "start" "-a" "84199566d82c51994ad60c8b8e5fe617ef30229dab1db4a4bcc630450ad9e06b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84199566d82c51994ad60c8b8e5fe617ef30229dab1db4a4bcc630450ad9e06b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84199566d82c51994ad60c8b8e5fe617ef30229dab1db4a4bcc630450ad9e06b", kill_on_drop: false }` [INFO] [stdout] 84199566d82c51994ad60c8b8e5fe617ef30229dab1db4a4bcc630450ad9e06b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f597e3ee992ab3847d2ddfb1e25d9471489ba24e592e4f99d51d93619b0eb77 [INFO] running `Command { std: "docker" "start" "-a" "7f597e3ee992ab3847d2ddfb1e25d9471489ba24e592e4f99d51d93619b0eb77", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling pyo3-build-config v0.24.1 [INFO] [stderr] Compiling pyo3-ffi v0.24.1 [INFO] [stderr] Compiling pyo3 v0.24.1 [INFO] [stderr] Checking pyo3_evcxr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 17 | let res = py.eval( [INFO] [stdout] | ---- arguments to this method are incorrect [INFO] [stdout] 18 | r"import sysconfig; sysconfig.get_config_var('LDLIBRARY')", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&CStr`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&CStr` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.24.1/src/marker.rs:542:12 [INFO] [stdout] | [INFO] [stdout] 542 | pub fn eval( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 17 | let res = py.eval( [INFO] [stdout] | ---- arguments to this method are incorrect [INFO] [stdout] 18 | r"import sysconfig; sysconfig.get_config_var('LDLIBRARY')", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&CStr`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&CStr` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.24.1/src/marker.rs:542:12 [INFO] [stdout] | [INFO] [stdout] 542 | pub fn eval( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `extract` found for struct `pyo3::Bound<'py, T>` in the current scope [INFO] [stdout] --> src/lib.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | res.extract() [INFO] [stdout] | ^^^^^^^ method not found in `pyo3::Bound<'_, PyAny>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.24.1/src/types/any.rs:873:8 [INFO] [stdout] | [INFO] [stdout] 873 | fn extract<'a, T>(&'a self) -> PyResult [INFO] [stdout] | ------- the method is available for `pyo3::Bound<'_, PyAny>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `PyAnyMethods` which provides `extract` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use pyo3::types::PyAnyMethods; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `extract` found for struct `pyo3::Bound<'py, T>` in the current scope [INFO] [stdout] --> src/lib.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | res.extract() [INFO] [stdout] | ^^^^^^^ method not found in `pyo3::Bound<'_, PyAny>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.24.1/src/types/any.rs:873:8 [INFO] [stdout] | [INFO] [stdout] 873 | fn extract<'a, T>(&'a self) -> PyResult [INFO] [stdout] | ------- the method is available for `pyo3::Bound<'_, PyAny>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `PyAnyMethods` which provides `extract` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use pyo3::types::PyAnyMethods; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pyo3_evcxr` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `pyo3_evcxr` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "7f597e3ee992ab3847d2ddfb1e25d9471489ba24e592e4f99d51d93619b0eb77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f597e3ee992ab3847d2ddfb1e25d9471489ba24e592e4f99d51d93619b0eb77", kill_on_drop: false }` [INFO] [stdout] 7f597e3ee992ab3847d2ddfb1e25d9471489ba24e592e4f99d51d93619b0eb77