[INFO] fetching crate enum_dict 0.3.1... [INFO] testing enum_dict-0.3.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate enum_dict 0.3.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate enum_dict 0.3.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate enum_dict 0.3.1 [INFO] tweaked toml for crates.io crate enum_dict 0.3.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate enum_dict 0.3.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate enum_dict 0.3.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fa142a168186e971057a985268fbf6bb8e9f39834380c1b2d23b96a9bea55cc [INFO] running `Command { std: "docker" "start" "-a" "2fa142a168186e971057a985268fbf6bb8e9f39834380c1b2d23b96a9bea55cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fa142a168186e971057a985268fbf6bb8e9f39834380c1b2d23b96a9bea55cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fa142a168186e971057a985268fbf6bb8e9f39834380c1b2d23b96a9bea55cc", kill_on_drop: false }` [INFO] [stdout] 2fa142a168186e971057a985268fbf6bb8e9f39834380c1b2d23b96a9bea55cc [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 407d01ea1a0acf1bd8818bf041734ae91c6d5ab8529cd95fbbfba9c34cd1a9e8 [INFO] running `Command { std: "docker" "start" "-a" "407d01ea1a0acf1bd8818bf041734ae91c6d5ab8529cd95fbbfba9c34cd1a9e8", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling enum_dict_derive v0.2.1 [INFO] [stderr] Compiling enum_dict v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `DictVisitor` is never constructed [INFO] [stdout] --> src/dict_key.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct DictVisitor(PhantomData<(K, V)>); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/dict_key.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl DictVisitor { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.89s [INFO] running `Command { std: "docker" "inspect" "407d01ea1a0acf1bd8818bf041734ae91c6d5ab8529cd95fbbfba9c34cd1a9e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "407d01ea1a0acf1bd8818bf041734ae91c6d5ab8529cd95fbbfba9c34cd1a9e8", kill_on_drop: false }` [INFO] [stdout] 407d01ea1a0acf1bd8818bf041734ae91c6d5ab8529cd95fbbfba9c34cd1a9e8 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b41eb6efe15010e82a5db2eb679c9680c7564214301197c570a16302108209a5 [INFO] running `Command { std: "docker" "start" "-a" "b41eb6efe15010e82a5db2eb679c9680c7564214301197c570a16302108209a5", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.223 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stdout] warning: struct `DictVisitor` is never constructed [INFO] [stdout] --> src/dict_key.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct DictVisitor(PhantomData<(K, V)>); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/dict_key.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl DictVisitor { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling enum_dict v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DictVisitor` is never constructed [INFO] [stdout] --> src/dict_key.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct DictVisitor(PhantomData<(K, V)>); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/dict_key.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl DictVisitor { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Data: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> tests/test.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | let data: Data = serde_json::from_str(json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde_core::de::Deserialize<'_>` is not implemented for `Data` [INFO] [stdout] --> tests/test.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | struct Data { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Data` 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_core::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 140 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.145/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 `Data: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/test.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | serde_json::to_string(&data).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 `serde_core::ser::Serialize` is not implemented for `Data` [INFO] [stdout] --> tests/test.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | struct Data { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Data` 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_core::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 128 others [INFO] [stdout] note: required by a bound in `serde_json::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.145/src/ser.rs:2247:17 [INFO] [stdout] | [INFO] [stdout] 2245 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2246 | where [INFO] [stdout] 2247 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Data: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> tests/test.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | let err = serde_json::from_str::(json).unwrap_err(); [INFO] [stdout] | ^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde_core::de::Deserialize<'_>` is not implemented for `Data` [INFO] [stdout] --> tests/test.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | struct Data { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Data` 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_core::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 140 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.145/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] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `enum_dict` (test "test") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "b41eb6efe15010e82a5db2eb679c9680c7564214301197c570a16302108209a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b41eb6efe15010e82a5db2eb679c9680c7564214301197c570a16302108209a5", kill_on_drop: false }` [INFO] [stdout] b41eb6efe15010e82a5db2eb679c9680c7564214301197c570a16302108209a5