[INFO] cloning repository https://github.com/JacobHayes/paRs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JacobHayes/paRs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJacobHayes%2FpaRs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJacobHayes%2FpaRs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c6f8ddac8b71ecd6bc9b8901a3c7ae2f20f563c [INFO] testing JacobHayes/paRs/2c6f8ddac8b71ecd6bc9b8901a3c7ae2f20f563c against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJacobHayes%2FpaRs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JacobHayes/paRs on toolchain nightly-2024-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JacobHayes/paRs [INFO] finished tweaking git repo https://github.com/JacobHayes/paRs [INFO] tweaked toml for git repo https://github.com/JacobHayes/paRs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JacobHayes/paRs 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" "+nightly-2024-10-28" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bbc8ef940b46391d6af4dd27bbdb8be31ad98151eb14e6861c917b22367642d [INFO] running `Command { std: "docker" "start" "-a" "5bbc8ef940b46391d6af4dd27bbdb8be31ad98151eb14e6861c917b22367642d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bbc8ef940b46391d6af4dd27bbdb8be31ad98151eb14e6861c917b22367642d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bbc8ef940b46391d6af4dd27bbdb8be31ad98151eb14e6861c917b22367642d", kill_on_drop: false }` [INFO] [stdout] 5bbc8ef940b46391d6af4dd27bbdb8be31ad98151eb14e6861c917b22367642d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a95bcce41f8bb3b29c8eac4d840677cb2ec407fd9c836cc631b53783ac40948c [INFO] running `Command { std: "docker" "start" "-a" "a95bcce41f8bb3b29c8eac4d840677cb2ec407fd9c836cc631b53783ac40948c", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling unindent v0.2.3 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling pyo3-build-config v0.22.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling pyo3-ffi v0.22.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.22.2 [INFO] [stderr] Compiling pyo3 v0.22.2 [INFO] [stderr] Compiling pyo3-macros v0.22.2 [INFO] [stderr] Compiling pars v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `add_function` found for reference `&pyo3::types::PyModule` in the current scope [INFO] [stdout] --> src/lib.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | m.add_function(wrap_pyfunction!(hello, m)?)?; [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&PyModule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&pyo3::types::PyModule: WrapPyFunctionArg<'_, _>` is not satisfied [INFO] [stdout] --> src/lib.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | m.add_function(wrap_pyfunction!(hello, m)?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `WrapPyFunctionArg<'_, _>` is not implemented for `&pyo3::types::PyModule` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `WrapPyFunctionArg<'py, T>`: [INFO] [stdout] &pyo3::Borrowed<'_, 'py, pyo3::types::PyModule> [INFO] [stdout] &pyo3::Bound<'py, pyo3::types::PyModule> [INFO] [stdout] OnlyBound [INFO] [stdout] pyo3::Borrowed<'_, 'py, pyo3::types::PyModule> [INFO] [stdout] pyo3::Bound<'py, pyo3::types::PyModule> [INFO] [stdout] pyo3::Python<'py> [INFO] [stdout] = note: this error originates in the macro `wrap_pyfunction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&pyo3::types::PyModule: From>` is not satisfied [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[pymodule] [INFO] [stdout] | ^^^^^^^^^^^ the trait `From>` is not implemented for `&pyo3::types::PyModule`, which is required by `BoundRef<'_, '_, pyo3::types::PyModule>: Into<_>` [INFO] [stdout] | [INFO] [stdout] = note: required for `BoundRef<'_, '_, pyo3::types::PyModule>` to implement `Into<&pyo3::types::PyModule>` [INFO] [stdout] = note: this error originates in the attribute macro `pymodule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pars` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "a95bcce41f8bb3b29c8eac4d840677cb2ec407fd9c836cc631b53783ac40948c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a95bcce41f8bb3b29c8eac4d840677cb2ec407fd9c836cc631b53783ac40948c", kill_on_drop: false }` [INFO] [stdout] a95bcce41f8bb3b29c8eac4d840677cb2ec407fd9c836cc631b53783ac40948c