[INFO] cloning repository https://github.com/LinusDikomey/serde-gon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LinusDikomey/serde-gon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLinusDikomey%2Fserde-gon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLinusDikomey%2Fserde-gon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 84b61569ed029c2fbd8b15607550076f2072605e [INFO] testing LinusDikomey/serde-gon against try#028592fec99e54cc92def5a2a849c673b066dd93 for pr-146098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLinusDikomey%2Fserde-gon" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LinusDikomey/serde-gon [INFO] finished tweaking git repo https://github.com/LinusDikomey/serde-gon [INFO] tweaked toml for git repo https://github.com/LinusDikomey/serde-gon written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LinusDikomey/serde-gon on toolchain 028592fec99e54cc92def5a2a849c673b066dd93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LinusDikomey/serde-gon 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" "+028592fec99e54cc92def5a2a849c673b066dd93" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 457d0b4c3ddbc75892be5b36c3367c7b565c24b5e1b3cb5ea51d3adb5187062b [INFO] running `Command { std: "docker" "start" "-a" "457d0b4c3ddbc75892be5b36c3367c7b565c24b5e1b3cb5ea51d3adb5187062b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "457d0b4c3ddbc75892be5b36c3367c7b565c24b5e1b3cb5ea51d3adb5187062b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "457d0b4c3ddbc75892be5b36c3367c7b565c24b5e1b3cb5ea51d3adb5187062b", kill_on_drop: false }` [INFO] [stdout] 457d0b4c3ddbc75892be5b36c3367c7b565c24b5e1b3cb5ea51d3adb5187062b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+028592fec99e54cc92def5a2a849c673b066dd93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3b35055225e0ff3a42dadb379473732a8fc795165bb6f1f96ea4c4bf227a20a [INFO] running `Command { std: "docker" "start" "-a" "c3b35055225e0ff3a42dadb379473732a8fc795165bb6f1f96ea4c4bf227a20a", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling serde-gon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0407]: method `visit_string` is not a member of trait `serde::de::Visitor` [INFO] [stdout] --> src/value/visitor.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | fn visit_string(self, v: String) -> Result [INFO] [stdout] | ^ ------------ help: there is an associated function with a similar name: `visit_str` [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 107 | | where [INFO] [stdout] 108 | | E: serde::de::Error, [INFO] [stdout] ... | [INFO] [stdout] 111 | | } [INFO] [stdout] | |_____^ not a member of trait `serde::de::Visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/value/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `collect_str` [INFO] [stdout] --> src/ser.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a> ser::Serializer for &'a mut Serializer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `collect_str` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn collect_str(self, _: &T) -> std::result::Result<::Ok, ::Error> where T: ?Sized, T: std::fmt::Display { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `visit_string` found for type parameter `V` in the current scope [INFO] [stdout] --> src/de.rs:528:50 [INFO] [stdout] | [INFO] [stdout] 506 | fn deserialize_any>(self, visitor: V) -> Result [INFO] [stdout] | - method `visit_string` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 528 | Cow::Owned(s) => visitor.visit_string(s), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `visit_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 528 - Cow::Owned(s) => visitor.visit_string(s), [INFO] [stdout] 528 + Cow::Owned(s) => visitor.visit_str(s), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `visit_string` found for type parameter `V` in the current scope [INFO] [stdout] --> src/de.rs:626:38 [INFO] [stdout] | [INFO] [stdout] 619 | fn deserialize_str(self, visitor: V) -> Result [INFO] [stdout] | - method `visit_string` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 626 | Cow::Owned(s) => visitor.visit_string(s), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `visit_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 626 - Cow::Owned(s) => visitor.visit_string(s), [INFO] [stdout] 626 + Cow::Owned(s) => visitor.visit_str(s), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: Serialize` is not satisfied [INFO] [stdout] --> src/value/ser.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | map.serialize_entry(k, v)?; [INFO] [stdout] | --------------- ^ the trait `Serialize` is not implemented for `String` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Serialize` is implemented for `str` [INFO] [stdout] note: required by a bound in `serialize_entry` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.188/src/ser/mod.rs:1807:12 [INFO] [stdout] | [INFO] [stdout] 1801 | fn serialize_entry( [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 1807 | K: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeMap::serialize_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `visit_string` found for struct `ValueVisitor` in the current scope [INFO] [stdout] --> src/value/visitor.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 14 | struct ValueVisitor; [INFO] [stdout] | ------------------- method `visit_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 103 | self.visit_string(v.to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `visit_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 103 - self.visit_string(v.to_owned()) [INFO] [stdout] 103 + self.visit_str(v.to_owned()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/value/visitor.rs:148:39 [INFO] [stdout] | [INFO] [stdout] 148 | std::iter::from_fn(|| map.next_entry().transpose()).collect::>()?, [INFO] [stdout] | ^^^^^^^^^^ the trait `Deserialize<'de>` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Deserialize<'de>` is not implemented for `String` [INFO] [stdout] but trait `Deserialize<'_>` is implemented for `&str` [INFO] [stdout] = help: for that trait implementation, expected `&str`, found `String` [INFO] [stdout] note: required by a bound in `next_entry` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.188/src/de/mod.rs:1876:12 [INFO] [stdout] | [INFO] [stdout] 1874 | fn next_entry(&mut self) -> Result, Self::Error> [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1875 | where [INFO] [stdout] 1876 | K: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0277, E0407, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `serde-gon` (lib) due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c3b35055225e0ff3a42dadb379473732a8fc795165bb6f1f96ea4c4bf227a20a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3b35055225e0ff3a42dadb379473732a8fc795165bb6f1f96ea4c4bf227a20a", kill_on_drop: false }` [INFO] [stdout] c3b35055225e0ff3a42dadb379473732a8fc795165bb6f1f96ea4c4bf227a20a