[INFO] fetching crate fluorite_codegen 0.1.9... [INFO] checking fluorite_codegen-0.1.9 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate fluorite_codegen 0.1.9 into /workspace/builds/worker-2-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fluorite_codegen 0.1.9 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76c0101904261e8dd8209da4c951204741901f76716848ca82f6dd6c97b750dc [INFO] running `Command { std: "docker" "start" "-a" "76c0101904261e8dd8209da4c951204741901f76716848ca82f6dd6c97b750dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76c0101904261e8dd8209da4c951204741901f76716848ca82f6dd6c97b750dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76c0101904261e8dd8209da4c951204741901f76716848ca82f6dd6c97b750dc", kill_on_drop: false }` [INFO] [stdout] 76c0101904261e8dd8209da4c951204741901f76716848ca82f6dd6c97b750dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b053d6e2484db2dd139443e2da005a3bc2f7ff24d148631255416f3891efd488 [INFO] running `Command { std: "docker" "start" "-a" "b053d6e2484db2dd139443e2da005a3bc2f7ff24d148631255416f3891efd488", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling unicode-ident v1.0.12 [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 hashbrown v0.14.3 [INFO] [stderr] Compiling anyhow v1.0.76 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking unsafe-libyaml v0.2.10 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstream v0.6.5 [INFO] [stderr] Checking clap_builder v4.4.11 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking indexmap v2.1.0 [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 fluorite v0.1.9 [INFO] [stderr] Checking serde_yaml v0.9.29 [INFO] [stderr] Checking 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: 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: 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: 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] [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 14.78s [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" "b053d6e2484db2dd139443e2da005a3bc2f7ff24d148631255416f3891efd488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b053d6e2484db2dd139443e2da005a3bc2f7ff24d148631255416f3891efd488", kill_on_drop: false }` [INFO] [stdout] b053d6e2484db2dd139443e2da005a3bc2f7ff24d148631255416f3891efd488