[INFO] fetching crate rspc 0.4.1... [INFO] testing rspc-0.4.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate rspc 0.4.1 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rspc 0.4.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d91f9975927081035fafd23bb61879c78122c1d3b6ce232c543c563b9e9c2c7 [INFO] running `Command { std: "docker" "start" "-a" "9d91f9975927081035fafd23bb61879c78122c1d3b6ce232c543c563b9e9c2c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d91f9975927081035fafd23bb61879c78122c1d3b6ce232c543c563b9e9c2c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d91f9975927081035fafd23bb61879c78122c1d3b6ce232c543c563b9e9c2c7", kill_on_drop: false }` [INFO] [stdout] 9d91f9975927081035fafd23bb61879c78122c1d3b6ce232c543c563b9e9c2c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5709484cf82e17ec0b7819b308e101f6c721f79bff917d7567ca828f6557d666 [INFO] running `Command { std: "docker" "start" "-a" "5709484cf82e17ec0b7819b308e101f6c721f79bff917d7567ca828f6557d666", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [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 thiserror-impl v2.0.11 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling thiserror v2.0.11 [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)]` 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)]` 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)]` 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 20.35s [INFO] running `Command { std: "docker" "inspect" "5709484cf82e17ec0b7819b308e101f6c721f79bff917d7567ca828f6557d666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5709484cf82e17ec0b7819b308e101f6c721f79bff917d7567ca828f6557d666", kill_on_drop: false }` [INFO] [stdout] 5709484cf82e17ec0b7819b308e101f6c721f79bff917d7567ca828f6557d666 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52bbf3925a62a89e80175506ae8985e2b0c98cae6d102bfbc7c534545be8ea1e [INFO] running `Command { std: "docker" "start" "-a" "52bbf3925a62a89e80175506ae8985e2b0c98cae6d102bfbc7c534545be8ea1e", 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)]` 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)]` 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)]` 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] Compiling rspc v0.4.1 (/opt/rustwide/workdir) [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)]` 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)]` 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)]` 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.75s [INFO] running `Command { std: "docker" "inspect" "52bbf3925a62a89e80175506ae8985e2b0c98cae6d102bfbc7c534545be8ea1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52bbf3925a62a89e80175506ae8985e2b0c98cae6d102bfbc7c534545be8ea1e", kill_on_drop: false }` [INFO] [stdout] 52bbf3925a62a89e80175506ae8985e2b0c98cae6d102bfbc7c534545be8ea1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eed3452f8d5d0e58d88f3b72774fe33b386889ce6f6ff105f5c824691ab2e9e4 [INFO] running `Command { std: "docker" "start" "-a" "eed3452f8d5d0e58d88f3b72774fe33b386889ce6f6ff105f5c824691ab2e9e4", 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)]` 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)]` 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)]` 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: 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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rspc` (lib) generated 11 warnings [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-face860548deadeb) [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/middleware/middleware.rs - middleware::middleware::Middleware (line 69) ... ok [INFO] [stdout] test src/stream.rs - stream::Stream (line 22) ... FAILED [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.26s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "eed3452f8d5d0e58d88f3b72774fe33b386889ce6f6ff105f5c824691ab2e9e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eed3452f8d5d0e58d88f3b72774fe33b386889ce6f6ff105f5c824691ab2e9e4", kill_on_drop: false }` [INFO] [stdout] eed3452f8d5d0e58d88f3b72774fe33b386889ce6f6ff105f5c824691ab2e9e4