[INFO] cloning repository https://github.com/thrzl/reqwest.py [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thrzl/reqwest.py" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthrzl%2Freqwest.py", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthrzl%2Freqwest.py'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f3c2da8f116afa95a3e1092a6c38a08c9fa43c8f [INFO] checking thrzl/reqwest.py against master#35d55b34bffd51384ac430cc20852b7d16dd5a90 for pr-145108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthrzl%2Freqwest.py" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thrzl/reqwest.py [INFO] finished tweaking git repo https://github.com/thrzl/reqwest.py [INFO] tweaked toml for git repo https://github.com/thrzl/reqwest.py written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thrzl/reqwest.py on toolchain 35d55b34bffd51384ac430cc20852b7d16dd5a90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thrzl/reqwest.py already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded native-tls v0.2.10 [INFO] [stderr] Downloaded proc-macro2 v1.0.40 [INFO] [stderr] Downloaded bytes v1.2.0 [INFO] [stderr] Downloaded mini-internal v0.1.24 [INFO] [stderr] Downloaded redox_syscall v0.2.15 [INFO] [stderr] Downloaded indoc v1.0.6 [INFO] [stderr] Downloaded pyo3-build-config v0.16.5 [INFO] [stderr] Downloaded pyo3-macros v0.16.5 [INFO] [stderr] Downloaded miniserde v0.1.24 [INFO] [stderr] Downloaded pyo3-ffi v0.16.5 [INFO] [stderr] Downloaded tracing v0.1.35 [INFO] [stderr] Downloaded ureq v2.5.0 [INFO] [stderr] Downloaded serde v1.0.140 [INFO] [stderr] Downloaded reqwest v0.11.11 [INFO] [stderr] Downloaded h2 v0.3.13 [INFO] [stderr] Downloaded serde_json v1.0.82 [INFO] [stderr] Downloaded openssl v0.10.41 [INFO] [stderr] Downloaded tracing-core v0.1.28 [INFO] [stderr] Downloaded openssl-sys v0.9.75 [INFO] [stderr] Downloaded pyo3-macros-backend v0.16.5 [INFO] [stderr] Downloaded unindent v0.1.9 [INFO] [stderr] Downloaded chunked_transfer v1.4.0 [INFO] [stderr] Downloaded pyo3 v0.16.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 087eac02205d0459e4f161f4c4af6bfde417933470e8fc279673052db48dffc8 [INFO] running `Command { std: "docker" "start" "-a" "087eac02205d0459e4f161f4c4af6bfde417933470e8fc279673052db48dffc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "087eac02205d0459e4f161f4c4af6bfde417933470e8fc279673052db48dffc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "087eac02205d0459e4f161f4c4af6bfde417933470e8fc279673052db48dffc8", kill_on_drop: false }` [INFO] [stdout] 087eac02205d0459e4f161f4c4af6bfde417933470e8fc279673052db48dffc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 678463aa655702824b2dbb7c0d2b705d1bfc62ed53923020398f3ec0989b234e [INFO] running `Command { std: "docker" "start" "-a" "678463aa655702824b2dbb7c0d2b705d1bfc62ed53923020398f3ec0989b234e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling target-lexicon v0.12.4 [INFO] [stderr] Checking bytes v1.2.0 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking unindent v0.1.9 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Compiling indoc v1.0.6 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Compiling pyo3-build-config v0.16.5 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling pyo3-ffi v0.16.5 [INFO] [stderr] Compiling pyo3 v0.16.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki-roots v0.22.4 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Compiling pyo3-macros-backend v0.16.5 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling mini-internal v0.1.24 [INFO] [stderr] Checking miniserde v0.1.24 [INFO] [stderr] Checking ureq v2.5.0 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Compiling pyo3-macros v0.16.5 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking reqwest-py v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `addr_of` [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | create_exception!(reqwest, HTTPError, PyException); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::pyobject_native_type_info` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::pyobject_native_type_info` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `addr_of` [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | create_exception!(reqwest, HTTPError, PyException); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::pyobject_native_type_info` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::pyobject_native_type_info` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `addr_of` [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | create_exception!(reqwest, HTTPError, PyException); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::pyobject_native_type_info` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::pyobject_native_type_info` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `addr_of` [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | create_exception!(reqwest, HTTPError, PyException); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::pyobject_native_type_info` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::pyobject_native_type_info` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/client.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this static `ITEMS` and up 3 bodies [INFO] [stdout] 25 | impl Client { [INFO] [stdout] | ------ `Client` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/response.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this static `ITEMS` and up 3 bodies [INFO] [stdout] 15 | impl Response { [INFO] [stdout] | -------- `Response` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/client.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this static `ITEMS` and up 3 bodies [INFO] [stdout] 25 | impl Client { [INFO] [stdout] | ------ `Client` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/response.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this static `ITEMS` and up 3 bodies [INFO] [stdout] 15 | impl Response { [INFO] [stdout] | -------- `Response` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.11s [INFO] running `Command { std: "docker" "inspect" "678463aa655702824b2dbb7c0d2b705d1bfc62ed53923020398f3ec0989b234e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "678463aa655702824b2dbb7c0d2b705d1bfc62ed53923020398f3ec0989b234e", kill_on_drop: false }` [INFO] [stdout] 678463aa655702824b2dbb7c0d2b705d1bfc62ed53923020398f3ec0989b234e