[INFO] fetching crate pyo3 0.14.1... [INFO] checking pyo3-0.14.1 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate pyo3 0.14.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate pyo3 0.14.1 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4c45c15674ceb0bccaf660c778ed867195b7c80c5a4347546bc065f1c459560 [INFO] running `Command { std: "docker" "start" "-a" "d4c45c15674ceb0bccaf660c778ed867195b7c80c5a4347546bc065f1c459560", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4c45c15674ceb0bccaf660c778ed867195b7c80c5a4347546bc065f1c459560", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4c45c15674ceb0bccaf660c778ed867195b7c80c5a4347546bc065f1c459560", kill_on_drop: false }` [INFO] [stdout] d4c45c15674ceb0bccaf660c778ed867195b7c80c5a4347546bc065f1c459560 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1c38534af9435666358f36ad383078ee41b68274341dea944b8602c34d4ddc9 [INFO] running `Command { std: "docker" "start" "-a" "a1c38534af9435666358f36ad383078ee41b68274341dea944b8602c34d4ddc9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling semver v1.0.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling pyo3-build-config v0.14.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Compiling trybuild v1.0.42 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking crossbeam-utils v0.8.5 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling pyo3 v0.14.1 (/opt/rustwide/workdir) [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] Compiling syn v1.0.74 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking proptest v0.10.1 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Compiling pyo3-macros-backend v0.14.1 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling pyo3-macros v0.14.1 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking serde_cbor v0.11.1 [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" "a1c38534af9435666358f36ad383078ee41b68274341dea944b8602c34d4ddc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1c38534af9435666358f36ad383078ee41b68274341dea944b8602c34d4ddc9", kill_on_drop: false }` [INFO] [stdout] a1c38534af9435666358f36ad383078ee41b68274341dea944b8602c34d4ddc9