[INFO] fetching crate jsonschema-transpiler 2.0.0... [INFO] checking jsonschema-transpiler-2.0.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate jsonschema-transpiler 2.0.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate jsonschema-transpiler 2.0.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jsonschema-transpiler 2.0.0 [INFO] finished tweaking crates.io crate jsonschema-transpiler 2.0.0 [INFO] tweaked toml for crates.io crate jsonschema-transpiler 2.0.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate jsonschema-transpiler 2.0.0 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fdea661447100da77f60c123c9a2e5bad6b2f097563c9eb7213d2ec5e6c37d4 [INFO] running `Command { std: "docker" "start" "-a" "1fdea661447100da77f60c123c9a2e5bad6b2f097563c9eb7213d2ec5e6c37d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fdea661447100da77f60c123c9a2e5bad6b2f097563c9eb7213d2ec5e6c37d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fdea661447100da77f60c123c9a2e5bad6b2f097563c9eb7213d2ec5e6c37d4", kill_on_drop: false }` [INFO] [stdout] 1fdea661447100da77f60c123c9a2e5bad6b2f097563c9eb7213d2ec5e6c37d4 [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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5c0572b7909c3fc90303293cde69dc3eab865a433e497c580e1d59ca3d49c68 [INFO] running `Command { std: "docker" "start" "-a" "d5c0572b7909c3fc90303293cde69dc3eab865a433e497c580e1d59ca3d49c68", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed Cargo.toml (2 fixes) [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Compiling jsonschema-transpiler v2.0.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/jsonschema.rs (1 fix) [INFO] [stderr] Fixed src/ast.rs (3 fixes) [INFO] [stdout] warning: method `translate_into` is never used [INFO] [stdout] --> src/traits.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait TranslateInto: Sized { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 24 | fn translate_into(self, context: &Context) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/resolve_method.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `jst` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/casing.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/casing.rs:66:10 [INFO] [stderr] | [INFO] [stderr] 66 | ($test:expr_2021, $expect:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/casing.rs:66:27 [INFO] [stderr] | [INFO] [stderr] 66 | ($test:expr_2021, $expect:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/casing.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | ($test:expr, $expect:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 66 | ($test:expr_2021, $expect:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/casing.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | ($test:expr, $expect:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 66 | ($test:expr, $expect:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ast.rs:775:12 [INFO] [stdout] | [INFO] [stdout] 775 | if let Type::Union(union) = dtype { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ast.rs:777:9 [INFO] [stdout] | [INFO] [stdout] 777 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 775 ~ match dtype { Type::Union(union) => { [INFO] [stdout] 776 | assert_eq!(expect, json!(union.collapse().data_type)) [INFO] [stdout] 777 ~ } _ => { [INFO] [stdout] 778 | panic!() [INFO] [stdout] 779 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ast.rs:795:12 [INFO] [stdout] | [INFO] [stdout] 795 | if let Type::Union(union) = dtype { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ast.rs:797:9 [INFO] [stdout] | [INFO] [stdout] 797 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 795 ~ match dtype { Type::Union(union) => { [INFO] [stdout] 796 | assert_eq!(expect, json!(union.collapse().data_type)) [INFO] [stdout] 797 ~ } _ => { [INFO] [stdout] 798 | panic!() [INFO] [stdout] 799 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ast.rs:814:12 [INFO] [stdout] | [INFO] [stdout] 814 | if let Type::Union(union) = dtype { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ast.rs:816:9 [INFO] [stdout] | [INFO] [stdout] 816 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 814 ~ match dtype { Type::Union(union) => { [INFO] [stdout] 815 | assert_eq!(expect, json!(union.collapse().data_type)) [INFO] [stdout] 816 ~ } _ => { [INFO] [stdout] 817 | panic!() [INFO] [stdout] 818 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ast.rs:833:12 [INFO] [stdout] | [INFO] [stdout] 833 | if let Type::Union(union) = dtype { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ast.rs:835:9 [INFO] [stdout] | [INFO] [stdout] 835 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 833 ~ match dtype { Type::Union(union) => { [INFO] [stdout] 834 | assert_eq!(expect, json!(union.collapse().data_type)) [INFO] [stdout] 835 ~ } _ => { [INFO] [stdout] 836 | panic!() [INFO] [stdout] 837 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ast.rs:868:12 [INFO] [stdout] | [INFO] [stdout] 868 | if let Type::Union(union) = dtype { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ast.rs:870:9 [INFO] [stdout] | [INFO] [stdout] 870 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 868 ~ match dtype { Type::Union(union) => { [INFO] [stdout] 869 | assert_eq!(expect, json!(union.collapse().data_type)) [INFO] [stdout] 870 ~ } _ => { [INFO] [stdout] 871 | panic!() [INFO] [stdout] 872 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ast.rs:887:12 [INFO] [stdout] | [INFO] [stdout] 887 | if let Type::Union(union) = dtype { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ast.rs:889:9 [INFO] [stdout] | [INFO] [stdout] 889 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 887 ~ match dtype { Type::Union(union) => { [INFO] [stdout] 888 | assert_eq!(expect, json!(union.collapse().data_type)) [INFO] [stdout] 889 ~ } _ => { [INFO] [stdout] 890 | panic!() [INFO] [stdout] 891 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ast.rs:906:12 [INFO] [stdout] | [INFO] [stdout] 906 | if let Type::Union(union) = dtype { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ast.rs:908:9 [INFO] [stdout] | [INFO] [stdout] 908 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 906 ~ match dtype { Type::Union(union) => { [INFO] [stdout] 907 | assert_eq!(expect, json!(union.collapse().data_type)) [INFO] [stdout] 908 ~ } _ => { [INFO] [stdout] 909 | panic!() [INFO] [stdout] 910 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ast.rs:947:12 [INFO] [stdout] | [INFO] [stdout] 947 | if let Type::Union(union) = dtype { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ast.rs:949:9 [INFO] [stdout] | [INFO] [stdout] 949 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 947 ~ match dtype { Type::Union(union) => { [INFO] [stdout] 948 | assert_eq!(expect, json!(union.collapse().data_type)) [INFO] [stdout] 949 ~ } _ => { [INFO] [stdout] 950 | panic!() [INFO] [stdout] 951 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ast.rs:970:12 [INFO] [stdout] | [INFO] [stdout] 970 | if let Type::Union(union) = dtype { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ast.rs:972:9 [INFO] [stdout] | [INFO] [stdout] 972 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 970 ~ match dtype { Type::Union(union) => { [INFO] [stdout] 971 | assert_eq!(expect, json!(union.collapse())) [INFO] [stdout] 972 ~ } _ => { [INFO] [stdout] 973 | panic!() [INFO] [stdout] 974 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ast.rs:1214:16 [INFO] [stdout] | [INFO] [stdout] 1214 | if let Type::Object(object) = &tag.data_type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ast.rs:1219:13 [INFO] [stdout] | [INFO] [stdout] 1219 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1214 ~ match &tag.data_type { Type::Object(object) => { [INFO] [stdout] 1215 | let expected: HashSet = renamed.iter().map(|x| x.to_string()).collect(); [INFO] [stdout] ... [INFO] [stdout] 1218 | assert_eq!(expected, object.required.clone().unwrap()); [INFO] [stdout] 1219 ~ } _ => { [INFO] [stdout] 1220 | panic!() [INFO] [stdout] 1221 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/jsonschema.rs:465:12 [INFO] [stdout] | [INFO] [stdout] 465 | if let Ok(schema) = serde_json::from_value::(data_true) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/jsonschema.rs:470:9 [INFO] [stdout] | [INFO] [stdout] 470 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 465 ~ match serde_json::from_value::(data_true) { Ok(schema) => { [INFO] [stdout] 466 | match schema.object.additional_properties { [INFO] [stdout] ... [INFO] [stdout] 469 | } [INFO] [stdout] 470 ~ } _ => { [INFO] [stdout] 471 | panic!() [INFO] [stdout] 472 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/jsonschema.rs:477:12 [INFO] [stdout] | [INFO] [stdout] 477 | if let Ok(schema) = serde_json::from_value::(data_false) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/jsonschema.rs:482:9 [INFO] [stdout] | [INFO] [stdout] 482 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 477 ~ match serde_json::from_value::(data_false) { Ok(schema) => { [INFO] [stdout] 478 | match schema.object.additional_properties { [INFO] [stdout] ... [INFO] [stdout] 481 | } [INFO] [stdout] 482 ~ } _ => { [INFO] [stdout] 483 | panic!() [INFO] [stdout] 484 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/jsonschema.rs:489:12 [INFO] [stdout] | [INFO] [stdout] 489 | if let Ok(schema) = serde_json::from_value::(data_object) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/jsonschema.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 489 ~ match serde_json::from_value::(data_object) { Ok(schema) => { [INFO] [stdout] 490 | match schema.object.additional_properties { [INFO] [stdout] ... [INFO] [stdout] 495 | } [INFO] [stdout] 496 ~ } _ => { [INFO] [stdout] 497 | panic!() [INFO] [stdout] 498 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/jsonschema.rs:576:12 [INFO] [stdout] | [INFO] [stdout] 576 | if let ArrayType::Tag(items) = schema.array.items.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/jsonschema.rs:578:9 [INFO] [stdout] | [INFO] [stdout] 578 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 576 ~ match schema.array.items.unwrap() { ArrayType::Tag(items) => { [INFO] [stdout] 577 | assert_eq!(items.data_type, json!("integer")) [INFO] [stdout] 578 ~ } _ => { [INFO] [stdout] 579 | panic!(); [INFO] [stdout] 580 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/jsonschema.rs:595:12 [INFO] [stdout] | [INFO] [stdout] 595 | if let ArrayType::TagTuple(items) = schema.array.items.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/jsonschema.rs:598:9 [INFO] [stdout] | [INFO] [stdout] 598 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 595 ~ match schema.array.items.unwrap() { ArrayType::TagTuple(items) => { [INFO] [stdout] 596 | assert_eq!(items[0].data_type, json!("integer")); [INFO] [stdout] 597 | assert_eq!(items[1].data_type, json!("boolean")); [INFO] [stdout] 598 ~ } _ => { [INFO] [stdout] 599 | panic!(); [INFO] [stdout] 600 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/jsonschema.rs:601:12 [INFO] [stdout] | [INFO] [stdout] 601 | if let AdditionalProperties::Object(tag) = schema.array.additional_items.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/jsonschema.rs:603:9 [INFO] [stdout] | [INFO] [stdout] 603 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 601 ~ match schema.array.additional_items.unwrap() { AdditionalProperties::Object(tag) => { [INFO] [stdout] 602 | assert_eq!(tag.data_type, json!("string")); [INFO] [stdout] 603 ~ } _ => { [INFO] [stdout] 604 | panic!(); [INFO] [stdout] 605 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/transpile_avro.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/normalize_case.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/force_nullable.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/transpile_bigquery.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/tuple_struct.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.01s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling jsonschema-transpiler v2.0.0 (/tmp/fixit) [INFO] [stdout] warning: method `translate_into` is never used [INFO] [stdout] --> src/traits.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait TranslateInto: Sized { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 24 | fn translate_into(self, context: &Context) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "d5c0572b7909c3fc90303293cde69dc3eab865a433e497c580e1d59ca3d49c68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5c0572b7909c3fc90303293cde69dc3eab865a433e497c580e1d59ca3d49c68", kill_on_drop: false }` [INFO] [stdout] d5c0572b7909c3fc90303293cde69dc3eab865a433e497c580e1d59ca3d49c68