[INFO] fetching crate pyo3 0.14.1... [INFO] checking pyo3-0.14.1 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate pyo3 0.14.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate pyo3 0.14.1 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pyo3 0.14.1 [INFO] finished tweaking crates.io crate pyo3 0.14.1 [INFO] tweaked toml for crates.io crate pyo3 0.14.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c4e1964a5f7d7423c6e80b4e75fd49a10fcfb402c07038e7696bf286f412a17 [INFO] running `Command { std: "docker" "start" "-a" "6c4e1964a5f7d7423c6e80b4e75fd49a10fcfb402c07038e7696bf286f412a17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c4e1964a5f7d7423c6e80b4e75fd49a10fcfb402c07038e7696bf286f412a17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c4e1964a5f7d7423c6e80b4e75fd49a10fcfb402c07038e7696bf286f412a17", kill_on_drop: false }` [INFO] [stdout] 6c4e1964a5f7d7423c6e80b4e75fd49a10fcfb402c07038e7696bf286f412a17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ee1bbff36e80ce2055e5ef893e9af3cb5d9a6e06f84173f0fba17c0f0e38b2c [INFO] running `Command { std: "docker" "start" "-a" "3ee1bbff36e80ce2055e5ef893e9af3cb5d9a6e06f84173f0fba17c0f0e38b2c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling pyo3-build-config v0.14.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling trybuild v1.0.42 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling pyo3 v0.14.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking proptest v0.10.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.14.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Compiling pyo3-macros v0.14.1 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.4 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pyo3` [INFO] [stdout] --> src/types/datetime.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 469 | use pyo3::types::{PyDateTime, PyTimeAccess}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `pyo3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pyo3` [INFO] [stdout] --> src/types/datetime.rs:468:15 [INFO] [stdout] | [INFO] [stdout] 468 | pyo3::Python::with_gil(|py| { [INFO] [stdout] | ^^^^^^ not found in `pyo3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 465 | use crate::Python; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PyDateTime` [INFO] [stdout] --> src/types/datetime.rs:471:21 [INFO] [stdout] | [INFO] [stdout] 471 | let a = PyDateTime::new_with_fold(py, 2021, 1, 23, 20, 32, 40, 341516, None, false); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 465 | use crate::types::PyDateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PyDateTime` [INFO] [stdout] --> src/types/datetime.rs:472:21 [INFO] [stdout] | [INFO] [stdout] 472 | let b = PyDateTime::new_with_fold(py, 2021, 1, 23, 20, 32, 40, 341516, None, true); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 465 | use crate::types::PyDateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/iterator.rs:114:52 [INFO] [stdout] | [INFO] [stdout] 114 | assert_eq!(10, it.next().unwrap().unwrap().extract().unwrap()); [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `D` declared on the associated function `extract` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: conversion::FromPyObject<'_>` [INFO] [stdout] help: consider specifying the type arguments in the method call [INFO] [stdout] | [INFO] [stdout] 114 | assert_eq!(10, it.next().unwrap().unwrap().extract::<'a, D>().unwrap()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/iterator.rs:136:56 [INFO] [stdout] | [INFO] [stdout] 136 | assert_eq!(10, it.next().unwrap().unwrap().extract().unwrap()); [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `D` declared on the associated function `extract` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: conversion::FromPyObject<'_>` [INFO] [stdout] help: consider specifying the type arguments in the method call [INFO] [stdout] | [INFO] [stdout] 136 | assert_eq!(10, it.next().unwrap().unwrap().extract::<'a, D>().unwrap()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/iterator.rs:164:56 [INFO] [stdout] | [INFO] [stdout] 164 | assert_eq!(10, it.next().unwrap().unwrap().extract().unwrap()); [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `D` declared on the associated function `extract` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: conversion::FromPyObject<'_>` [INFO] [stdout] help: consider specifying the type arguments in the method call [INFO] [stdout] | [INFO] [stdout] 164 | assert_eq!(10, it.next().unwrap().unwrap().extract::<'a, D>().unwrap()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/set.rs:509:33 [INFO] [stdout] | [INFO] [stdout] 509 | assert_eq!(1i32, el.extract().unwrap()); [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `D` declared on the associated function `extract` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: conversion::FromPyObject<'_>` [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 509 | assert_eq!(1i32, >::extract(el).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 509 | assert_eq!(1i32, >::extract(el).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 509 | assert_eq!(1i32, <&'py PyException as conversion::FromPyObject<'py>>::extract(el).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 509 | assert_eq!(1i32, <&'py PyOSError as conversion::FromPyObject<'py>>::extract(el).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] and 134 other candidates [INFO] [stdout] help: consider specifying the type arguments in the method call [INFO] [stdout] | [INFO] [stdout] 509 | assert_eq!(1i32, el.extract::<'a, D>().unwrap()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/tuple.rs:360:44 [INFO] [stdout] | [INFO] [stdout] 360 | assert_eq!(1, iter.next().unwrap().extract().unwrap()); [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `D` declared on the associated function `extract` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: conversion::FromPyObject<'_>` [INFO] [stdout] help: consider specifying the type arguments in the method call [INFO] [stdout] | [INFO] [stdout] 360 | assert_eq!(1, iter.next().unwrap().extract::<'a, D>().unwrap()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/tuple.rs:379:36 [INFO] [stdout] | [INFO] [stdout] 379 | assert_eq!(i + 1, item.extract().unwrap()); [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `D` declared on the associated function `extract` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: conversion::FromPyObject<'_>` [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 379 | assert_eq!(i + 1, >::extract(item).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 379 | assert_eq!(i + 1, >::extract(item).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 379 | assert_eq!(i + 1, <&'py PyException as conversion::FromPyObject<'py>>::extract(item).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 379 | assert_eq!(i + 1, <&'py PyOSError as conversion::FromPyObject<'py>>::extract(item).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] and 134 other candidates [INFO] [stdout] help: consider specifying the type arguments in the method call [INFO] [stdout] | [INFO] [stdout] 379 | assert_eq!(i + 1, item.extract::<'a, D>().unwrap()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/tuple.rs:393:32 [INFO] [stdout] | [INFO] [stdout] 393 | assert_eq!(1, slice[0].extract().unwrap()); [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `D` declared on the associated function `extract` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: conversion::FromPyObject<'_>` [INFO] [stdout] help: consider specifying the type arguments in the method call [INFO] [stdout] | [INFO] [stdout] 393 | assert_eq!(1, slice[0].extract::<'a, D>().unwrap()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pyo3` due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "3ee1bbff36e80ce2055e5ef893e9af3cb5d9a6e06f84173f0fba17c0f0e38b2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ee1bbff36e80ce2055e5ef893e9af3cb5d9a6e06f84173f0fba17c0f0e38b2c", kill_on_drop: false }` [INFO] [stdout] 3ee1bbff36e80ce2055e5ef893e9af3cb5d9a6e06f84173f0fba17c0f0e38b2c