[INFO] fetching crate literal 0.2.0... [INFO] testing literal-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate literal 0.2.0 into /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate literal 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8de66c29fdfd39a7fcb8d767228f816de1e425daa481628cd253b3d97da6ae9e [INFO] running `Command { std: "docker" "start" "-a" "8de66c29fdfd39a7fcb8d767228f816de1e425daa481628cd253b3d97da6ae9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8de66c29fdfd39a7fcb8d767228f816de1e425daa481628cd253b3d97da6ae9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8de66c29fdfd39a7fcb8d767228f816de1e425daa481628cd253b3d97da6ae9e", kill_on_drop: false }` [INFO] [stdout] 8de66c29fdfd39a7fcb8d767228f816de1e425daa481628cd253b3d97da6ae9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dadb13021d4194d884eadaa8e0bef7e4926a0e4db3a8282b01290d8eacfb66c2 [INFO] running `Command { std: "docker" "start" "-a" "dadb13021d4194d884eadaa8e0bef7e4926a0e4db3a8282b01290d8eacfb66c2", kill_on_drop: false }` [INFO] [stderr] Compiling literal v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "dadb13021d4194d884eadaa8e0bef7e4926a0e4db3a8282b01290d8eacfb66c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dadb13021d4194d884eadaa8e0bef7e4926a0e4db3a8282b01290d8eacfb66c2", kill_on_drop: false }` [INFO] [stdout] dadb13021d4194d884eadaa8e0bef7e4926a0e4db3a8282b01290d8eacfb66c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a30cdf0d759d064781fdb1aa29b945ed05eaf7fe5d73f2ab83e7fa24c778fd90 [INFO] running `Command { std: "docker" "start" "-a" "a30cdf0d759d064781fdb1aa29b945ed05eaf7fe5d73f2ab83e7fa24c778fd90", kill_on_drop: false }` [INFO] [stderr] Compiling 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" "a30cdf0d759d064781fdb1aa29b945ed05eaf7fe5d73f2ab83e7fa24c778fd90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a30cdf0d759d064781fdb1aa29b945ed05eaf7fe5d73f2ab83e7fa24c778fd90", kill_on_drop: false }` [INFO] [stdout] a30cdf0d759d064781fdb1aa29b945ed05eaf7fe5d73f2ab83e7fa24c778fd90