[INFO] cloning repository https://github.com/acanthite/serde_json-breaks-type-inference [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facanthite%2Fserde_json-breaks-type-inference'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8cc3e3088f25f9ec0449f0b1c0896f9a0d041ada [INFO] checking acanthite/serde_json-breaks-type-inference against try#575650af7d7ca88602df28e39d27bf3e456c306e for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facanthite%2Fserde_json-breaks-type-inference" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/acanthite/serde_json-breaks-type-inference on toolchain 575650af7d7ca88602df28e39d27bf3e456c306e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-11/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ryu v1.0.3 [INFO] [stderr] Downloaded serde_json v1.0.51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2cfbbb11cd0e8cca32051fcff050697df45b91cbdb2129409d86e74662edfaf2 [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" "2cfbbb11cd0e8cca32051fcff050697df45b91cbdb2129409d86e74662edfaf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cfbbb11cd0e8cca32051fcff050697df45b91cbdb2129409d86e74662edfaf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cfbbb11cd0e8cca32051fcff050697df45b91cbdb2129409d86e74662edfaf2", kill_on_drop: false }` [INFO] [stdout] 2cfbbb11cd0e8cca32051fcff050697df45b91cbdb2129409d86e74662edfaf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "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] c8ca494c08db69cb9c244dcce36273ecda9085c4f8c75ec6895993b6624a8164 [INFO] running `Command { std: "docker" "start" "-a" "c8ca494c08db69cb9c244dcce36273ecda9085c4f8c75ec6895993b6624a8164", kill_on_drop: false }` [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking serde_json v1.0.51 [INFO] [stderr] Checking broken_inference v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:12:48 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(10, vec![1, 2, 3, 4].iter().sum()); [INFO] [stdout] | ^^^ cannot infer type for type parameter `S` declared on the associated function `sum` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Sum<&i32>` [INFO] [stdout] help: consider specifying the type argument in the method call [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(10, vec![1, 2, 3, 4].iter().sum::()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(10, linked.iter().sum()) [INFO] [stdout] | ^^^ cannot infer type for type parameter `S` declared on the associated function `sum` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Sum<&i32>` [INFO] [stdout] help: consider specifying the type argument in the method call [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(10, linked.iter().sum::()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/other_broken.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(10, vec![1, 2, 3, 4].iter().sum()); [INFO] [stdout] | ^^^ cannot infer type for type parameter `S` declared on the associated function `sum` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Sum<&i32>` [INFO] [stdout] help: consider specifying the type argument in the method call [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(10, vec![1, 2, 3, 4].iter().sum::()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `broken_inference` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "c8ca494c08db69cb9c244dcce36273ecda9085c4f8c75ec6895993b6624a8164", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8ca494c08db69cb9c244dcce36273ecda9085c4f8c75ec6895993b6624a8164", kill_on_drop: false }` [INFO] [stdout] c8ca494c08db69cb9c244dcce36273ecda9085c4f8c75ec6895993b6624a8164