[INFO] fetching crate fluorite_codegen 0.1.9... [INFO] testing fluorite_codegen-0.1.9 against 1.90.0 for beta-1.91-3 [INFO] extracting crate fluorite_codegen 0.1.9 into /workspace/builds/worker-2-tc1/source [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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fluorite_codegen 0.1.9 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fluorite v0.1.9 [INFO] [stderr] Downloaded serde_yaml v0.9.29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2862e58ac167f8e2436235a69ae3f5861c7f10802d2aa22bf4b34f257a8b0f4c [INFO] running `Command { std: "docker" "start" "-a" "2862e58ac167f8e2436235a69ae3f5861c7f10802d2aa22bf4b34f257a8b0f4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2862e58ac167f8e2436235a69ae3f5861c7f10802d2aa22bf4b34f257a8b0f4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2862e58ac167f8e2436235a69ae3f5861c7f10802d2aa22bf4b34f257a8b0f4c", kill_on_drop: false }` [INFO] [stdout] 2862e58ac167f8e2436235a69ae3f5861c7f10802d2aa22bf4b34f257a8b0f4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 895581e664d86d31b5c21cd3fde43eac2cd05fb7364722cebede271ae18bf4d0 [INFO] running `Command { std: "docker" "start" "-a" "895581e664d86d31b5c21cd3fde43eac2cd05fb7364722cebede271ae18bf4d0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling anstream v0.6.5 [INFO] [stderr] Compiling clap_builder v4.4.11 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.42 [INFO] [stderr] Compiling indexmap v2.1.0 [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] Compiling clap v4.4.11 [INFO] [stderr] Compiling serde_yaml v0.9.29 [INFO] [stderr] Compiling fluorite v0.1.9 [INFO] [stderr] Compiling fluorite_codegen v0.1.9 (/opt/rustwide/workdir) [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: 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: struct `TsOptions` is never constructed [INFO] [stdout] --> src/code_gen/ts/mod.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TsOptions {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TsContext` is never constructed [INFO] [stdout] --> src/code_gen/ts/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TsContext {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TsProvider` is never constructed [INFO] [stdout] --> src/code_gen/ts/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TsProvider { [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.76s [INFO] running `Command { std: "docker" "inspect" "895581e664d86d31b5c21cd3fde43eac2cd05fb7364722cebede271ae18bf4d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "895581e664d86d31b5c21cd3fde43eac2cd05fb7364722cebede271ae18bf4d0", kill_on_drop: false }` [INFO] [stdout] 895581e664d86d31b5c21cd3fde43eac2cd05fb7364722cebede271ae18bf4d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81f435731f2e36c6d7c6f8dfe35ef3bcf393881e1882b9507bc7ffcb70cb37dd [INFO] running `Command { std: "docker" "start" "-a" "81f435731f2e36c6d7c6f8dfe35ef3bcf393881e1882b9507bc7ffcb70cb37dd", kill_on_drop: false }` [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] [stderr] Compiling fluorite_codegen v0.1.9 (/opt/rustwide/workdir) [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: struct `TsOptions` is never constructed [INFO] [stdout] --> src/code_gen/ts/mod.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TsOptions {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TsContext` is never constructed [INFO] [stdout] --> src/code_gen/ts/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TsContext {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TsProvider` is never constructed [INFO] [stdout] --> src/code_gen/ts/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TsProvider { [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: 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 Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [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] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 23 | serde_yaml::from_str::<()>(serialized.as_str())?; [INFO] [stdout] | ++++++ [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: 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: 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: struct `TsOptions` is never constructed [INFO] [stdout] --> src/code_gen/ts/mod.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TsOptions {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TsContext` is never constructed [INFO] [stdout] --> src/code_gen/ts/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TsContext {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TsProvider` is never constructed [INFO] [stdout] --> src/code_gen/ts/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TsProvider { [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.85s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fluorite_codegen v0.1.9 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "81f435731f2e36c6d7c6f8dfe35ef3bcf393881e1882b9507bc7ffcb70cb37dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81f435731f2e36c6d7c6f8dfe35ef3bcf393881e1882b9507bc7ffcb70cb37dd", kill_on_drop: false }` [INFO] [stdout] 81f435731f2e36c6d7c6f8dfe35ef3bcf393881e1882b9507bc7ffcb70cb37dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 820bf8176d11145554ec1858a45ac89f317f4cb5d1bcbf7f0669feacbbaab898 [INFO] running `Command { std: "docker" "start" "-a" "820bf8176d11145554ec1858a45ac89f317f4cb5d1bcbf7f0669feacbbaab898", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `str::FromStr` [INFO] [stderr] --> src/code_gen/utils.rs:2:47 [INFO] [stderr] | [INFO] [stderr] 2 | use std::{collections::HashMap, fmt::Display, str::FromStr}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `options` is never read [INFO] [stderr] --> src/code_gen/ts/mod.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct TsProvider { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 21 | options: TsOptions, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `fluorite_codegen` (lib) generated 2 warnings [INFO] [stderr] warning: method `is_custom_type` is never used [INFO] [stderr] --> src/code_gen/abi/type_info.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl TypeName { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] 18 | pub fn is_custom_type(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `get_referrenced_types` and `get_custom_types` are never used [INFO] [stderr] --> src/code_gen/abi/type_info.rs:109:12 [INFO] [stderr] | [INFO] [stderr] 101 | impl TypeInfo { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 109 | pub fn get_referrenced_types(&self) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 133 | fn get_custom_types(types: Vec<&TypeName>) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `with_any_type` is never used [INFO] [stderr] --> src/code_gen/rust/options.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl RustOptions { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 24 | pub fn with_any_type(mut self, any_type: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TsOptions` is never constructed [INFO] [stderr] --> src/code_gen/ts/mod.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct TsOptions {} [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TsContext` is never constructed [INFO] [stderr] --> src/code_gen/ts/mod.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct TsContext {} [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TsProvider` is never constructed [INFO] [stderr] --> src/code_gen/ts/mod.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct TsProvider { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/code_gen/ts/mod.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 24 | impl TsProvider { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] 25 | pub fn new(options: TsOptions) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from` is never used [INFO] [stderr] --> src/code_gen/utils.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl SimpleType { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 32 | pub fn from(s: &str) -> Option { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `compile_with_options` is never used [INFO] [stderr] --> src/utils.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn compile_with_options(options: RustOptions, inputs: &[&str]) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `compile` is never used [INFO] [stderr] --> src/utils.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn compile(inputs: &[&str], output: &str) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> tests/serde_test.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | fn can_serialize_and_deserialize() -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: serde::de::Deserialize<'_>` will fail [INFO] [stderr] --> tests/serde_test.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | serde_yaml::from_str(serialized.as_str())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 23 | serde_yaml::from_str::<()>(serialized.as_str())?; [INFO] [stderr] | ++++++ [INFO] [stderr] [INFO] [stderr] warning: `fluorite_codegen` (bin "fluorite" test) generated 11 warnings (1 duplicate) [INFO] [stderr] warning: `fluorite_codegen` (test "serde_test") generated 1 warning (run `cargo fix --test "serde_test"` to apply 1 suggestion) [INFO] [stderr] warning: `fluorite_codegen` (bin "fluorite") generated 11 warnings (11 duplicates) [INFO] [stderr] warning: `fluorite_codegen` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fluorite_codegen v0.1.9 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fluorite_codegen-9a947c0a1831c290) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test utils::test::test_deserialize_definition_file ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- utils::test::test_deserialize_definition_file stdout ---- [INFO] [stdout] Error: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] utils::test::test_deserialize_definition_file [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "820bf8176d11145554ec1858a45ac89f317f4cb5d1bcbf7f0669feacbbaab898", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "820bf8176d11145554ec1858a45ac89f317f4cb5d1bcbf7f0669feacbbaab898", kill_on_drop: false }` [INFO] [stdout] 820bf8176d11145554ec1858a45ac89f317f4cb5d1bcbf7f0669feacbbaab898