[INFO] cloning repository https://github.com/SamuelMarks/rust-playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SamuelMarks/rust-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamuelMarks%2Frust-playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamuelMarks%2Frust-playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 436a6d87e5ee54c7b48bcfd6bb0a9f75c2ba9273 [INFO] checking SamuelMarks/rust-playground against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamuelMarks%2Frust-playground" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SamuelMarks/rust-playground on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SamuelMarks/rust-playground [INFO] finished tweaking git repo https://github.com/SamuelMarks/rust-playground [INFO] tweaked toml for git repo https://github.com/SamuelMarks/rust-playground written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SamuelMarks/rust-playground 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.81 [INFO] [stderr] Downloaded serde_derive v1.0.81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ba274e47a0cc13dfe59ba35358d82d97615062acb4d3e9f9f8e110b0ee16d28 [INFO] running `Command { std: "docker" "start" "-a" "5ba274e47a0cc13dfe59ba35358d82d97615062acb4d3e9f9f8e110b0ee16d28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ba274e47a0cc13dfe59ba35358d82d97615062acb4d3e9f9f8e110b0ee16d28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ba274e47a0cc13dfe59ba35358d82d97615062acb4d3e9f9f8e110b0ee16d28", kill_on_drop: false }` [INFO] [stdout] 5ba274e47a0cc13dfe59ba35358d82d97615062acb4d3e9f9f8e110b0ee16d28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 125b0fbe37add18d9a5f9bec3f3fcad9379bb19a46000a3fb5dbebe8e3416cec [INFO] running `Command { std: "docker" "start" "-a" "125b0fbe37add18d9a5f9bec3f3fcad9379bb19a46000a3fb5dbebe8e3416cec", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.81 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Compiling serde_derive v1.0.81 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking rust-playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `core`? [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use core::num::ParseIntError; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | maybe a missing crate `core`? [INFO] [stdout] | help: try using `std` instead of `core`: `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `core`? [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use core::num::ParseIntError; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | maybe a missing crate `core`? [INFO] [stdout] | help: try using `std` instead of `core`: `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | #[serde(deserialize_with = "string_or_struct")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `string_or_struct` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 53 | #[serde(deserialize_with = "string_or_struct"::<_, __D>)] [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | #[serde(deserialize_with = "string_or_struct")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `string_or_struct` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 53 | #[serde(deserialize_with = "string_or_struct"::<_, __D>)] [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::option::Option