[INFO] fetching crate go-away 0.5.0... [INFO] checking go-away-0.5.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate go-away 0.5.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate go-away 0.5.0 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate go-away 0.5.0 [INFO] finished tweaking crates.io crate go-away 0.5.0 [INFO] tweaked toml for crates.io crate go-away 0.5.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 55 packages to latest compatible versions [INFO] [stderr] Adding indoc v1.0.9 (available: v2.0.5) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.11.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded go-away-derive-internals v0.5.0 [INFO] [stderr] Downloaded go-away-derive v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f0a694f9f3c5025e74d53b6d3ad4118cac464e32855b129e713b712808f32a4 [INFO] running `Command { std: "docker" "start" "-a" "9f0a694f9f3c5025e74d53b6d3ad4118cac464e32855b129e713b712808f32a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f0a694f9f3c5025e74d53b6d3ad4118cac464e32855b129e713b712808f32a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f0a694f9f3c5025e74d53b6d3ad4118cac464e32855b129e713b712808f32a4", kill_on_drop: false }` [INFO] [stdout] 9f0a694f9f3c5025e74d53b6d3ad4118cac464e32855b129e713b712808f32a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad625cc1596b2ffc8ee47416d15de26a128f2bdea0c3540364e3465fdf62940f [INFO] running `Command { std: "docker" "start" "-a" "ad625cc1596b2ffc8ee47416d15de26a128f2bdea0c3540364e3465fdf62940f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking insta v1.41.1 [INFO] [stderr] Checking serde_json v1.0.133 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling go-away-derive-internals v0.5.0 [INFO] [stderr] Compiling go-away-derive v0.5.0 [INFO] [stderr] Checking go-away v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> tests/go_validation.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(TypeMetadata, Debug, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/go_validation.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/go_validation.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(TypeMetadata, Debug, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/go_validation.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> tests/go_marshalling.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(TypeMetadata, Debug, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/go_marshalling.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/go_marshalling.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(TypeMetadata, Debug, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/go_marshalling.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> tests/go_validation.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(TypeMetadata, Debug, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/go_validation.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/go_validation.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(TypeMetadata, Debug, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/go_validation.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> tests/go_marshalling.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(TypeMetadata, Debug, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/go_marshalling.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/go_marshalling.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(TypeMetadata, Debug, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/go_marshalling.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> tests/go_validation.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(TypeMetadata, Debug, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/go_validation.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/go_validation.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(TypeMetadata, Debug, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/go_validation.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> tests/go_marshalling.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(TypeMetadata, Debug, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/go_marshalling.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/go_marshalling.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(TypeMetadata, Debug, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/go_marshalling.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> tests/go_marshalling.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(TypeMetadata, Debug, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/go_marshalling.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/go_marshalling.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(TypeMetadata, Debug, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/go_marshalling.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> tests/go_marshalling.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(TypeMetadata, Debug, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/go_marshalling.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/go_marshalling.rs:61:42 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(TypeMetadata, Debug, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/go_marshalling.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> tests/go_marshalling.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(TypeMetadata, Debug, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/go_marshalling.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/go_marshalling.rs:69:42 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(TypeMetadata, Debug, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/go_marshalling.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SomeUnion: Serialize` is not satisfied [INFO] [stdout] --> tests/go_validation.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | assert!(run_test::( [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `SomeUnion` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `SomeUnion` 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 `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 `run_test` [INFO] [stdout] --> tests/go_validation.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 56 | fn run_test(test_name: &str, data: &str) -> bool [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 57 | where [INFO] [stdout] 58 | T: TypeMetadata + Serialize + serde::de::DeserializeOwned + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `run_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SomeUnion: DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/go_validation.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | assert!(run_test::( [INFO] [stdout] | ^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `SomeUnion` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `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 for `SomeUnion` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `run_test` [INFO] [stdout] --> tests/go_validation.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 56 | fn run_test(test_name: &str, data: &str) -> bool [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 57 | where [INFO] [stdout] 58 | T: TypeMetadata + Serialize + serde::de::DeserializeOwned + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `run_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SomeUnion: Serialize` is not satisfied [INFO] [stdout] --> tests/go_validation.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | assert!(!run_test::( [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `SomeUnion` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `SomeUnion` 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 `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 `run_test` [INFO] [stdout] --> tests/go_validation.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 56 | fn run_test(test_name: &str, data: &str) -> bool [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 57 | where [INFO] [stdout] 58 | T: TypeMetadata + Serialize + serde::de::DeserializeOwned + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `run_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SomeUnion: DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/go_validation.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | assert!(!run_test::( [INFO] [stdout] | ^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `SomeUnion` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `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 for `SomeUnion` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `run_test` [INFO] [stdout] --> tests/go_validation.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 56 | fn run_test(test_name: &str, data: &str) -> bool [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 57 | where [INFO] [stdout] 58 | T: TypeMetadata + Serialize + serde::de::DeserializeOwned + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `run_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SomeUnion: Serialize` is not satisfied [INFO] [stdout] --> tests/go_validation.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | assert!(run_test::( [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `SomeUnion` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `SomeUnion` 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 `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 `run_test` [INFO] [stdout] --> tests/go_validation.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 56 | fn run_test(test_name: &str, data: &str) -> bool [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 57 | where [INFO] [stdout] 58 | T: TypeMetadata + Serialize + serde::de::DeserializeOwned + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `run_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SomeUnion: DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/go_validation.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | assert!(run_test::( [INFO] [stdout] | ^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `SomeUnion` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `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 for `SomeUnion` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `run_test` [INFO] [stdout] --> tests/go_validation.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 56 | fn run_test(test_name: &str, data: &str) -> bool [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 57 | where [INFO] [stdout] 58 | T: TypeMetadata + Serialize + serde::de::DeserializeOwned + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `run_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `InternallyTaggedTupleEnum: Serialize` is not satisfied [INFO] [stdout] --> tests/go_marshalling.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 37 | run_test( [INFO] [stdout] | -------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 40 | / &[ [INFO] [stdout] 41 | | InternallyTaggedTupleEnum::One(One { x: 1.0 }), [INFO] [stdout] 42 | | InternallyTaggedTupleEnum::Two(Two { y: true }), [INFO] [stdout] 43 | | ], [INFO] [stdout] | |_________^ the trait `Serialize` is not implemented for `InternallyTaggedTupleEnum` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `InternallyTaggedTupleEnum` 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 `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 `run_test` [INFO] [stdout] --> tests/go_marshalling.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 117 | fn run_test(test_name: &str, type_name: &str, test_data: &[T]) [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 118 | where [INFO] [stdout] 119 | T: TypeMetadata + Serialize + serde::de::DeserializeOwned + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `run_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `InternallyTaggedTupleEnum: DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/go_marshalling.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 37 | run_test( [INFO] [stdout] | -------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 40 | / &[ [INFO] [stdout] 41 | | InternallyTaggedTupleEnum::One(One { x: 1.0 }), [INFO] [stdout] 42 | | InternallyTaggedTupleEnum::Two(Two { y: true }), [INFO] [stdout] 43 | | ], [INFO] [stdout] | |_________^ the trait `for<'de> Deserialize<'de>` is not implemented for `InternallyTaggedTupleEnum` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `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 for `InternallyTaggedTupleEnum` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `run_test` [INFO] [stdout] --> tests/go_marshalling.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 117 | fn run_test(test_name: &str, type_name: &str, test_data: &[T]) [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 118 | where [INFO] [stdout] 119 | T: TypeMetadata + Serialize + serde::de::DeserializeOwned + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `run_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StructEnum: Serialize` is not satisfied [INFO] [stdout] --> tests/go_marshalling.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 89 | run_test( [INFO] [stdout] | -------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 92 | / &[ [INFO] [stdout] 93 | | StructEnum::OptionOne { [INFO] [stdout] 94 | | x: "hello".into(), [INFO] [stdout] 95 | | y: 100, [INFO] [stdout] ... | [INFO] [stdout] 112 | | }, [INFO] [stdout] 113 | | ], [INFO] [stdout] | |_________^ the trait `Serialize` is not implemented for `StructEnum` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `StructEnum` 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 `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 `run_test` [INFO] [stdout] --> tests/go_marshalling.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 117 | fn run_test(test_name: &str, type_name: &str, test_data: &[T]) [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 118 | where [INFO] [stdout] 119 | T: TypeMetadata + Serialize + serde::de::DeserializeOwned + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `run_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StructEnum: DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/go_marshalling.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 89 | run_test( [INFO] [stdout] | -------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 92 | / &[ [INFO] [stdout] 93 | | StructEnum::OptionOne { [INFO] [stdout] 94 | | x: "hello".into(), [INFO] [stdout] 95 | | y: 100, [INFO] [stdout] ... | [INFO] [stdout] 112 | | }, [INFO] [stdout] 113 | | ], [INFO] [stdout] | |_________^ the trait `for<'de> Deserialize<'de>` is not implemented for `StructEnum` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `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 for `StructEnum` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `run_test` [INFO] [stdout] --> tests/go_marshalling.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 117 | fn run_test(test_name: &str, type_name: &str, test_data: &[T]) [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 118 | where [INFO] [stdout] 119 | T: TypeMetadata + Serialize + serde::de::DeserializeOwned + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `run_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `go-away` (test "go_validation") due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `go-away` (test "go_marshalling") due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "ad625cc1596b2ffc8ee47416d15de26a128f2bdea0c3540364e3465fdf62940f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad625cc1596b2ffc8ee47416d15de26a128f2bdea0c3540364e3465fdf62940f", kill_on_drop: false }` [INFO] [stdout] ad625cc1596b2ffc8ee47416d15de26a128f2bdea0c3540364e3465fdf62940f