[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] d9503a3d316374e2f47d8154139b63f5508450ff [INFO] checking leplatrem/pyext-canonicaljson against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleplatrem%2Fpyext-canonicaljson" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leplatrem/pyext-canonicaljson on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc1/source/Cargo.toml [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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] Downloading crates ... [INFO] [stderr] Downloaded canonical_json v0.5.0 [INFO] [stderr] Downloaded unindent v0.1.6 [INFO] [stderr] Downloaded syn v1.0.104 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be8dfd0cdd9ca4051c8bf3e5516a5cd03a496ed609870ec73b329bc34a23c56c [INFO] running `Command { std: "docker" "start" "-a" "be8dfd0cdd9ca4051c8bf3e5516a5cd03a496ed609870ec73b329bc34a23c56c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be8dfd0cdd9ca4051c8bf3e5516a5cd03a496ed609870ec73b329bc34a23c56c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be8dfd0cdd9ca4051c8bf3e5516a5cd03a496ed609870ec73b329bc34a23c56c", kill_on_drop: false }` [INFO] [stdout] be8dfd0cdd9ca4051c8bf3e5516a5cd03a496ed609870ec73b329bc34a23c56c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c67260df8126ff1ee1180815294249740deee018621b30c73733e6dab4addb0 [INFO] running `Command { std: "docker" "start" "-a" "8c67260df8126ff1ee1180815294249740deee018621b30c73733e6dab4addb0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling target-lexicon v0.12.4 [INFO] [stderr] Compiling syn v1.0.104 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking instant v0.1.6 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking unindent v0.1.6 [INFO] [stderr] Compiling indoc v1.0.6 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Compiling pyo3-build-config v0.19.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Compiling pyo3-ffi v0.19.2 [INFO] [stderr] Compiling pyo3 v0.19.2 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling pyo3-macros-backend v0.19.2 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Compiling pyo3-macros v0.19.2 [INFO] [stderr] Checking canonical_json v0.5.0 [INFO] [stderr] Checking canonicaljson-rs v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `PyAny` is imported redundantly [INFO] [stdout] --> src/lib.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 3 | use pyo3::prelude::*; [INFO] [stdout] | ---------------- the item `PyAny` is already imported here [INFO] [stdout] 4 | use pyo3::{ [INFO] [stdout] 5 | types::{PyAny, PyDict, PyFloat, PyList, PyTuple}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:145:67 [INFO] [stdout] | [INFO] [stdout] 145 | return_cast!(PyList, |x: &PyList| Ok(serde_json::Value::Array(r#try!(x [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:150:69 [INFO] [stdout] | [INFO] [stdout] 150 | return_cast!(PyTuple, |x: &PyTuple| Ok(serde_json::Value::Array(r#try!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PyAny` is imported redundantly [INFO] [stdout] --> src/lib.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 3 | use pyo3::prelude::*; [INFO] [stdout] | ---------------- the item `PyAny` is already imported here [INFO] [stdout] 4 | use pyo3::{ [INFO] [stdout] 5 | types::{PyAny, PyDict, PyFloat, PyList, PyTuple}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:145:67 [INFO] [stdout] | [INFO] [stdout] 145 | return_cast!(PyList, |x: &PyList| Ok(serde_json::Value::Array(r#try!(x [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:150:69 [INFO] [stdout] | [INFO] [stdout] 150 | return_cast!(PyTuple, |x: &PyTuple| Ok(serde_json::Value::Array(r#try!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::Py::::cast_as`: use downcast() instead [INFO] [stdout] --> src/lib.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | if let Ok(val) = obj.cast_as::<$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().as_ref(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: 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::::cast_as`: use downcast() instead [INFO] [stdout] --> src/lib.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | if let Ok(val) = obj.cast_as::<$t>(py) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / return_cast!(PyList, |x: &PyList| Ok(serde_json::Value::Array(r#try!(x [INFO] [stdout] 146 | | .iter() [INFO] [stdout] 147 | | .map(|x| to_json(py, &x.to_object(py))) [INFO] [stdout] 148 | | .collect())))); [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::::cast_as`: use downcast() instead [INFO] [stdout] --> src/lib.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | if let Ok(val) = obj.cast_as::<$t>(py) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | / return_cast!(PyTuple, |x: &PyTuple| Ok(serde_json::Value::Array(r#try!( [INFO] [stdout] 151 | | x.iter().map(|x| to_json(py, &x.to_object(py))).collect() [INFO] [stdout] 152 | | )))); [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::::cast_as`: use downcast() instead [INFO] [stdout] --> src/lib.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | if let Ok(val) = obj.cast_as::<$t>(py) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | / return_cast!(PyFloat, |x: &PyFloat| { [INFO] [stdout] 155 | | match serde_json::Number::from_f64(x.value()) { [INFO] [stdout] 156 | | Some(n) => Ok(serde_json::Value::Number(n)), [INFO] [stdout] 157 | | None => Err(PyCanonicalJSONError::InvalidFloat { [INFO] [stdout] ... | [INFO] [stdout] 160 | | } [INFO] [stdout] 161 | | }); [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::Py::::cast_as`: use downcast() instead [INFO] [stdout] --> src/lib.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | if let Ok(val) = obj.cast_as::<$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().as_ref(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: 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::::cast_as`: use downcast() instead [INFO] [stdout] --> src/lib.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | if let Ok(val) = obj.cast_as::<$t>(py) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / return_cast!(PyList, |x: &PyList| Ok(serde_json::Value::Array(r#try!(x [INFO] [stdout] 146 | | .iter() [INFO] [stdout] 147 | | .map(|x| to_json(py, &x.to_object(py))) [INFO] [stdout] 148 | | .collect())))); [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::::cast_as`: use downcast() instead [INFO] [stdout] --> src/lib.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | if let Ok(val) = obj.cast_as::<$t>(py) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | / return_cast!(PyTuple, |x: &PyTuple| Ok(serde_json::Value::Array(r#try!( [INFO] [stdout] 151 | | x.iter().map(|x| to_json(py, &x.to_object(py))).collect() [INFO] [stdout] 152 | | )))); [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::::cast_as`: use downcast() instead [INFO] [stdout] --> src/lib.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | if let Ok(val) = obj.cast_as::<$t>(py) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | / return_cast!(PyFloat, |x: &PyFloat| { [INFO] [stdout] 155 | | match serde_json::Number::from_f64(x.value()) { [INFO] [stdout] 156 | | Some(n) => Ok(serde_json::Value::Number(n)), [INFO] [stdout] 157 | | None => Err(PyCanonicalJSONError::InvalidFloat { [INFO] [stdout] ... | [INFO] [stdout] 160 | | } [INFO] [stdout] 161 | | }); [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.26s [INFO] running `Command { std: "docker" "inspect" "8c67260df8126ff1ee1180815294249740deee018621b30c73733e6dab4addb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c67260df8126ff1ee1180815294249740deee018621b30c73733e6dab4addb0", kill_on_drop: false }` [INFO] [stdout] 8c67260df8126ff1ee1180815294249740deee018621b30c73733e6dab4addb0 [INFO] checking leplatrem/pyext-canonicaljson against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleplatrem%2Fpyext-canonicaljson" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leplatrem/pyext-canonicaljson on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc2/source/Cargo.toml [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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86cc3ca97acfcdc26ae2c91e7e775c3ab5b79deb95c1a5a555122d98581326cd [INFO] running `Command { std: "docker" "start" "-a" "86cc3ca97acfcdc26ae2c91e7e775c3ab5b79deb95c1a5a555122d98581326cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86cc3ca97acfcdc26ae2c91e7e775c3ab5b79deb95c1a5a555122d98581326cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86cc3ca97acfcdc26ae2c91e7e775c3ab5b79deb95c1a5a555122d98581326cd", kill_on_drop: false }` [INFO] [stdout] 86cc3ca97acfcdc26ae2c91e7e775c3ab5b79deb95c1a5a555122d98581326cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbacef6f64d83ec15d920f8db8493bb7ac0f730866df7800df930231797ee334 [INFO] running `Command { std: "docker" "start" "-a" "dbacef6f64d83ec15d920f8db8493bb7ac0f730866df7800df930231797ee334", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling target-lexicon v0.12.4 [INFO] [stderr] Compiling syn v1.0.104 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking instant v0.1.6 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Compiling indoc v1.0.6 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking unindent v0.1.6 [INFO] [stderr] Compiling pyo3-build-config v0.19.2 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Compiling pyo3-ffi v0.19.2 [INFO] [stderr] Compiling pyo3 v0.19.2 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling pyo3-macros-backend v0.19.2 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Compiling pyo3-macros v0.19.2 [INFO] [stderr] Checking canonical_json v0.5.0 [INFO] [stderr] Checking canonicaljson-rs v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `PyAny` is imported redundantly [INFO] [stdout] --> src/lib.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 3 | use pyo3::prelude::*; [INFO] [stdout] | ---------------- the item `PyAny` is already imported here [INFO] [stdout] 4 | use pyo3::{ [INFO] [stdout] 5 | types::{PyAny, PyDict, PyFloat, PyList, PyTuple}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:145:67 [INFO] [stdout] | [INFO] [stdout] 145 | return_cast!(PyList, |x: &PyList| Ok(serde_json::Value::Array(r#try!(x [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:150:69 [INFO] [stdout] | [INFO] [stdout] 150 | return_cast!(PyTuple, |x: &PyTuple| Ok(serde_json::Value::Array(r#try!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PyAny` is imported redundantly [INFO] [stdout] --> src/lib.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 3 | use pyo3::prelude::*; [INFO] [stdout] | ---------------- the item `PyAny` is already imported here [INFO] [stdout] 4 | use pyo3::{ [INFO] [stdout] 5 | types::{PyAny, PyDict, PyFloat, PyList, PyTuple}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:145:67 [INFO] [stdout] | [INFO] [stdout] 145 | return_cast!(PyList, |x: &PyList| Ok(serde_json::Value::Array(r#try!(x [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:150:69 [INFO] [stdout] | [INFO] [stdout] 150 | return_cast!(PyTuple, |x: &PyTuple| Ok(serde_json::Value::Array(r#try!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::Py::::cast_as`: use downcast() instead [INFO] [stdout] --> src/lib.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | if let Ok(val) = obj.cast_as::<$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().as_ref(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: 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::::cast_as`: use downcast() instead [INFO] [stdout] --> src/lib.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | if let Ok(val) = obj.cast_as::<$t>(py) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / return_cast!(PyList, |x: &PyList| Ok(serde_json::Value::Array(r#try!(x [INFO] [stdout] 146 | | .iter() [INFO] [stdout] 147 | | .map(|x| to_json(py, &x.to_object(py))) [INFO] [stdout] 148 | | .collect())))); [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::::cast_as`: use downcast() instead [INFO] [stdout] --> src/lib.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | if let Ok(val) = obj.cast_as::<$t>(py) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | / return_cast!(PyTuple, |x: &PyTuple| Ok(serde_json::Value::Array(r#try!( [INFO] [stdout] 151 | | x.iter().map(|x| to_json(py, &x.to_object(py))).collect() [INFO] [stdout] 152 | | )))); [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::::cast_as`: use downcast() instead [INFO] [stdout] --> src/lib.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | if let Ok(val) = obj.cast_as::<$t>(py) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | / return_cast!(PyFloat, |x: &PyFloat| { [INFO] [stdout] 155 | | match serde_json::Number::from_f64(x.value()) { [INFO] [stdout] 156 | | Some(n) => Ok(serde_json::Value::Number(n)), [INFO] [stdout] 157 | | None => Err(PyCanonicalJSONError::InvalidFloat { [INFO] [stdout] ... | [INFO] [stdout] 160 | | } [INFO] [stdout] 161 | | }); [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::::cast_as`: use downcast() instead [INFO] [stdout] --> src/lib.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | if let Ok(val) = obj.cast_as::<$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().as_ref(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: 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::::cast_as`: use downcast() instead [INFO] [stdout] --> src/lib.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | if let Ok(val) = obj.cast_as::<$t>(py) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / return_cast!(PyList, |x: &PyList| Ok(serde_json::Value::Array(r#try!(x [INFO] [stdout] 146 | | .iter() [INFO] [stdout] 147 | | .map(|x| to_json(py, &x.to_object(py))) [INFO] [stdout] 148 | | .collect())))); [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::::cast_as`: use downcast() instead [INFO] [stdout] --> src/lib.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | if let Ok(val) = obj.cast_as::<$t>(py) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | / return_cast!(PyTuple, |x: &PyTuple| Ok(serde_json::Value::Array(r#try!( [INFO] [stdout] 151 | | x.iter().map(|x| to_json(py, &x.to_object(py))).collect() [INFO] [stdout] 152 | | )))); [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::::cast_as`: use downcast() instead [INFO] [stdout] --> src/lib.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | if let Ok(val) = obj.cast_as::<$t>(py) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | / return_cast!(PyFloat, |x: &PyFloat| { [INFO] [stdout] 155 | | match serde_json::Number::from_f64(x.value()) { [INFO] [stdout] 156 | | Some(n) => Ok(serde_json::Value::Number(n)), [INFO] [stdout] 157 | | None => Err(PyCanonicalJSONError::InvalidFloat { [INFO] [stdout] ... | [INFO] [stdout] 160 | | } [INFO] [stdout] 161 | | }); [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.72s [INFO] running `Command { std: "docker" "inspect" "dbacef6f64d83ec15d920f8db8493bb7ac0f730866df7800df930231797ee334", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbacef6f64d83ec15d920f8db8493bb7ac0f730866df7800df930231797ee334", kill_on_drop: false }` [INFO] [stdout] dbacef6f64d83ec15d920f8db8493bb7ac0f730866df7800df930231797ee334