[INFO] fetching crate jsonapi 0.7.0... [INFO] checking jsonapi-0.7.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate jsonapi 0.7.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate jsonapi 0.7.0 [INFO] finished tweaking crates.io crate jsonapi 0.7.0 [INFO] tweaked toml for crates.io crate jsonapi 0.7.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jsonapi 0.7.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 72 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.7.1 (available: v0.11.8) [INFO] [stderr] Adding queryst v2.1.0 (available: v3.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded queryst v2.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f48a0cad4a06a0f2975c84d860c4316f0602e72e3784d48d1043cba67de0fe09 [INFO] running `Command { std: "docker" "start" "-a" "f48a0cad4a06a0f2975c84d860c4316f0602e72e3784d48d1043cba67de0fe09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f48a0cad4a06a0f2975c84d860c4316f0602e72e3784d48d1043cba67de0fe09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f48a0cad4a06a0f2975c84d860c4316f0602e72e3784d48d1043cba67de0fe09", kill_on_drop: false }` [INFO] [stdout] f48a0cad4a06a0f2975c84d860c4316f0602e72e3784d48d1043cba67de0fe09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c349b5ac4afb5e81960122369d1957058d82a4eaa6935a31a2d576e8ac39dec0 [INFO] running `Command { std: "docker" "start" "-a" "c349b5ac4afb5e81960122369d1957058d82a4eaa6935a31a2d576e8ac39dec0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking queryst v2.1.0 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking jsonapi v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain!{ [INFO] [stdout] 2 | | foreign_links { [INFO] [stdout] 3 | | SerdeJson(serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [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 `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [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 `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain!{ [INFO] [stdout] 2 | | foreign_links { [INFO] [stdout] 3 | | SerdeJson(serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [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 `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [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 `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api.rs:471:19 [INFO] [stdout] | [INFO] [stdout] 471 | pub fn as_ids(&self) -> std::result::Result, RelationshipAssumptionError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ---------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 471 | pub fn as_ids(&self) -> std::result::Result>, RelationshipAssumptionError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/model.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | panic!(format!("{} is not a Value::Object", self.jsonapi_type())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 82 - panic!(format!("{} is not a Value::Object", self.jsonapi_type())) [INFO] [stdout] 82 + panic!("{} is not a Value::Object", self.jsonapi_type()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/helper.rs:11:68 [INFO] [stdout] | [INFO] [stdout] 11 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/helper.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | panic!("couldn't read {}: {}", display, Error::description(&why)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/helper.rs:11:68 [INFO] [stdout] | [INFO] [stdout] 11 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/helper.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | panic!("couldn't read {}: {}", display, Error::description(&why)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/helper.rs:11:68 [INFO] [stdout] | [INFO] [stdout] 11 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/helper.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | panic!("couldn't read {}: {}", display, Error::description(&why)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api.rs:471:19 [INFO] [stdout] | [INFO] [stdout] 471 | pub fn as_ids(&self) -> std::result::Result, RelationshipAssumptionError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ---------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 471 | pub fn as_ids(&self) -> std::result::Result>, RelationshipAssumptionError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/model.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | panic!(format!("{} is not a Value::Object", self.jsonapi_type())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 82 - panic!(format!("{} is not a Value::Object", self.jsonapi_type())) [INFO] [stdout] 82 + panic!("{} is not a Value::Object", self.jsonapi_type()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.89s [INFO] running `Command { std: "docker" "inspect" "c349b5ac4afb5e81960122369d1957058d82a4eaa6935a31a2d576e8ac39dec0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c349b5ac4afb5e81960122369d1957058d82a4eaa6935a31a2d576e8ac39dec0", kill_on_drop: false }` [INFO] [stdout] c349b5ac4afb5e81960122369d1957058d82a4eaa6935a31a2d576e8ac39dec0