[INFO] fetching crate pyo3 0.12.4... [INFO] checking pyo3-0.12.4 against try#b2f80f6008cdafc35b4472bd46afa16cc6b0cd63 for pr-79470 [INFO] extracting crate pyo3 0.12.4 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate pyo3 0.12.4 on toolchain b2f80f6008cdafc35b4472bd46afa16cc6b0cd63 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate pyo3 0.12.4 [INFO] finished tweaking crates.io crate pyo3 0.12.4 [INFO] tweaked toml for crates.io crate pyo3 0.12.4 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "metadata" "--no-deps" "--format-version=1", 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] c4449f88c01f0f5a6fdcb73ed42e506daed6cf1381a08b559b44d1ca9abdbb52 [INFO] running `Command { std: "docker" "start" "-a" "c4449f88c01f0f5a6fdcb73ed42e506daed6cf1381a08b559b44d1ca9abdbb52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4449f88c01f0f5a6fdcb73ed42e506daed6cf1381a08b559b44d1ca9abdbb52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4449f88c01f0f5a6fdcb73ed42e506daed6cf1381a08b559b44d1ca9abdbb52", kill_on_drop: false }` [INFO] [stdout] c4449f88c01f0f5a6fdcb73ed42e506daed6cf1381a08b559b44d1ca9abdbb52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4ce702fa66e9dd47811e1396be3bb557050f072eadbc56b3b9560f2eee4d948 [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" "c4ce702fa66e9dd47811e1396be3bb557050f072eadbc56b3b9560f2eee4d948", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling trybuild v1.0.35 [INFO] [stderr] Compiling pyo3 v0.12.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling pyo3-derive-backend v0.12.4 [INFO] [stderr] Checking serde_json v1.0.60 [INFO] [stderr] Checking toml v0.5.7 [INFO] [stderr] Checking parking_lot_core v0.8.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling pyo3cls v0.12.4 [INFO] [stdout] warning: attribute should be applied to a foreign function or static [INFO] [stdout] --> src/ffi/methodobject.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg_attr(Py_3_8, link_name = "_PyObject_Vectorcall")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | / pub type PyObject_Vectorcall = unsafe extern "C" fn( [INFO] [stdout] 22 | | slf: *mut PyObject, [INFO] [stdout] 23 | | // positional and keyword arguments [INFO] [stdout] 24 | | args: *const *mut PyObject, [INFO] [stdout] ... | [INFO] [stdout] 28 | | kwnames: *mut PyObject, [INFO] [stdout] 29 | | ) -> *mut PyObject; [INFO] [stdout] | |___________________- not a foreign function or static [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a foreign function or static [INFO] [stdout] --> src/ffi/methodobject.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg_attr(Py_3_8, link_name = "PyVectorcall_Call")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | / pub type PyVectorcall_Call = unsafe extern "C" fn( [INFO] [stdout] 34 | | obj: *mut PyObject, [INFO] [stdout] 35 | | tuple: *mut PyObject, [INFO] [stdout] 36 | | dict: *mut PyObject, [INFO] [stdout] 37 | | ) -> *mut PyObject; [INFO] [stdout] | |___________________- not a foreign function or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a foreign function or static [INFO] [stdout] --> src/ffi/methodobject.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg_attr(Py_3_8, link_name = "_PyObject_Vectorcall")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | / pub type PyObject_Vectorcall = unsafe extern "C" fn( [INFO] [stdout] 22 | | slf: *mut PyObject, [INFO] [stdout] 23 | | // positional and keyword arguments [INFO] [stdout] 24 | | args: *const *mut PyObject, [INFO] [stdout] ... | [INFO] [stdout] 28 | | kwnames: *mut PyObject, [INFO] [stdout] 29 | | ) -> *mut PyObject; [INFO] [stdout] | |___________________- not a foreign function or static [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a foreign function or static [INFO] [stdout] --> src/ffi/methodobject.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg_attr(Py_3_8, link_name = "PyVectorcall_Call")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | / pub type PyVectorcall_Call = unsafe extern "C" fn( [INFO] [stdout] 34 | | obj: *mut PyObject, [INFO] [stdout] 35 | | tuple: *mut PyObject, [INFO] [stdout] 36 | | dict: *mut PyObject, [INFO] [stdout] 37 | | ) -> *mut PyObject; [INFO] [stdout] | |___________________- not a foreign function or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/types/num.rs:89:73 [INFO] [stdout] | [INFO] [stdout] 89 | .map_err(|e| exceptions::PyOverflowError::new_err(e.to_string())) [INFO] [stdout] | - ^^^^^^^^^ unreachable call [INFO] [stdout] | | [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 140 | int_fits_c_long!(i64); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/types/num.rs:89:73 [INFO] [stdout] | [INFO] [stdout] 89 | .map_err(|e| exceptions::PyOverflowError::new_err(e.to_string())) [INFO] [stdout] | - ^^^^^^^^^ unreachable call [INFO] [stdout] | | [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 140 | int_fits_c_long!(i64); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `panic` [INFO] [stdout] --> tests/test_exceptions.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | use std::{net::TcpListener, panic}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 44.16s [INFO] running `Command { std: "docker" "inspect" "c4ce702fa66e9dd47811e1396be3bb557050f072eadbc56b3b9560f2eee4d948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4ce702fa66e9dd47811e1396be3bb557050f072eadbc56b3b9560f2eee4d948", kill_on_drop: false }` [INFO] [stdout] c4ce702fa66e9dd47811e1396be3bb557050f072eadbc56b3b9560f2eee4d948