[INFO] fetching crate jsonapi 0.7.0...
[INFO] testing jsonapi-0.7.0 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate jsonapi 0.7.0 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate jsonapi 0.7.0 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 55 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "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]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded queryst v2.1.0
[INFO] [stderr]   Downloaded utf8-ranges v1.0.5
[INFO] [stderr]   Downloaded humantime v1.3.0
[INFO] [stderr]   Downloaded thread_local v0.3.6
[INFO] [stderr]   Downloaded ucd-util v0.1.10
[INFO] [stderr]   Downloaded error-chain v0.12.4
[INFO] [stderr]   Downloaded aho-corasick v0.6.10
[INFO] [stderr]   Downloaded regex v0.2.11
[INFO] [stderr]   Downloaded regex-syntax v0.5.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b40888f8e750b445871107793ce8ca7969b24da7e7394650b9c8da5de17c2f79
[INFO] running `Command { std: "docker" "start" "-a" "b40888f8e750b445871107793ce8ca7969b24da7e7394650b9c8da5de17c2f79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b40888f8e750b445871107793ce8ca7969b24da7e7394650b9c8da5de17c2f79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b40888f8e750b445871107793ce8ca7969b24da7e7394650b9c8da5de17c2f79", kill_on_drop: false }`
[INFO] [stdout] b40888f8e750b445871107793ce8ca7969b24da7e7394650b9c8da5de17c2f79
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 09b3e6608587c899b0fb3896ad209d47f83d9c7a99e67c1c828f26583b8413c9
[INFO] running `Command { std: "docker" "start" "-a" "09b3e6608587c899b0fb3896ad209d47f83d9c7a99e67c1c828f26583b8413c9", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.105
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling object v0.37.3
[INFO] [stderr]    Compiling libc v0.2.179
[INFO] [stderr]    Compiling gimli v0.32.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling ucd-util v0.1.10
[INFO] [stderr]    Compiling matches v0.1.10
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]    Compiling error-chain v0.12.4
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling aho-corasick v0.6.10
[INFO] [stderr]    Compiling utf8-ranges v1.0.5
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling regex-syntax v0.5.6
[INFO] [stderr]    Compiling rustc-demangle v0.1.26
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling addr2line v0.25.1
[INFO] [stderr]    Compiling queryst v2.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling backtrace v0.3.76
[INFO] [stderr]    Compiling 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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<Option<JsonApiIds>, 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<Option<JsonApiIds<'_>>, 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[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)]` (part of `#[warn(rust_2021_compatibility)]`) 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 11.48s
[INFO] running `Command { std: "docker" "inspect" "09b3e6608587c899b0fb3896ad209d47f83d9c7a99e67c1c828f26583b8413c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "09b3e6608587c899b0fb3896ad209d47f83d9c7a99e67c1c828f26583b8413c9", kill_on_drop: false }`
[INFO] [stdout] 09b3e6608587c899b0fb3896ad209d47f83d9c7a99e67c1c828f26583b8413c9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 000952c04b3daae93e88a73e77f42b8a12b6c65891bd8200c6ac3d6ec08d2af2
[INFO] running `Command { std: "docker" "start" "-a" "000952c04b3daae93e88a73e77f42b8a12b6c65891bd8200c6ac3d6ec08d2af2", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling termcolor v1.4.1
[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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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<Option<JsonApiIds>, 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<Option<JsonApiIds<'_>>, 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[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)]` (part of `#[warn(rust_2021_compatibility)]`) 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]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling jsonapi v0.7.0 (/opt/rustwide/workdir)
[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: 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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<Option<JsonApiIds>, 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<Option<JsonApiIds<'_>>, 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[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)]` (part of `#[warn(rust_2021_compatibility)]`) 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 `test` profile [unoptimized + debuginfo] target(s) in 6.81s
[INFO] running `Command { std: "docker" "inspect" "000952c04b3daae93e88a73e77f42b8a12b6c65891bd8200c6ac3d6ec08d2af2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "000952c04b3daae93e88a73e77f42b8a12b6c65891bd8200c6ac3d6ec08d2af2", kill_on_drop: false }`
[INFO] [stdout] 000952c04b3daae93e88a73e77f42b8a12b6c65891bd8200c6ac3d6ec08d2af2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 602458f53a2da3e5edde4beecb05ad3ee6c71a7fab73983e29f2986e8263e8e0
[INFO] running `Command { std: "docker" "start" "-a" "602458f53a2da3e5edde4beecb05ad3ee6c71a7fab73983e29f2986e8263e8e0", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: unexpected `cfg` condition name: `has_error_description_deprecated`
[INFO] [stderr]   --> src/errors.rs:1:1
[INFO] [stderr]    |
[INFO] [stderr]  1 | / error_chain!{
[INFO] [stderr]  2 | |     foreign_links {
[INFO] [stderr]  3 | |         SerdeJson(serde_json::Error);
[INFO] [stderr] ...  |
[INFO] [stderr] 11 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stderr]    = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stderr]    = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg
[INFO] [stderr]    = 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] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/api.rs:471:19
[INFO] [stderr]     |
[INFO] [stderr] 471 |     pub fn as_ids(&self) -> std::result::Result<Option<JsonApiIds>, RelationshipAssumptionError> {
[INFO] [stderr]     |                   ^^^^^ the lifetime is elided here    ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 471 |     pub fn as_ids(&self) -> std::result::Result<Option<JsonApiIds<'_>>, RelationshipAssumptionError> {
[INFO] [stderr]     |                                                                  ++++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> src/model.rs:82:20
[INFO] [stderr]    |
[INFO] [stderr] 82 |             panic!(format!("{} is not a Value::Object", self.jsonapi_type()))
[INFO] [stderr]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stderr]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]    |
[INFO] [stderr] 82 -             panic!(format!("{} is not a Value::Object", self.jsonapi_type()))
[INFO] [stderr] 82 +             panic!("{} is not a Value::Object", self.jsonapi_type())
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: `jsonapi` (lib) generated 3 warnings (run `cargo fix --lib -p jsonapi` to apply 2 suggestions)
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> tests/helper.rs:11:68
[INFO] [stderr]    |
[INFO] [stderr] 11 |         Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)),
[INFO] [stderr]    |                                                                    ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> tests/helper.rs:18:56
[INFO] [stderr]    |
[INFO] [stderr] 18 |         panic!("couldn't read {}: {}", display, Error::description(&why));
[INFO] [stderr]    |                                                        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `jsonapi` (test "api_test") generated 2 warnings
[INFO] [stderr] warning: `jsonapi` (test "model_test") generated 2 warnings (2 duplicates)
[INFO] [stderr] warning: `jsonapi` (test "helper") generated 2 warnings (2 duplicates)
[INFO] [stderr] warning: `jsonapi` (lib test) generated 3 warnings (3 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jsonapi-bfd3b309a5e1e7de)
[INFO] [stderr]      Running tests/api_test.rs (/opt/rustwide/target/debug/deps/api_test-704e2f2eaf6d87a8)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 26 tests
[INFO] [stdout] test can_deserialize_jsonapi_example_jsonapi_info ... ok
[INFO] [stdout] test can_deserialize_jsonapi_example_links_002 ... ok
[INFO] [stdout] test can_deserialize_jsonapi_example_links_001 ... ok
[INFO] [stdout] test api_document_from_json_file ... ok
[INFO] [stdout] test api_document_collection_from_json_file ... ok
[INFO] [stdout] test can_deserialize_jsonapi_example_resource_001 ... ok
[INFO] [stdout] test can_deserialize_jsonapi_example_resource_003 ... ok
[INFO] [stdout] test can_deserialize_jsonapi_example_resource_002 ... ok
[INFO] [stdout] test can_diff_resource ... ok
[INFO] [stdout] test can_deserialize_jsonapi_example_compound_document ... ok
[INFO] [stdout] test can_deserialize_jsonapi_example_resource_004 ... ok
[INFO] [stdout] test can_get_attribute ... ok
[INFO] [stdout] test error_from_json_string ... ok
[INFO] [stdout] test it_omits_empty_document_and_primary_data_keys ... ok
[INFO] [stdout] test jsonapi_document_can_be_valid ... ok
[INFO] [stdout] test jsonapi_document_invalid_errors ... ok
[INFO] [stdout] test it_allows_for_optional_attributes ... ok
[INFO] [stdout] test it_omits_empty_error_keys ... ok
[INFO] [stdout] test multiple_data_document_from_json_string ... ok
[INFO] [stdout] test it_works ... ok
[INFO] [stdout] test multiple_resource_from_json_string ... ok
[INFO] [stdout] test single_resource_from_json_string ... ok
[INFO] [stdout] test no_data_document_from_json_string ... ok
[INFO] [stdout] test it_does_not_omit_an_empty_primary_data ... ok
[INFO] [stdout] test it_validates_partialeq_when_compariing_documents ... ok
[INFO] [stdout] test single_data_document_from_json_string ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/helper.rs (/opt/rustwide/target/debug/deps/helper-ab13218e54a3345b)
[INFO] [stderr]      Running tests/model_test.rs (/opt/rustwide/target/debug/deps/model_test-6be368b457841a01)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test to_jsonapi_document_and_back ... ok
[INFO] [stdout] test test_vec_to_jsonapi_document ... ok
[INFO] [stdout] test numeric_id ... ok
[INFO] [stdout] test from_jsonapi_document ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/query_test.rs (/opt/rustwide/target/debug/deps/query_test-5ec271c93ab4c3c1)
[INFO] [stdout] 
[INFO] [stdout] running 20 tests
[INFO] [stdout] test can_generate_string_empty ... ok
[INFO] [stdout] test can_generate_page_fields ... ok
[INFO] [stdout] test can_generate_string_fields_multiple_key_and_values ... ok
[INFO] [stdout] test can_generate_string_fields ... ok
[INFO] [stdout] test can_generate_string_fields_multiple_values ... ok
[INFO] [stdout] test can_generate_string_filter ... ok
[INFO] [stdout] test can_generate_string_filter_multiple_values ... ok
[INFO] [stdout] test can_generate_string_include_multiple ... ok
[INFO] [stdout] test can_generate_string_sort_multiple ... ok
[INFO] [stdout] test can_generate_string_include ... ok
[INFO] [stdout] test can_generate_string_sort ... ok
[INFO] [stdout] test can_generate_string_filter_multiple_key_and_values ... ok
[INFO] [stdout] test can_parse_and_provide_defaults_for_partial_fields ... ok
[INFO] [stdout] test can_parse ... ok
[INFO] [stdout] test can_parse_and_use_defaults_for_invalid_values ... ok
[INFO] [stdout] test can_parse_and_handle_missing_fields_values ... ok
[INFO] [stdout] test can_parse_and_handle_missing_filter_values ... ok
[INFO] [stdout] test can_provide_and_empty_struct ... ok
[INFO] [stdout] test can_parse_and_handle_missing_page_values ... ok
[INFO] [stderr]    Doc-tests jsonapi
[INFO] [stdout] test can_print ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test src/lib.rs - (line 65) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 98) ... FAILED
[INFO] [stdout] test src/query.rs - query::Query::to_params (line 226) ... ok
[INFO] [stdout] test src/query.rs - query::Query::from_params (line 194) ... ok
[INFO] [stdout] test src/api.rs - api::Resource::from_str (line 437) ... ok
[INFO] [stdout] test src/api.rs - api::Resource::get_attribute (line 322) ... ok
[INFO] [stdout] test src/api.rs - api::JsonApiDocument::from_str (line 288) ... ok
[INFO] [stdout] test src/api.rs - api::JsonApiDocument::validate (line 224) ... ok
[INFO] [stdout] test src/lib.rs - (line 33) ... ok
[INFO] [stdout] test src/model.rs - model::vec_to_jsonapi_document (line 279) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 65) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `Resource` in this scope
[INFO] [stdout]   --> src/lib.rs:91:18
[INFO] [stdout]    |
[INFO] [stdout] 91 | let data: Result<Resource, serde_json::Error> = serde_json::from_str(&serialized);
[INFO] [stdout]    |                  ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_65_0<Resource>() {
[INFO] [stdout]    |                                                                      ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 98) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `serialized` in this scope
[INFO] [stdout]   --> src/lib.rs:99:32
[INFO] [stdout]    |
[INFO] [stdout] 99 | let data = Resource::from_str(&serialized);
[INFO] [stdout]    |                                ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Resource`
[INFO] [stdout]   --> src/lib.rs:99:12
[INFO] [stdout]    |
[INFO] [stdout] 99 | let data = Resource::from_str(&serialized);
[INFO] [stdout]    |            ^^^^^^^^ use of undeclared type `Resource`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 65)
[INFO] [stdout]     src/lib.rs - (line 98)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 8 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.85s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "602458f53a2da3e5edde4beecb05ad3ee6c71a7fab73983e29f2986e8263e8e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "602458f53a2da3e5edde4beecb05ad3ee6c71a7fab73983e29f2986e8263e8e0", kill_on_drop: false }`
[INFO] [stdout] 602458f53a2da3e5edde4beecb05ad3ee6c71a7fab73983e29f2986e8263e8e0
