[INFO] fetching crate pyo3 0.14.1... [INFO] testing pyo3-0.14.1 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] extracting crate pyo3 0.14.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate pyo3 0.14.1 on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a03973558cfd1a7ac5c7efca7f73a8b8d0ba7642e8640303c27e4d8408f6ac5 [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" "8a03973558cfd1a7ac5c7efca7f73a8b8d0ba7642e8640303c27e4d8408f6ac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a03973558cfd1a7ac5c7efca7f73a8b8d0ba7642e8640303c27e4d8408f6ac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a03973558cfd1a7ac5c7efca7f73a8b8d0ba7642e8640303c27e4d8408f6ac5", kill_on_drop: false }` [INFO] [stdout] 8a03973558cfd1a7ac5c7efca7f73a8b8d0ba7642e8640303c27e4d8408f6ac5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 73b13d1244d4a074093c718f4c4a327dd67f9e4e658cba824d56633975df2e00 [INFO] running `Command { std: "docker" "start" "-a" "73b13d1244d4a074093c718f4c4a327dd67f9e4e658cba824d56633975df2e00", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling pyo3-build-config v0.14.1 [INFO] [stderr] Compiling pyo3 v0.14.1 (/opt/rustwide/workdir) [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] Compiling indoc v0.3.6 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.38s [INFO] running `Command { std: "docker" "inspect" "73b13d1244d4a074093c718f4c4a327dd67f9e4e658cba824d56633975df2e00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73b13d1244d4a074093c718f4c4a327dd67f9e4e658cba824d56633975df2e00", kill_on_drop: false }` [INFO] [stdout] 73b13d1244d4a074093c718f4c4a327dd67f9e4e658cba824d56633975df2e00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 19006597c85d8010bdf79b75eed7932b21a251ad6178421f2a70e71ae6678c5d [INFO] running `Command { std: "docker" "start" "-a" "19006597c85d8010bdf79b75eed7932b21a251ad6178421f2a70e71ae6678c5d", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling trybuild v1.0.43 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling assert_approx_eq v1.1.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling proptest v0.10.1 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling pyo3 v0.14.1 (/opt/rustwide/workdir) [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "19006597c85d8010bdf79b75eed7932b21a251ad6178421f2a70e71ae6678c5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19006597c85d8010bdf79b75eed7932b21a251ad6178421f2a70e71ae6678c5d", kill_on_drop: false }` [INFO] [stdout] 19006597c85d8010bdf79b75eed7932b21a251ad6178421f2a70e71ae6678c5d