[INFO] fetching crate rspc 0.4.1... [INFO] testing rspc-0.4.1 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate rspc 0.4.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate rspc 0.4.1 [INFO] finished tweaking crates.io crate rspc 0.4.1 [INFO] tweaked toml for crates.io crate rspc 0.4.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rspc 0.4.1 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rspc 0.4.1 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f508e5936304705d178d6b464c2efa6976f14375f9fbdda6822424579d6a5735 [INFO] running `Command { std: "docker" "start" "-a" "f508e5936304705d178d6b464c2efa6976f14375f9fbdda6822424579d6a5735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f508e5936304705d178d6b464c2efa6976f14375f9fbdda6822424579d6a5735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f508e5936304705d178d6b464c2efa6976f14375f9fbdda6822424579d6a5735", kill_on_drop: false }` [INFO] [stdout] f508e5936304705d178d6b464c2efa6976f14375f9fbdda6822424579d6a5735 [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=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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc694568c5a3d01e8df2da6d9131f714be4d1d3ec32796f54bc316dbf01d29a0 [INFO] running `Command { std: "docker" "start" "-a" "bc694568c5a3d01e8df2da6d9131f714be4d1d3ec32796f54bc316dbf01d29a0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling specta-macros v2.0.0-rc.18 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling erased-serde v0.4.5 [INFO] [stderr] Compiling rspc-procedure v0.0.1 [INFO] [stderr] Compiling specta v2.0.0-rc.22 [INFO] [stderr] Compiling specta-serde v0.0.9 [INFO] [stderr] Compiling specta-typescript v0.0.9 [INFO] [stderr] Compiling rspc-legacy v0.0.1 [INFO] [stderr] Compiling rspc v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> src/middleware/middleware.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | use futures_util::{Future, FutureExt, Stream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> src/middleware/middleware.rs:24:39 [INFO] [stdout] | [INFO] [stdout] 24 | use futures_util::{Future, FutureExt, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> src/legacy.rs:45:50 [INFO] [stdout] | [INFO] [stdout] 45 | inner: Box::new(move |_, types| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind`, `input`, `output`, `error`, and `location` are never read [INFO] [stdout] --> src/procedure.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) struct ProcedureType { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 39 | pub(crate) kind: ProcedureKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | pub(crate) input: DataType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | pub(crate) output: DataType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | pub(crate) error: DataType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 43 | pub(crate) location: Location<'static>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcedureType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Static` is never constructed [INFO] [stdout] --> src/procedure/meta.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | enum ProcedureName { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 25 | Static(&'static str), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcedureName` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | Type(ProcedureType), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypesOrType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - Type(ProcedureType), [INFO] [stdout] 9 + Type(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `types` and `procedures` are never read [INFO] [stdout] --> src/types.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Types { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 14 | pub(crate) types: TypeCollection, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub(crate) procedures: BTreeMap, TypesOrType>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `literal_object` is never used [INFO] [stdout] --> src/util.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn literal_object( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_method` is never used [INFO] [stdout] --> src/legacy.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn map_method( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `construct_legacy_bindings_type` is never used [INFO] [stdout] --> src/legacy.rs:181:15 [INFO] [stdout] | [INFO] [stdout] 181 | pub(crate) fn construct_legacy_bindings_type( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flatten_procedures_for_legacy` is never used [INFO] [stdout] --> src/legacy.rs:236:4 [INFO] [stdout] | [INFO] [stdout] 236 | fn flatten_procedures_for_legacy( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.58s [INFO] running `Command { std: "docker" "inspect" "bc694568c5a3d01e8df2da6d9131f714be4d1d3ec32796f54bc316dbf01d29a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc694568c5a3d01e8df2da6d9131f714be4d1d3ec32796f54bc316dbf01d29a0", kill_on_drop: false }` [INFO] [stdout] bc694568c5a3d01e8df2da6d9131f714be4d1d3ec32796f54bc316dbf01d29a0 [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=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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15be08187f4b940b49305e784e5c4d49ca1ee9e997b2c9c149f21487348fd51e [INFO] running `Command { std: "docker" "start" "-a" "15be08187f4b940b49305e784e5c4d49ca1ee9e997b2c9c149f21487348fd51e", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> src/middleware/middleware.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | use futures_util::{Future, FutureExt, Stream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> src/middleware/middleware.rs:24:39 [INFO] [stdout] | [INFO] [stdout] 24 | use futures_util::{Future, FutureExt, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> src/legacy.rs:45:50 [INFO] [stdout] | [INFO] [stdout] 45 | inner: Box::new(move |_, types| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind`, `input`, `output`, `error`, and `location` are never read [INFO] [stdout] --> src/procedure.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) struct ProcedureType { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 39 | pub(crate) kind: ProcedureKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | pub(crate) input: DataType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | pub(crate) output: DataType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | pub(crate) error: DataType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 43 | pub(crate) location: Location<'static>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcedureType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rspc v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Static` is never constructed [INFO] [stdout] --> src/procedure/meta.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | enum ProcedureName { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 25 | Static(&'static str), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcedureName` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | Type(ProcedureType), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypesOrType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - Type(ProcedureType), [INFO] [stdout] 9 + Type(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `types` and `procedures` are never read [INFO] [stdout] --> src/types.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Types { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 14 | pub(crate) types: TypeCollection, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub(crate) procedures: BTreeMap, TypesOrType>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `literal_object` is never used [INFO] [stdout] --> src/util.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn literal_object( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_method` is never used [INFO] [stdout] --> src/legacy.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn map_method( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `construct_legacy_bindings_type` is never used [INFO] [stdout] --> src/legacy.rs:181:15 [INFO] [stdout] | [INFO] [stdout] 181 | pub(crate) fn construct_legacy_bindings_type( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flatten_procedures_for_legacy` is never used [INFO] [stdout] --> src/legacy.rs:236:4 [INFO] [stdout] | [INFO] [stdout] 236 | fn flatten_procedures_for_legacy( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FutureExt` and `Stream` [INFO] [stdout] --> src/middleware/middleware.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | use futures_util::{Future, FutureExt, Stream}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> src/legacy.rs:45:50 [INFO] [stdout] | [INFO] [stdout] 45 | inner: Box::new(move |_, types| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind`, `input`, `output`, `error`, and `location` are never read [INFO] [stdout] --> src/procedure.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) struct ProcedureType { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 39 | pub(crate) kind: ProcedureKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | pub(crate) input: DataType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | pub(crate) output: DataType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | pub(crate) error: DataType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 43 | pub(crate) location: Location<'static>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcedureType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Static` is never constructed [INFO] [stdout] --> src/procedure/meta.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | enum ProcedureName { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 25 | Static(&'static str), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcedureName` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | Type(ProcedureType), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypesOrType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - Type(ProcedureType), [INFO] [stdout] 9 + Type(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `types` and `procedures` are never read [INFO] [stdout] --> src/types.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Types { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 14 | pub(crate) types: TypeCollection, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub(crate) procedures: BTreeMap, TypesOrType>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `literal_object` is never used [INFO] [stdout] --> src/util.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn literal_object( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_method` is never used [INFO] [stdout] --> src/legacy.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn map_method( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `construct_legacy_bindings_type` is never used [INFO] [stdout] --> src/legacy.rs:181:15 [INFO] [stdout] | [INFO] [stdout] 181 | pub(crate) fn construct_legacy_bindings_type( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flatten_procedures_for_legacy` is never used [INFO] [stdout] --> src/legacy.rs:236:4 [INFO] [stdout] | [INFO] [stdout] 236 | fn flatten_procedures_for_legacy( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.78s [INFO] running `Command { std: "docker" "inspect" "15be08187f4b940b49305e784e5c4d49ca1ee9e997b2c9c149f21487348fd51e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15be08187f4b940b49305e784e5c4d49ca1ee9e997b2c9c149f21487348fd51e", kill_on_drop: false }` [INFO] [stdout] 15be08187f4b940b49305e784e5c4d49ca1ee9e997b2c9c149f21487348fd51e [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=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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ce0671c114374ae42afc276be9cffe7784d36e612f3fdde80f7a1304c313b947 [INFO] running `Command { std: "docker" "start" "-a" "ce0671c114374ae42afc276be9cffe7784d36e612f3fdde80f7a1304c313b947", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `FutureExt` [INFO] [stderr] --> src/middleware/middleware.rs:24:28 [INFO] [stderr] | [INFO] [stderr] 24 | use futures_util::{Future, FutureExt, Stream}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Stream` [INFO] [stderr] --> src/middleware/middleware.rs:24:39 [INFO] [stderr] | [INFO] [stderr] 24 | use futures_util::{Future, FutureExt, Stream}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `types` [INFO] [stderr] --> src/legacy.rs:45:50 [INFO] [stderr] | [INFO] [stderr] 45 | inner: Box::new(move |_, types| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `kind`, `input`, `output`, `error`, and `location` are never read [INFO] [stderr] --> src/procedure.rs:39:16 [INFO] [stderr] | [INFO] [stderr] 38 | pub(crate) struct ProcedureType { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 39 | pub(crate) kind: ProcedureKind, [INFO] [stderr] | ^^^^ [INFO] [stderr] 40 | pub(crate) input: DataType, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 41 | pub(crate) output: DataType, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 42 | pub(crate) error: DataType, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 43 | pub(crate) location: Location<'static>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ProcedureType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Static` is never constructed [INFO] [stderr] --> src/procedure/meta.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 24 | enum ProcedureName { [INFO] [stderr] | ------------- variant in this enum [INFO] [stderr] 25 | Static(&'static str), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ProcedureName` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/types.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | Type(ProcedureType), [INFO] [stderr] | ---- ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `TypesOrType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 9 - Type(ProcedureType), [INFO] [stderr] 9 + Type(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `types` and `procedures` are never read [INFO] [stderr] --> src/types.rs:14:16 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct Types { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 14 | pub(crate) types: TypeCollection, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 15 | pub(crate) procedures: BTreeMap, TypesOrType>, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `literal_object` is never used [INFO] [stderr] --> src/util.rs:8:15 [INFO] [stderr] | [INFO] [stderr] 8 | pub(crate) fn literal_object( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `map_method` is never used [INFO] [stderr] --> src/legacy.rs:142:4 [INFO] [stderr] | [INFO] [stderr] 142 | fn map_method( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `construct_legacy_bindings_type` is never used [INFO] [stderr] --> src/legacy.rs:181:15 [INFO] [stderr] | [INFO] [stderr] 181 | pub(crate) fn construct_legacy_bindings_type( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `flatten_procedures_for_legacy` is never used [INFO] [stderr] --> src/legacy.rs:236:4 [INFO] [stderr] | [INFO] [stderr] 236 | fn flatten_procedures_for_legacy( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rspc` (lib) generated 11 warnings [INFO] [stderr] warning: unused imports: `FutureExt` and `Stream` [INFO] [stderr] --> src/middleware/middleware.rs:24:28 [INFO] [stderr] | [INFO] [stderr] 24 | use futures_util::{Future, FutureExt, Stream}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `rspc` (lib test) generated 10 warnings (9 duplicates) (run `cargo fix --lib -p rspc --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rspc-488532a9aa0e408c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rspc [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/stream.rs - stream::Stream (line 22) ... FAILED [INFO] [stdout] test src/middleware/middleware.rs - middleware::middleware::Middleware (line 69) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/stream.rs - stream::Stream (line 22) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/stream.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::once; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Procedure` in this scope [INFO] [stdout] --> src/stream.rs:26:2 [INFO] [stdout] | [INFO] [stdout] 7 | ::builder().query(|_, _: ()| async move { rspc::Stream(once(async move { 42 })) }); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use rspc::Procedure; [INFO] [stdout] | [INFO] [stdout] 2 + use rspc_procedure::Procedure; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/stream.rs - stream::Stream (line 22) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ce0671c114374ae42afc276be9cffe7784d36e612f3fdde80f7a1304c313b947", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce0671c114374ae42afc276be9cffe7784d36e612f3fdde80f7a1304c313b947", kill_on_drop: false }` [INFO] [stdout] ce0671c114374ae42afc276be9cffe7784d36e612f3fdde80f7a1304c313b947