[INFO] fetching crate pyo3 0.14.1... [INFO] checking pyo3-0.14.1 against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [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 ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88571f8004939269afb04af3e8f81e0281d13006ebb37d6a6f49b97acdb24550 [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" "88571f8004939269afb04af3e8f81e0281d13006ebb37d6a6f49b97acdb24550", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88571f8004939269afb04af3e8f81e0281d13006ebb37d6a6f49b97acdb24550", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88571f8004939269afb04af3e8f81e0281d13006ebb37d6a6f49b97acdb24550", kill_on_drop: false }` [INFO] [stdout] 88571f8004939269afb04af3e8f81e0281d13006ebb37d6a6f49b97acdb24550 [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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5af845b8c011bc41a5f1d11cc7eff9e8abfdbe46c9f7f12dac3de6fece3d15ec [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" "5af845b8c011bc41a5f1d11cc7eff9e8abfdbe46c9f7f12dac3de6fece3d15ec", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling memchr v2.4.0 [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 itertools v0.9.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking crossbeam-utils v0.8.5 [INFO] [stderr] Compiling pyo3-build-config v0.14.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Checking crossbeam-channel v0.5.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 crossbeam-deque v0.8.0 [INFO] [stderr] Compiling pyo3 v0.14.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking rayon v1.5.1 [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] Compiling pyo3-macros v0.14.1 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking serde_json v1.0.64 [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "5af845b8c011bc41a5f1d11cc7eff9e8abfdbe46c9f7f12dac3de6fece3d15ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5af845b8c011bc41a5f1d11cc7eff9e8abfdbe46c9f7f12dac3de6fece3d15ec", kill_on_drop: false }` [INFO] [stdout] 5af845b8c011bc41a5f1d11cc7eff9e8abfdbe46c9f7f12dac3de6fece3d15ec