[INFO] cloning repository https://github.com/BurnySc2/PyO3-error [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BurnySc2/PyO3-error" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBurnySc2%2FPyO3-error", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBurnySc2%2FPyO3-error'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c27f8e726507916c15c420c79094d25d2502831 [INFO] testing BurnySc2/PyO3-error against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBurnySc2%2FPyO3-error" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BurnySc2/PyO3-error on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BurnySc2/PyO3-error [INFO] finished tweaking git repo https://github.com/BurnySc2/PyO3-error [INFO] tweaked toml for git repo https://github.com/BurnySc2/PyO3-error written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/BurnySc2/PyO3-error already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (pyo3) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.pyo3.pyo3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9938db37fd94a91209eb91291e7bf6e3b8c7c0d7d8cb0d24264622c8638e190 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f9938db37fd94a91209eb91291e7bf6e3b8c7c0d7d8cb0d24264622c8638e190", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9938db37fd94a91209eb91291e7bf6e3b8c7c0d7d8cb0d24264622c8638e190", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9938db37fd94a91209eb91291e7bf6e3b8c7c0d7d8cb0d24264622c8638e190", kill_on_drop: false }` [INFO] [stdout] f9938db37fd94a91209eb91291e7bf6e3b8c7c0d7d8cb0d24264622c8638e190 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cd11f0f953ed37584d5d1bc44dc94ce9b382c6cb49afec8a898659605d58881 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5cd11f0f953ed37584d5d1bc44dc94ce9b382c6cb49afec8a898659605d58881", kill_on_drop: false }` [INFO] [stderr] warning: dependency (pyo3) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.pyo3.pyo3 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.13 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling unindent v0.1.5 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling regex v1.3.3 [INFO] [stderr] Compiling pyo3-derive-backend v0.8.4 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling ctor v0.1.12 [INFO] [stderr] Compiling inventory-impl v0.1.5 [INFO] [stderr] Compiling ghost v0.1.1 [INFO] [stderr] Compiling pyo3cls v0.8.4 [INFO] [stderr] Compiling inventory v0.1.5 [INFO] [stderr] Compiling paste-impl v0.1.6 [INFO] [stderr] Compiling indoc-impl v0.3.4 [INFO] [stderr] Compiling indoc v0.3.4 [INFO] [stderr] Compiling paste v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling pyo3 v0.8.4 [INFO] [stderr] Compiling my_library v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `pyo3::types::PyAny` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pyo3::types::PyAny; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyo3::wrap_pyfunction` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pyo3::wrap_pyfunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyo3::PyObjectProtocol` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyo3::PyObjectProtocol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ expected `i32`, found `&pyo3::PyRawObject` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `my_library`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "5cd11f0f953ed37584d5d1bc44dc94ce9b382c6cb49afec8a898659605d58881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cd11f0f953ed37584d5d1bc44dc94ce9b382c6cb49afec8a898659605d58881", kill_on_drop: false }` [INFO] [stdout] 5cd11f0f953ed37584d5d1bc44dc94ce9b382c6cb49afec8a898659605d58881