[INFO] cloning repository https://github.com/leplatrem/pyext-canonicaljson [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leplatrem/pyext-canonicaljson" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleplatrem%2Fpyext-canonicaljson", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleplatrem%2Fpyext-canonicaljson'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 26abdd95d149caf415f15e629e523b284cf425d4 [INFO] checking leplatrem/pyext-canonicaljson against try#969026c535f4240ff7866ef11207dfda18a26af6 for pr-146504 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleplatrem%2Fpyext-canonicaljson" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/leplatrem/pyext-canonicaljson [INFO] finished tweaking git repo https://github.com/leplatrem/pyext-canonicaljson [INFO] tweaked toml for git repo https://github.com/leplatrem/pyext-canonicaljson written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/leplatrem/pyext-canonicaljson on toolchain 969026c535f4240ff7866ef11207dfda18a26af6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/leplatrem/pyext-canonicaljson 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" "+969026c535f4240ff7866ef11207dfda18a26af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3-macros v0.22.6 [INFO] [stderr] Downloaded canonical_json v0.5.0 [INFO] [stderr] Downloaded pyo3-build-config v0.22.6 [INFO] [stderr] Downloaded pyo3-ffi v0.22.6 [INFO] [stderr] Downloaded pyo3-macros-backend v0.22.6 [INFO] [stderr] Downloaded pyo3 v0.22.6 [INFO] [stderr] Downloaded libc v0.2.72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d64bcceff79e728f1b68b32cc5ec93f769b98629516810773a7f16589e350510 [INFO] running `Command { std: "docker" "start" "-a" "d64bcceff79e728f1b68b32cc5ec93f769b98629516810773a7f16589e350510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d64bcceff79e728f1b68b32cc5ec93f769b98629516810773a7f16589e350510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d64bcceff79e728f1b68b32cc5ec93f769b98629516810773a7f16589e350510", kill_on_drop: false }` [INFO] [stdout] d64bcceff79e728f1b68b32cc5ec93f769b98629516810773a7f16589e350510 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9e93ec49fe8f6cc4341ac31333fd2965d7f7ed66ae193d3d4ec3a1f04e2439e [INFO] running `Command { std: "docker" "start" "-a" "d9e93ec49fe8f6cc4341ac31333fd2965d7f7ed66ae193d3d4ec3a1f04e2439e", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling syn v1.0.104 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling pyo3-build-config v0.22.6 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling pyo3-ffi v0.22.6 [INFO] [stderr] Compiling pyo3-macros-backend v0.22.6 [INFO] [stderr] Compiling pyo3 v0.22.6 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling pyo3-macros v0.22.6 [INFO] [stderr] Checking canonical_json v0.5.0 [INFO] [stderr] Checking canonicaljson-rs v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `pyo3::Py::::downcast`: `PyObject::downcast` will be replaced by `PyObject::downcast_bound` in a future PyO3 version [INFO] [stdout] --> src/lib.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | if let Ok(val) = obj.downcast::<$t>(py) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | / return_cast!(PyDict, |x: &PyDict| { [INFO] [stdout] 118 | | let mut map = serde_json::Map::new(); [INFO] [stdout] 119 | | for (key_obj, value) in x.iter() { [INFO] [stdout] 120 | | let key = if key_obj.eq(py.None().bind(py))? { [INFO] [stdout] ... | [INFO] [stdout] 142 | | Ok(serde_json::Value::Object(map)) [INFO] [stdout] 143 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `return_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::Py::::downcast`: `PyObject::downcast` will be replaced by `PyObject::downcast_bound` in a future PyO3 version [INFO] [stdout] --> src/lib.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | if let Ok(val) = obj.downcast::<$t>(py) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / return_cast!(PyList, |x: &PyList| { [INFO] [stdout] 146 | | let json_array: Result, _> = [INFO] [stdout] 147 | | x.iter().map(|x| to_json(py, &x.to_object(py))).collect(); // This turns the iterator into a Result, PyCanonicalJS... [INFO] [stdout] 148 | | Ok(serde_json::Value::Array(json_array?)) [INFO] [stdout] 149 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `return_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::Py::::downcast`: `PyObject::downcast` will be replaced by `PyObject::downcast_bound` in a future PyO3 version [INFO] [stdout] --> src/lib.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | if let Ok(val) = obj.downcast::<$t>(py) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | / return_cast!(PyTuple, |x: &PyTuple| { [INFO] [stdout] 152 | | let json_array: Result, _> = [INFO] [stdout] 153 | | x.iter().map(|x| to_json(py, &x.to_object(py))).collect(); // This turns the iterator into a Result, PyCanonicalJS... [INFO] [stdout] 154 | | Ok(serde_json::Value::Array(json_array?)) [INFO] [stdout] 155 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `return_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::Py::::downcast`: `PyObject::downcast` will be replaced by `PyObject::downcast_bound` in a future PyO3 version [INFO] [stdout] --> src/lib.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | if let Ok(val) = obj.downcast::<$t>(py) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | / return_cast!(PyFloat, |x: &PyFloat| { [INFO] [stdout] 158 | | match serde_json::Number::from_f64(x.value()) { [INFO] [stdout] 159 | | Some(n) => Ok(serde_json::Value::Number(n)), [INFO] [stdout] 160 | | None => Err(PyCanonicalJSONError::InvalidFloat { [INFO] [stdout] ... | [INFO] [stdout] 164 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `return_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::Py::::downcast`: `PyObject::downcast` will be replaced by `PyObject::downcast_bound` in a future PyO3 version [INFO] [stdout] --> src/lib.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | if let Ok(val) = obj.downcast::<$t>(py) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | / return_cast!(PyDict, |x: &PyDict| { [INFO] [stdout] 118 | | let mut map = serde_json::Map::new(); [INFO] [stdout] 119 | | for (key_obj, value) in x.iter() { [INFO] [stdout] 120 | | let key = if key_obj.eq(py.None().bind(py))? { [INFO] [stdout] ... | [INFO] [stdout] 142 | | Ok(serde_json::Value::Object(map)) [INFO] [stdout] 143 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `return_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::Py::::downcast`: `PyObject::downcast` will be replaced by `PyObject::downcast_bound` in a future PyO3 version [INFO] [stdout] --> src/lib.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | if let Ok(val) = obj.downcast::<$t>(py) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / return_cast!(PyList, |x: &PyList| { [INFO] [stdout] 146 | | let json_array: Result, _> = [INFO] [stdout] 147 | | x.iter().map(|x| to_json(py, &x.to_object(py))).collect(); // This turns the iterator into a Result, PyCanonicalJS... [INFO] [stdout] 148 | | Ok(serde_json::Value::Array(json_array?)) [INFO] [stdout] 149 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `return_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::Py::::downcast`: `PyObject::downcast` will be replaced by `PyObject::downcast_bound` in a future PyO3 version [INFO] [stdout] --> src/lib.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | if let Ok(val) = obj.downcast::<$t>(py) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | / return_cast!(PyTuple, |x: &PyTuple| { [INFO] [stdout] 152 | | let json_array: Result, _> = [INFO] [stdout] 153 | | x.iter().map(|x| to_json(py, &x.to_object(py))).collect(); // This turns the iterator into a Result, PyCanonicalJS... [INFO] [stdout] 154 | | Ok(serde_json::Value::Array(json_array?)) [INFO] [stdout] 155 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `return_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::Py::::downcast`: `PyObject::downcast` will be replaced by `PyObject::downcast_bound` in a future PyO3 version [INFO] [stdout] --> src/lib.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | if let Ok(val) = obj.downcast::<$t>(py) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | / return_cast!(PyFloat, |x: &PyFloat| { [INFO] [stdout] 158 | | match serde_json::Number::from_f64(x.value()) { [INFO] [stdout] 159 | | Some(n) => Ok(serde_json::Value::Number(n)), [INFO] [stdout] 160 | | None => Err(PyCanonicalJSONError::InvalidFloat { [INFO] [stdout] ... | [INFO] [stdout] 164 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `return_cast` (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 18.43s [INFO] running `Command { std: "docker" "inspect" "d9e93ec49fe8f6cc4341ac31333fd2965d7f7ed66ae193d3d4ec3a1f04e2439e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9e93ec49fe8f6cc4341ac31333fd2965d7f7ed66ae193d3d4ec3a1f04e2439e", kill_on_drop: false }` [INFO] [stdout] d9e93ec49fe8f6cc4341ac31333fd2965d7f7ed66ae193d3d4ec3a1f04e2439e