[INFO] fetching crate transmog-pot 0.3.0... [INFO] testing transmog-pot-0.3.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate transmog-pot 0.3.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate transmog-pot 0.3.0 [INFO] finished tweaking crates.io crate transmog-pot 0.3.0 [INFO] tweaked toml for crates.io crate transmog-pot 0.3.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate transmog-pot 0.3.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1170512d51e1948ff5b605f7aae033a3d1b09d5ec6a3f916ff835dd46173412 [INFO] running `Command { std: "docker" "start" "-a" "b1170512d51e1948ff5b605f7aae033a3d1b09d5ec6a3f916ff835dd46173412", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1170512d51e1948ff5b605f7aae033a3d1b09d5ec6a3f916ff835dd46173412", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1170512d51e1948ff5b605f7aae033a3d1b09d5ec6a3f916ff835dd46173412", kill_on_drop: false }` [INFO] [stdout] b1170512d51e1948ff5b605f7aae033a3d1b09d5ec6a3f916ff835dd46173412 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36b31feb9e9442c381ebb44884c86f0bcb21c80c445326afc3cd260ed46eeb9a [INFO] running `Command { std: "docker" "start" "-a" "36b31feb9e9442c381ebb44884c86f0bcb21c80c445326afc3cd260ed46eeb9a", kill_on_drop: false }` [INFO] [stderr] Compiling transmog v0.1.0 [INFO] [stderr] Compiling pot v3.0.1 [INFO] [stderr] Compiling transmog-pot v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `Command { std: "docker" "inspect" "36b31feb9e9442c381ebb44884c86f0bcb21c80c445326afc3cd260ed46eeb9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36b31feb9e9442c381ebb44884c86f0bcb21c80c445326afc3cd260ed46eeb9a", kill_on_drop: false }` [INFO] [stdout] 36b31feb9e9442c381ebb44884c86f0bcb21c80c445326afc3cd260ed46eeb9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93d18fe2222ee8f018b9ce8761ec1ad190c1ef3ec75b385c63a98cc3423b1126 [INFO] running `Command { std: "docker" "start" "-a" "93d18fe2222ee8f018b9ce8761ec1ad190c1ef3ec75b385c63a98cc3423b1126", kill_on_drop: false }` [INFO] [stderr] Compiling transmog v0.1.0 [INFO] [stderr] Compiling transmog-pot v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:19:48 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::{de::DeserializeOwned, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::{de::DeserializeOwned, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | #[serde(borrow)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Test<'_>: Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:87:36 [INFO] [stdout] | [INFO] [stdout] 87 | let serialized = pot.serialize(&value).unwrap(); [INFO] [stdout] | --------- ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Serialize` is not implemented for `Test<'_>` [INFO] [stdout] --> src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | struct Test<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Test<'_>` 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 132 others [INFO] [stdout] note: required for `Pot` to implement `Format<'_, Test<'_>>` [INFO] [stdout] --> src/lib.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | impl<'a, T> Format<'a, T> for Pot [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] 34 | where [INFO] [stdout] 35 | T: Serialize, [INFO] [stdout] | --------- unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Test<'_>: Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:89:38 [INFO] [stdout] | [INFO] [stdout] 89 | let deserialized: Test<'_> = pot.deserialize_borrowed(&serialized).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Serialize` is not implemented for `Test<'_>` [INFO] [stdout] --> src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | struct Test<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Test<'_>` 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 132 others [INFO] [stdout] note: required for `Pot` to implement `Format<'_, Test<'_>>` [INFO] [stdout] --> src/lib.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | impl<'a, T> Format<'a, T> for Pot [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] 34 | where [INFO] [stdout] 35 | T: Serialize, [INFO] [stdout] | --------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `deserialize_borrowed` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/transmog-0.1.0/src/lib.rs:49:40 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait BorrowedDeserializer<'a, T>: Format<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `BorrowedDeserializer::deserialize_borrowed` [INFO] [stdout] 50 | /// Deserialize `T` from `data`, borrowing when possible. [INFO] [stdout] 51 | fn deserialize_borrowed(&self, data: &'a [u8]) -> Result; [INFO] [stdout] | -------------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Test<'_>: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:89:38 [INFO] [stdout] | [INFO] [stdout] 89 | let deserialized: Test<'_> = pot.deserialize_borrowed(&serialized).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `Test<'_>` [INFO] [stdout] --> src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | struct Test<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Test<'_>` 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 `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 143 others [INFO] [stdout] note: required for `Pot` to implement `BorrowedDeserializer<'_, Test<'_>>` [INFO] [stdout] --> src/lib.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | impl<'a, T> BorrowedDeserializer<'a, T> for Pot [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] 49 | where [INFO] [stdout] 50 | T: Serialize + Deserialize<'a>, [INFO] [stdout] | --------------- unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `transmog-pot` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "93d18fe2222ee8f018b9ce8761ec1ad190c1ef3ec75b385c63a98cc3423b1126", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93d18fe2222ee8f018b9ce8761ec1ad190c1ef3ec75b385c63a98cc3423b1126", kill_on_drop: false }` [INFO] [stdout] 93d18fe2222ee8f018b9ce8761ec1ad190c1ef3ec75b385c63a98cc3423b1126