[INFO] cloning repository https://github.com/acanthite/serde_json-breaks-type-inference [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/acanthite/serde_json-breaks-type-inference" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facanthite%2Fserde_json-breaks-type-inference"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facanthite%2Fserde_json-breaks-type-inference'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8cc3e3088f25f9ec0449f0b1c0896f9a0d041ada [INFO] checking acanthite/serde_json-breaks-type-inference against try#1a399c10897767c36d147199696c96f193034e49 for pr-72644 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facanthite%2Fserde_json-breaks-type-inference" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/acanthite/serde_json-breaks-type-inference on toolchain 1a399c10897767c36d147199696c96f193034e49 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a399c10897767c36d147199696c96f193034e49" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/acanthite/serde_json-breaks-type-inference [INFO] finished tweaking git repo https://github.com/acanthite/serde_json-breaks-type-inference [INFO] tweaked toml for git repo https://github.com/acanthite/serde_json-breaks-type-inference written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/acanthite/serde_json-breaks-type-inference already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a399c10897767c36d147199696c96f193034e49" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1a399c10897767c36d147199696c96f193034e49" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 08f4cb2383616e270abcb2eb5472e690fb4fae3ed0961d0f0ded860c57ea89c8 [INFO] running `"docker" "start" "-a" "08f4cb2383616e270abcb2eb5472e690fb4fae3ed0961d0f0ded860c57ea89c8"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Checking serde_json v1.0.51 [INFO] [stderr] Checking broken_inference v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `serde_json` [INFO] [stderr] --> src/lib.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use serde_json; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json` [INFO] [stderr] --> src/lib.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use serde_json; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr] --> src/lib.rs:12:48 [INFO] [stderr] | [INFO] [stderr] 12 | assert_eq!(10, vec![1, 2, 3, 4].iter().sum()); [INFO] [stderr] | ^^^ cannot infer type for type parameter `S` declared on the associated function `sum` [INFO] [stderr] | [INFO] [stderr] = note: cannot satisfy `_: std::iter::Sum<&i32>` [INFO] [stderr] help: consider specifying the type argument in the method call [INFO] [stderr] | [INFO] [stderr] 12 | assert_eq!(10, vec![1, 2, 3, 4].iter().sum::()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr] --> src/lib.rs:22:38 [INFO] [stderr] | [INFO] [stderr] 22 | assert_eq!(10, linked.iter().sum()) [INFO] [stderr] | ^^^ cannot infer type for type parameter `S` declared on the associated function `sum` [INFO] [stderr] | [INFO] [stderr] = note: cannot satisfy `_: std::iter::Sum<&i32>` [INFO] [stderr] help: consider specifying the type argument in the method call [INFO] [stderr] | [INFO] [stderr] 22 | assert_eq!(10, linked.iter().sum::()) [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr] --> src/other_broken.rs:7:48 [INFO] [stderr] | [INFO] [stderr] 7 | assert_eq!(10, vec![1, 2, 3, 4].iter().sum()); [INFO] [stderr] | ^^^ cannot infer type for type parameter `S` declared on the associated function `sum` [INFO] [stderr] | [INFO] [stderr] = note: cannot satisfy `_: std::iter::Sum<&i32>` [INFO] [stderr] help: consider specifying the type argument in the method call [INFO] [stderr] | [INFO] [stderr] 7 | assert_eq!(10, vec![1, 2, 3, 4].iter().sum::()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0283`. [INFO] [stderr] error: could not compile `broken_inference`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "08f4cb2383616e270abcb2eb5472e690fb4fae3ed0961d0f0ded860c57ea89c8"` [INFO] running `"docker" "rm" "-f" "08f4cb2383616e270abcb2eb5472e690fb4fae3ed0961d0f0ded860c57ea89c8"` [INFO] [stdout] 08f4cb2383616e270abcb2eb5472e690fb4fae3ed0961d0f0ded860c57ea89c8