[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 against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJacobHayes%2FpaRs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JacobHayes/paRs on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf11f10b60d362f8231f2e60dd33fd86c241636bd1c40a9e5bef4ecc4f55d17d [INFO] running `Command { std: "docker" "start" "-a" "cf11f10b60d362f8231f2e60dd33fd86c241636bd1c40a9e5bef4ecc4f55d17d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf11f10b60d362f8231f2e60dd33fd86c241636bd1c40a9e5bef4ecc4f55d17d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf11f10b60d362f8231f2e60dd33fd86c241636bd1c40a9e5bef4ecc4f55d17d", kill_on_drop: false }` [INFO] [stdout] cf11f10b60d362f8231f2e60dd33fd86c241636bd1c40a9e5bef4ecc4f55d17d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1e803b87dcd105a0e1e3cb1ac84b3b8e2fc4139fce210f3c8b9ed6048ebe23f [INFO] running `Command { std: "docker" "start" "-a" "e1e803b87dcd105a0e1e3cb1ac84b3b8e2fc4139fce210f3c8b9ed6048ebe23f", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling unindent v0.2.3 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling pyo3-build-config v0.22.2 [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 `&pyo3::types::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` [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" "e1e803b87dcd105a0e1e3cb1ac84b3b8e2fc4139fce210f3c8b9ed6048ebe23f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1e803b87dcd105a0e1e3cb1ac84b3b8e2fc4139fce210f3c8b9ed6048ebe23f", kill_on_drop: false }` [INFO] [stdout] e1e803b87dcd105a0e1e3cb1ac84b3b8e2fc4139fce210f3c8b9ed6048ebe23f