[INFO] fetching crate fts-core 0.4.0... [INFO] checking fts-core-0.4.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate fts-core 0.4.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate fts-core 0.4.0 [INFO] finished tweaking crates.io crate fts-core 0.4.0 [INFO] tweaked toml for crates.io crate fts-core 0.4.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fts-core 0.4.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fts-core 0.4.0 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 348a70322cc84e1f9f89c6542cae7aaa9d0919aa49d0f347e75c7a0155b8c281 [INFO] running `Command { std: "docker" "start" "-a" "348a70322cc84e1f9f89c6542cae7aaa9d0919aa49d0f347e75c7a0155b8c281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "348a70322cc84e1f9f89c6542cae7aaa9d0919aa49d0f347e75c7a0155b8c281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "348a70322cc84e1f9f89c6542cae7aaa9d0919aa49d0f347e75c7a0155b8c281", kill_on_drop: false }` [INFO] [stdout] 348a70322cc84e1f9f89c6542cae7aaa9d0919aa49d0f347e75c7a0155b8c281 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e41dd667dca9a186f4113a57b4c47ad2c492d0f3210bd8859aab7e2573cec2b8 [INFO] running `Command { std: "docker" "start" "-a" "e41dd667dca9a186f4113a57b4c47ad2c492d0f3210bd8859aab7e2573cec2b8", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking fts-core v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `OneOf` and `SumOf` are never constructed [INFO] [stdout] --> src/models/group.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | enum Collection { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 98 | OneOf(T), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 99 | SumOf(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Collection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `curve::DemandCurve: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/models/curve.rs:178:43 [INFO] [stdout] | [INFO] [stdout] 178 | let test = serde_json::from_str::(&raw); [INFO] [stdout] | ^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `curve::DemandCurve` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `curve::DemandCurve` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 142 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2698 | where [INFO] [stdout] 2699 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `curve::DemandCurve: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/models/curve.rs:190:43 [INFO] [stdout] | [INFO] [stdout] 190 | let test = serde_json::from_str::(&raw); [INFO] [stdout] | ^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `curve::DemandCurve` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `curve::DemandCurve` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 142 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2698 | where [INFO] [stdout] 2699 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Collection: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/models/group.rs:139:53 [INFO] [stdout] | [INFO] [stdout] 139 | let result: Result, _> = serde_json::from_str(r#""apples""#); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `group::Collection` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `group::Collection` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 142 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2698 | where [INFO] [stdout] 2699 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Collection: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/models/group.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | serde_json::from_str(r#"["apples", "bananas"]"#); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `group::Collection` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `group::Collection` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 142 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2698 | where [INFO] [stdout] 2699 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Collection: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/models/group.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | serde_json::from_str(r#"{"apples": 1, "bananas": 1}"#); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `group::Collection` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `group::Collection` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 142 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2698 | where [INFO] [stdout] 2699 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Collection: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/models/group.rs:183:36 [INFO] [stdout] | [INFO] [stdout] 183 | match serde_json::to_value(Collection::OneOf("apples".to_owned())) { [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `group::Collection` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `group::Collection` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 131 others [INFO] [stdout] note: required by a bound in `to_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/value/mod.rs:990:8 [INFO] [stdout] | [INFO] [stdout] 988 | pub fn to_value(value: T) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 989 | where [INFO] [stdout] 990 | T: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Collection: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/models/group.rs:192:36 [INFO] [stdout] | [INFO] [stdout] 192 | match serde_json::to_value(Collection::SumOf(vec![ [INFO] [stdout] | _______________--------------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 193 | | "apples".to_owned(), [INFO] [stdout] 194 | | "bananas".to_owned(), [INFO] [stdout] 195 | | ])) { [INFO] [stdout] | |__________^ the trait `serde::ser::Serialize` is not implemented for `group::Collection` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `group::Collection` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 131 others [INFO] [stdout] note: required by a bound in `to_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/value/mod.rs:990:8 [INFO] [stdout] | [INFO] [stdout] 988 | pub fn to_value(value: T) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 989 | where [INFO] [stdout] 990 | T: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `group::Collection: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/models/group.rs:204:36 [INFO] [stdout] | [INFO] [stdout] 204 | match serde_json::to_value(Collection::MapOf( [INFO] [stdout] | _______________--------------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 205 | | ["apples", "bananas"] [INFO] [stdout] 206 | | .into_iter() [INFO] [stdout] 207 | | .map(|fruit| (fruit.to_owned(), 1.0)) [INFO] [stdout] 208 | | .collect(), [INFO] [stdout] 209 | | )) { [INFO] [stdout] | |_________^ the trait `serde::ser::Serialize` is not implemented for `group::Collection` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `group::Collection` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 131 others [INFO] [stdout] note: required by a bound in `to_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/value/mod.rs:990:8 [INFO] [stdout] | [INFO] [stdout] 988 | pub fn to_value(value: T) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 989 | where [INFO] [stdout] 990 | T: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fts-core` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "e41dd667dca9a186f4113a57b4c47ad2c492d0f3210bd8859aab7e2573cec2b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e41dd667dca9a186f4113a57b4c47ad2c492d0f3210bd8859aab7e2573cec2b8", kill_on_drop: false }` [INFO] [stdout] e41dd667dca9a186f4113a57b4c47ad2c492d0f3210bd8859aab7e2573cec2b8