[INFO] fetching crate japi 0.3.2... [INFO] checking japi-0.3.2 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] extracting crate japi 0.3.2 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate japi 0.3.2 on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate japi 0.3.2 [INFO] finished tweaking crates.io crate japi 0.3.2 [INFO] tweaked toml for crates.io crate japi 0.3.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 213640a241af9764e2dfc725762ac08badee76df4888aba2a6b9b70d90129f08 [INFO] running `Command { std: "docker" "start" "-a" "213640a241af9764e2dfc725762ac08badee76df4888aba2a6b9b70d90129f08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "213640a241af9764e2dfc725762ac08badee76df4888aba2a6b9b70d90129f08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "213640a241af9764e2dfc725762ac08badee76df4888aba2a6b9b70d90129f08", kill_on_drop: false }` [INFO] [stdout] 213640a241af9764e2dfc725762ac08badee76df4888aba2a6b9b70d90129f08 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fea3cda767f965d6f220889b7bbbb29798149c7aa702cefb417f9feea4330212 [INFO] running `Command { std: "docker" "start" "-a" "fea3cda767f965d6f220889b7bbbb29798149c7aa702cefb417f9feea4330212", kill_on_drop: false }` [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking japi v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/optional_vec.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_derive::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/object/resource.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{Error, Value, self}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryInto` [INFO] [stdout] --> src/object/resource.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Links` and `Relationships` [INFO] [stdout] --> src/object/identifier.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Meta, Relationships, Links, GenericObject, ResourceObject, Attributes}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryInto` [INFO] [stdout] --> src/object/identifier.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/object/conversion_error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/links.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/optional.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_derive::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/optional.rs:2:62 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::de::{DeserializeOwned, Deserializer, Deserialize, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/object/generic.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/object/resource.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{Error, Value, self}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Links` and `Relationships` [INFO] [stdout] --> src/object/identifier.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Meta, Relationships, Links, GenericObject, ResourceObject, Attributes}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/object/conversion_error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/links.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/optional.rs:2:62 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::de::{DeserializeOwned, Deserializer, Deserialize, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/object/resource.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | fn links(id: &str) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Relationships` [INFO] [stdout] --> tests/article.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Relationships, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> tests/article.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | use serde_json::{self, json}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/object/resource.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | fn links(id: &str) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> tests/article.rs:123:30 [INFO] [stdout] | [INFO] [stdout] 123 | included.extend(comments.into_iter().map(|v| GenericObject::from(v))); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 123 | included.extend(comments.iter().map(|v| GenericObject::from(v))); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 123 | included.extend(IntoIterator::into_iter(comments).map(|v| GenericObject::from(v))); [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 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 0.79s [INFO] running `Command { std: "docker" "inspect" "fea3cda767f965d6f220889b7bbbb29798149c7aa702cefb417f9feea4330212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fea3cda767f965d6f220889b7bbbb29798149c7aa702cefb417f9feea4330212", kill_on_drop: false }` [INFO] [stdout] fea3cda767f965d6f220889b7bbbb29798149c7aa702cefb417f9feea4330212 [INFO] checking japi-0.3.2 against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] extracting crate japi 0.3.2 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate japi 0.3.2 on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate japi 0.3.2 [INFO] finished tweaking crates.io crate japi 0.3.2 [INFO] tweaked toml for crates.io crate japi 0.3.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee41459d5c43156538cff90c813968404f46699170337e7cc8e565159476cd32 [INFO] running `Command { std: "docker" "start" "-a" "ee41459d5c43156538cff90c813968404f46699170337e7cc8e565159476cd32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee41459d5c43156538cff90c813968404f46699170337e7cc8e565159476cd32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee41459d5c43156538cff90c813968404f46699170337e7cc8e565159476cd32", kill_on_drop: false }` [INFO] [stdout] ee41459d5c43156538cff90c813968404f46699170337e7cc8e565159476cd32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d8e5cc4d15d8e39aaa31e255236a441add32b92cc60fc146aa687485a08ad0b [INFO] running `Command { std: "docker" "start" "-a" "2d8e5cc4d15d8e39aaa31e255236a441add32b92cc60fc146aa687485a08ad0b", kill_on_drop: false }` [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking japi v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/optional_vec.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_derive::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/object/resource.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{Error, Value, self}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryInto` [INFO] [stdout] --> src/object/resource.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Links` and `Relationships` [INFO] [stdout] --> src/object/identifier.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Meta, Relationships, Links, GenericObject, ResourceObject, Attributes}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryInto` [INFO] [stdout] --> src/object/identifier.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/object/conversion_error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/links.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/optional.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_derive::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/optional.rs:2:62 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::de::{DeserializeOwned, Deserializer, Deserialize, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/object/generic.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/object/resource.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{Error, Value, self}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Links` and `Relationships` [INFO] [stdout] --> src/object/identifier.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Meta, Relationships, Links, GenericObject, ResourceObject, Attributes}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/object/conversion_error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/links.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/optional.rs:2:62 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::de::{DeserializeOwned, Deserializer, Deserialize, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/object/resource.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | fn links(id: &str) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/optional_vec.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 122 | fn deserialize(deserializer: D) -> Result [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | match serde_json::from_value::>(v.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/generic.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 41 | fn from(ro: ResourceObject) -> Self { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | attributes: serde_json::from_value(v).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/resource.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 98 | let attributes = if let Some(m) = go.attributes { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | let v = Value::Object(m.into_iter().collect()); [INFO] [stdout] 100 | let a : A = serde_json::from_value(v)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 105 | | id: go.id, [INFO] [stdout] 106 | | attributes, [INFO] [stdout] 107 | | relationships: go.relationships, [INFO] [stdout] 108 | | links: go.links, [INFO] [stdout] 109 | | meta: go.meta, [INFO] [stdout] 110 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/resource.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 121 | let attributes = if let Some(m) = &go.attributes { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | let v = Value::Object(m.iter().map(|(k,v)| (k.clone(), v.clone())).collect()); [INFO] [stdout] 123 | let a : A = serde_json::from_value(v)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | Ok( Self{ [INFO] [stdout] | _____________^ [INFO] [stdout] 128 | | id: go.id.clone(), [INFO] [stdout] 129 | | attributes, [INFO] [stdout] 130 | | relationships: go.relationships.clone(), [INFO] [stdout] 131 | | links: go.links.clone(), [INFO] [stdout] 132 | | meta: go.meta.clone(), [INFO] [stdout] 133 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/identifier.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 63 | fn try_from(mut ro: ResourceObject) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | ro.id.take().map(|id| [INFO] [stdout] | __________________________^ [INFO] [stdout] 65 | | Self { [INFO] [stdout] 66 | | id, [INFO] [stdout] 67 | | kind: A::kind(), [INFO] [stdout] 68 | | meta: ro.meta, [INFO] [stdout] 69 | | }).ok_or(ObjectConversionError::MissingId) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/identifier.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 63 | fn try_from(mut ro: ResourceObject) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | }).ok_or(ObjectConversionError::MissingId) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/optional.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 156 | fn deserialize(deserializer: D) -> Result [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 157 | where D: Deserializer<'de> { [INFO] [stdout] 158 | Ok(match Option::::deserialize(deserializer)? { [INFO] [stdout] | ____________^ [INFO] [stdout] 159 | | Some(t) => Optional::Present(t), [INFO] [stdout] 160 | | None => Optional::Null, [INFO] [stdout] 161 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `japi` (lib) due to 8 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/object/resource.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | fn links(id: &str) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/optional_vec.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 122 | fn deserialize(deserializer: D) -> Result [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | match serde_json::from_value::>(v.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/generic.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 41 | fn from(ro: ResourceObject) -> Self { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | attributes: serde_json::from_value(v).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/resource.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 98 | let attributes = if let Some(m) = go.attributes { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | let v = Value::Object(m.into_iter().collect()); [INFO] [stdout] 100 | let a : A = serde_json::from_value(v)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 105 | | id: go.id, [INFO] [stdout] 106 | | attributes, [INFO] [stdout] 107 | | relationships: go.relationships, [INFO] [stdout] 108 | | links: go.links, [INFO] [stdout] 109 | | meta: go.meta, [INFO] [stdout] 110 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/resource.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 121 | let attributes = if let Some(m) = &go.attributes { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | let v = Value::Object(m.iter().map(|(k,v)| (k.clone(), v.clone())).collect()); [INFO] [stdout] 123 | let a : A = serde_json::from_value(v)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | Ok( Self{ [INFO] [stdout] | _____________^ [INFO] [stdout] 128 | | id: go.id.clone(), [INFO] [stdout] 129 | | attributes, [INFO] [stdout] 130 | | relationships: go.relationships.clone(), [INFO] [stdout] 131 | | links: go.links.clone(), [INFO] [stdout] 132 | | meta: go.meta.clone(), [INFO] [stdout] 133 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/identifier.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 63 | fn try_from(mut ro: ResourceObject) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | ro.id.take().map(|id| [INFO] [stdout] | __________________________^ [INFO] [stdout] 65 | | Self { [INFO] [stdout] 66 | | id, [INFO] [stdout] 67 | | kind: A::kind(), [INFO] [stdout] 68 | | meta: ro.meta, [INFO] [stdout] 69 | | }).ok_or(ObjectConversionError::MissingId) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/identifier.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 63 | fn try_from(mut ro: ResourceObject) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | }).ok_or(ObjectConversionError::MissingId) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/optional.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 156 | fn deserialize(deserializer: D) -> Result [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 157 | where D: Deserializer<'de> { [INFO] [stdout] 158 | Ok(match Option::::deserialize(deserializer)? { [INFO] [stdout] | ____________^ [INFO] [stdout] 159 | | Some(t) => Optional::Present(t), [INFO] [stdout] 160 | | None => Optional::Null, [INFO] [stdout] 161 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `japi` (lib test) due to 8 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2d8e5cc4d15d8e39aaa31e255236a441add32b92cc60fc146aa687485a08ad0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d8e5cc4d15d8e39aaa31e255236a441add32b92cc60fc146aa687485a08ad0b", kill_on_drop: false }` [INFO] [stdout] 2d8e5cc4d15d8e39aaa31e255236a441add32b92cc60fc146aa687485a08ad0b