[INFO] fetching crate literal 0.2.0... [INFO] checking literal-0.2.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate literal 0.2.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate literal 0.2.0 [INFO] finished tweaking crates.io crate literal 0.2.0 [INFO] tweaked toml for crates.io crate literal 0.2.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate literal 0.2.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38e571f1c16d92d778e8dd543a610d35b4995f6d5ba1a01a272ddb86080287ee [INFO] running `Command { std: "docker" "start" "-a" "38e571f1c16d92d778e8dd543a610d35b4995f6d5ba1a01a272ddb86080287ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38e571f1c16d92d778e8dd543a610d35b4995f6d5ba1a01a272ddb86080287ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38e571f1c16d92d778e8dd543a610d35b4995f6d5ba1a01a272ddb86080287ee", kill_on_drop: false }` [INFO] [stdout] 38e571f1c16d92d778e8dd543a610d35b4995f6d5ba1a01a272ddb86080287ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 878cc4eb20f91e7291a8bf6fb34c61051600e5df8cbc07acd7900053c847d528 [INFO] running `Command { std: "docker" "start" "-a" "878cc4eb20f91e7291a8bf6fb34c61051600e5df8cbc07acd7900053c847d528", kill_on_drop: false }` [INFO] [stderr] Checking literal v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/tests.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | "p": HashMap::from(map!{"x": 0, "y": 0}), [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `T` declared on the trait `From` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `HashMap: From<_>` found in the following crates: `core`, `std`: [INFO] [stdout] - impl From<[(K, V); N]> for HashMap [INFO] [stdout] where the constant `N` has type `usize`, K: Eq, K: Hash; [INFO] [stdout] - impl From for T; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/tests.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | "q": HashMap::from(map!{"x": 1, "y": 0}) [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `T` declared on the trait `From` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `HashMap: From<_>` found in the following crates: `core`, `std`: [INFO] [stdout] - impl From<[(K, V); N]> for HashMap [INFO] [stdout] where the constant `N` has type `usize`, K: Eq, K: Hash; [INFO] [stdout] - impl From for T; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:140:64 [INFO] [stdout] | [INFO] [stdout] 140 | $(MapLiteral::insert(&mut _temp_map,$key.into(),$value.into());)* [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | "p": HashMap::from(map!{"x": 0, "y": 0}), [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `_: From` found in the following crates: `core`, `std`: [INFO] [stdout] - impl From for AtomicI32; [INFO] [stdout] - impl From for f128; [INFO] [stdout] - impl From for f64; [INFO] [stdout] - impl From for i128; [INFO] [stdout] - impl From for i64; [INFO] [stdout] - impl From for std::sys::process::unix::unix::ExitStatus; [INFO] [stdout] = note: required for `i32` to implement `Into<_>` [INFO] [stdout] = note: this error originates in the macro `map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:140:64 [INFO] [stdout] | [INFO] [stdout] 140 | $(MapLiteral::insert(&mut _temp_map,$key.into(),$value.into());)* [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | "q": HashMap::from(map!{"x": 1, "y": 0}) [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `_: From` found in the following crates: `core`, `std`: [INFO] [stdout] - impl From for AtomicI32; [INFO] [stdout] - impl From for f128; [INFO] [stdout] - impl From for f64; [INFO] [stdout] - impl From for i128; [INFO] [stdout] - impl From for i64; [INFO] [stdout] - impl From for std::sys::process::unix::unix::ExitStatus; [INFO] [stdout] = note: required for `i32` to implement `Into<_>` [INFO] [stdout] = note: this error originates in the macro `map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `literal` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "878cc4eb20f91e7291a8bf6fb34c61051600e5df8cbc07acd7900053c847d528", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "878cc4eb20f91e7291a8bf6fb34c61051600e5df8cbc07acd7900053c847d528", kill_on_drop: false }` [INFO] [stdout] 878cc4eb20f91e7291a8bf6fb34c61051600e5df8cbc07acd7900053c847d528