[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamuelMarks%2Frust-playground" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SamuelMarks/rust-playground on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-1/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: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v0.15.22 [INFO] [stderr] Downloaded serde_derive v1.0.81 [INFO] [stderr] Downloaded serde v1.0.81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b19a1a419a0a4fcd28d4afdb93f3ce53e2a937fa93ba14949cfa916e6135d97 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0b19a1a419a0a4fcd28d4afdb93f3ce53e2a937fa93ba14949cfa916e6135d97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b19a1a419a0a4fcd28d4afdb93f3ce53e2a937fa93ba14949cfa916e6135d97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b19a1a419a0a4fcd28d4afdb93f3ce53e2a937fa93ba14949cfa916e6135d97", kill_on_drop: false }` [INFO] [stdout] 0b19a1a419a0a4fcd28d4afdb93f3ce53e2a937fa93ba14949cfa916e6135d97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e1e4c695075d022d0dfe39e988642564b1644d6027be882bcfa971658da1f273 [INFO] running `Command { std: "docker" "start" "-a" "e1e4c695075d022d0dfe39e988642564b1644d6027be882bcfa971658da1f273", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.81 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [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] | ^^^^ maybe a missing crate `core`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseIntError` in this scope [INFO] [stdout] --> src/main.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | type Err = ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use std::num::ParseIntError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] | ^^^^ maybe a missing crate `core`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseIntError` in this scope [INFO] [stdout] --> src/main.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | type Err = ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use std::num::ParseIntError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: 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 for type parameter `T` declared on the function `string_or_struct` [INFO] [stdout] ... [INFO] [stdout] 74 | fn string_or_struct<'de, T, D>(deserializer: D) -> Result, D::Error> [INFO] [stdout] | ---------------- required by a bound in this [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: Deserialize<'de> + FromStr, [INFO] [stdout] | ---------------- required by this bound in `string_or_struct` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Deserialize<'_>` [INFO] [stdout] help: consider specifying the type arguments in the function call [INFO] [stdout] | [INFO] [stdout] 53 | #[serde(deserialize_with = "string_or_struct"::<'de, T, D>)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: 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 for type parameter `T` declared on the function `string_or_struct` [INFO] [stdout] ... [INFO] [stdout] 74 | fn string_or_struct<'de, T, D>(deserializer: D) -> Result, D::Error> [INFO] [stdout] | ---------------- required by a bound in this [INFO] [stdout] 75 | where [INFO] [stdout] 76 | T: Deserialize<'de> + FromStr, [INFO] [stdout] | ---------------- required by this bound in `string_or_struct` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Deserialize<'_>` [INFO] [stdout] help: consider specifying the type arguments in the function call [INFO] [stdout] | [INFO] [stdout] 53 | #[serde(deserialize_with = "string_or_struct"::<'de, T, D>)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::option::Option