[INFO] fetching crate fluorite_codegen 0.1.9... [INFO] checking fluorite_codegen-0.1.9 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate fluorite_codegen 0.1.9 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate fluorite_codegen 0.1.9 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 fluorite_codegen 0.1.9 [INFO] finished tweaking crates.io crate fluorite_codegen 0.1.9 [INFO] tweaked toml for crates.io crate fluorite_codegen 0.1.9 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate fluorite_codegen 0.1.9 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 188bb7547035eaddd0de5e8d50c418dcdb78b0208ecd310bd89b74b3f2aed2d0 [INFO] running `Command { std: "docker" "start" "-a" "188bb7547035eaddd0de5e8d50c418dcdb78b0208ecd310bd89b74b3f2aed2d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "188bb7547035eaddd0de5e8d50c418dcdb78b0208ecd310bd89b74b3f2aed2d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "188bb7547035eaddd0de5e8d50c418dcdb78b0208ecd310bd89b74b3f2aed2d0", kill_on_drop: false }` [INFO] [stdout] 188bb7547035eaddd0de5e8d50c418dcdb78b0208ecd310bd89b74b3f2aed2d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ab59361a82ddcfc5169995fbea66c84f29e944017da4d0c7693baf20fe694827 [INFO] running `Command { std: "docker" "start" "-a" "ab59361a82ddcfc5169995fbea66c84f29e944017da4d0c7693baf20fe694827", 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] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling anyhow v1.0.76 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking anstream v0.6.5 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking unsafe-libyaml v0.2.10 [INFO] [stderr] Checking clap_builder v4.4.11 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.42 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Checking clap v4.4.11 [INFO] [stderr] Checking serde_yaml v0.9.29 [INFO] [stderr] Checking fluorite v0.1.9 [INFO] [stderr] Checking fluorite_codegen v0.1.9 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/code_gen/utils.rs:2:47 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, fmt::Display, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `options` is never read [INFO] [stdout] --> src/code_gen/ts/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TsProvider { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 21 | options: TsOptions, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/code_gen/utils.rs:2:47 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, fmt::Display, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `options` is never read [INFO] [stdout] --> src/code_gen/ts/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TsProvider { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 21 | options: TsOptions, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/rust_code_gen.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/code_gen/utils.rs:2:47 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, fmt::Display, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_custom_type` is never used [INFO] [stdout] --> src/code_gen/abi/type_info.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl TypeName { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 18 | pub fn is_custom_type(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_referrenced_types` and `get_custom_types` are never used [INFO] [stdout] --> src/code_gen/abi/type_info.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl TypeInfo { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn get_referrenced_types(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn get_custom_types(types: Vec<&TypeName>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_any_type` is never used [INFO] [stdout] --> src/code_gen/rust/options.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl RustOptions { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn with_any_type(mut self, any_type: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `options` is never read [INFO] [stdout] --> src/code_gen/ts/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TsProvider { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 21 | options: TsOptions, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/code_gen/ts/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl TsProvider { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(options: TsOptions) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/code_gen/utils.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl SimpleType { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn from(s: &str) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_with_options` is never used [INFO] [stdout] --> src/utils.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn compile_with_options(options: RustOptions, inputs: &[&str]) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile` is never used [INFO] [stdout] --> src/utils.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn compile(inputs: &[&str], output: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/serde_test.rs from 2021 edition to 2024 [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/serde_test.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | fn can_serialize_and_deserialize() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: serde::de::Deserialize<'_>` will fail [INFO] [stdout] --> tests/serde_test.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | serde_yaml::from_str(serialized.as_str())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/code_gen/utils.rs:2:47 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, fmt::Display, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_custom_type` is never used [INFO] [stdout] --> src/code_gen/abi/type_info.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl TypeName { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 18 | pub fn is_custom_type(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_referrenced_types` and `get_custom_types` are never used [INFO] [stdout] --> src/code_gen/abi/type_info.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl TypeInfo { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn get_referrenced_types(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn get_custom_types(types: Vec<&TypeName>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_any_type` is never used [INFO] [stdout] --> src/code_gen/rust/options.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl RustOptions { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn with_any_type(mut self, any_type: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `options` is never read [INFO] [stdout] --> src/code_gen/ts/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TsProvider { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 21 | options: TsOptions, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/code_gen/ts/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl TsProvider { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(options: TsOptions) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/code_gen/utils.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl SimpleType { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn from(s: &str) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_with_options` is never used [INFO] [stdout] --> src/utils.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn compile_with_options(options: RustOptions, inputs: &[&str]) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.62s [INFO] [stdout] warning: function `compile` is never used [INFO] [stdout] --> src/utils.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn compile(inputs: &[&str], output: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking fluorite_codegen v0.1.9 (/tmp/fixit) [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/code_gen/utils.rs:2:47 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, fmt::Display, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/code_gen/utils.rs:2:47 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, fmt::Display, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `options` is never read [INFO] [stdout] --> src/code_gen/ts/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TsProvider { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 21 | options: TsOptions, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `options` is never read [INFO] [stdout] --> src/code_gen/ts/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TsProvider { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 21 | options: TsOptions, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> tests/serde_test.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | serde_yaml::from_str(serialized.as_str())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 140 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_yaml-0.9.29/src/de.rs:1810:8 [INFO] [stdout] | [INFO] [stdout] 1808 | pub fn from_str<'de, T>(s: &'de str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1809 | where [INFO] [stdout] 1810 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fluorite_codegen` (test "serde_test") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/code_gen/utils.rs:2:47 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, fmt::Display, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/code_gen/utils.rs:2:47 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, fmt::Display, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_custom_type` is never used [INFO] [stdout] --> src/code_gen/abi/type_info.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl TypeName { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 18 | pub fn is_custom_type(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_referrenced_types` and `get_custom_types` are never used [INFO] [stdout] --> src/code_gen/abi/type_info.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl TypeInfo { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn get_referrenced_types(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn get_custom_types(types: Vec<&TypeName>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_any_type` is never used [INFO] [stdout] --> src/code_gen/rust/options.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl RustOptions { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn with_any_type(mut self, any_type: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `options` is never read [INFO] [stdout] --> src/code_gen/ts/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TsProvider { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 21 | options: TsOptions, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/code_gen/ts/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl TsProvider { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(options: TsOptions) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/code_gen/utils.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl SimpleType { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn from(s: &str) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_with_options` is never used [INFO] [stdout] --> src/utils.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn compile_with_options(options: RustOptions, inputs: &[&str]) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile` is never used [INFO] [stdout] --> src/utils.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn compile(inputs: &[&str], output: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_custom_type` is never used [INFO] [stdout] --> src/code_gen/abi/type_info.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl TypeName { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 18 | pub fn is_custom_type(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_referrenced_types` and `get_custom_types` are never used [INFO] [stdout] --> src/code_gen/abi/type_info.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl TypeInfo { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn get_referrenced_types(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn get_custom_types(types: Vec<&TypeName>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_any_type` is never used [INFO] [stdout] --> src/code_gen/rust/options.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl RustOptions { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn with_any_type(mut self, any_type: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `options` is never read [INFO] [stdout] --> src/code_gen/ts/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TsProvider { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 21 | options: TsOptions, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/code_gen/ts/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl TsProvider { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(options: TsOptions) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/code_gen/utils.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl SimpleType { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn from(s: &str) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_with_options` is never used [INFO] [stdout] --> src/utils.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn compile_with_options(options: RustOptions, inputs: &[&str]) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile` is never used [INFO] [stdout] --> src/utils.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn compile(inputs: &[&str], output: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "ab59361a82ddcfc5169995fbea66c84f29e944017da4d0c7693baf20fe694827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab59361a82ddcfc5169995fbea66c84f29e944017da4d0c7693baf20fe694827", kill_on_drop: false }` [INFO] [stdout] ab59361a82ddcfc5169995fbea66c84f29e944017da4d0c7693baf20fe694827