[INFO] fetching crate rust-lcm-codec 0.2.1... [INFO] building rust-lcm-codec-0.2.1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate rust-lcm-codec 0.2.1 into /workspace/builds/worker-3-tc1/source [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate rust-lcm-codec 0.2.1 [INFO] finished tweaking crates.io crate rust-lcm-codec 0.2.1 [INFO] tweaked toml for crates.io crate rust-lcm-codec 0.2.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-lcm-codec 0.2.1 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80f22b2aabc643ee586a0f339f5b4cec9029bb5ba84ac2e8eb01e0778972c4e9 [INFO] running `Command { std: "docker" "start" "-a" "80f22b2aabc643ee586a0f339f5b4cec9029bb5ba84ac2e8eb01e0778972c4e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80f22b2aabc643ee586a0f339f5b4cec9029bb5ba84ac2e8eb01e0778972c4e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80f22b2aabc643ee586a0f339f5b4cec9029bb5ba84ac2e8eb01e0778972c4e9", kill_on_drop: false }` [INFO] [stdout] 80f22b2aabc643ee586a0f339f5b4cec9029bb5ba84ac2e8eb01e0778972c4e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1688a5e2580271bbb93ef1307d53202f7f08135d809877f9306378fb8e5eea87 [INFO] running `Command { std: "docker" "start" "-a" "1688a5e2580271bbb93ef1307d53202f7f08135d809877f9306378fb8e5eea87", kill_on_drop: false }` [INFO] [stderr] Compiling rust-lcm-codec v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "1688a5e2580271bbb93ef1307d53202f7f08135d809877f9306378fb8e5eea87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1688a5e2580271bbb93ef1307d53202f7f08135d809877f9306378fb8e5eea87", kill_on_drop: false }` [INFO] [stdout] 1688a5e2580271bbb93ef1307d53202f7f08135d809877f9306378fb8e5eea87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3da89b511553f6ab85121533b54c766a0095e67eb02741e9ce94623b996f6021 [INFO] running `Command { std: "docker" "start" "-a" "3da89b511553f6ab85121533b54c766a0095e67eb02741e9ce94623b996f6021", kill_on_drop: false }` [INFO] [stderr] Compiling rust-lcm-codec v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `generated` [INFO] [stdout] --> tests/sliceable_list.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate generated; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `generated` [INFO] [stdout] --> tests/primitives.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate generated; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `generated` [INFO] [stdout] --> tests/nested.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate generated; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sliceable_list.rs:26:55 [INFO] [stdout] | [INFO] [stdout] 26 | for (item_reader, point_destination) in (&mut pr).zip(point_storage.iter_mut()) { [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sliceable_list.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | *point_destination = item_reader.read()?; [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/primitives.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | let (int16_field, pr) = pr.read_int16_field()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/primitives.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | let (int32_field, pr) = pr.read_int32_field()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/primitives.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 64 | let (int64_field, pr) = pr.read_int64_field()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/primitives.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | let (float_field, pr) = pr.read_float_field()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/primitives.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | let (double_field, pr) = pr.read_double_field()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/primitives.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | let (string_field, pr) = pr.read_string_field()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/primitives.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | let (bool_field, pr) = pr.read_bool_field()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/primitives.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | let (byte_field, pr) = pr.read_byte_field()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nested.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | .write_k(|local_primitive_write_ready| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | Ok(local_primitive_write_ready.write_m(2)?.write_n(3)?) [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 16 | .write_k(|local_primitive_write_ready: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sliceable_list.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | item_writer.write(*val)?; [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nested.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let pr = pr.read_k(|field_reader| { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nested.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | let pr = pr.read_k(|field_reader| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 27 | let (m, field_reader) = field_reader.read_m()?; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 26 | let pr = pr.read_k(|field_reader: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nested.rs:29:46 [INFO] [stdout] | [INFO] [stdout] 29 | let (n, field_reader) = field_reader.read_n()?; [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sliceable_list.rs:58:55 [INFO] [stdout] | [INFO] [stdout] 58 | for (item_reader, point_destination) in (&mut pr).zip(point_storage.iter_mut()) { [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sliceable_list.rs:59:42 [INFO] [stdout] | [INFO] [stdout] 59 | *point_destination = item_reader.read()?; [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sliceable_list.rs:87:55 [INFO] [stdout] | [INFO] [stdout] 87 | for (item_reader, point_destination) in (&mut pr).zip(point_storage.iter_mut()) { [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sliceable_list.rs:88:42 [INFO] [stdout] | [INFO] [stdout] 88 | *point_destination = item_reader.read()?; [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sliceable_list.rs:107:51 [INFO] [stdout] | [INFO] [stdout] 107 | for (dest_byte, source_byte) in bytes_ref.iter_mut().zip(&item_values_to_write) { [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sliceable_list.rs:115:55 [INFO] [stdout] | [INFO] [stdout] 115 | for (item_reader, point_destination) in (&mut pr).zip(point_storage.iter_mut()) { [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sliceable_list.rs:116:42 [INFO] [stdout] | [INFO] [stdout] 116 | *point_destination = item_reader.read()?; [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sliceable_list.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pr.bytes_as_slice()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nested.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | .write_k(|local_primitive_write_ready| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | Ok(local_primitive_write_ready [INFO] [stdout] 52 | .write_utime(2)? [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 50 | .write_k(|local_primitive_write_ready: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nested.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | let pr = pr.read_k(|field_reader| { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nested.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | let pr = pr.read_k(|field_reader| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 63 | let (utime, field_reader) = field_reader.read_utime()?; [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 62 | let pr = pr.read_k(|field_reader: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nested.rs:65:56 [INFO] [stdout] | [INFO] [stdout] 65 | let (deg_celsius, field_reader) = field_reader.read_degCelsius()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sliceable_list.rs:169:63 [INFO] [stdout] | [INFO] [stdout] 169 | for (bytes_item_reader, storage_destination) in (&mut pr).zip(point_storage.iter_mut()) { [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sliceable_list.rs:170:50 [INFO] [stdout] | [INFO] [stdout] 170 | *storage_destination = bytes_item_reader.read()?; [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sliceable_list.rs:200:63 [INFO] [stdout] | [INFO] [stdout] 200 | for (bytes_item_reader, storage_destination) in (&mut pr).zip(point_storage.iter_mut()).take(3) [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sliceable_list.rs:202:50 [INFO] [stdout] | [INFO] [stdout] 202 | *storage_destination = bytes_item_reader.read()?; [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-lcm-codec` (test "nested") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-lcm-codec` (test "primitives") due to 9 previous errors [INFO] [stdout] error[E0463]: can't find crate for `generated` [INFO] [stdout] --> tests/single_dimension_list.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate generated; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/single_dimension_list.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | item_writer.write(*val)?; [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/single_dimension_list.rs:30:55 [INFO] [stdout] | [INFO] [stdout] 30 | for (item_reader, point_destination) in (&mut pr).zip(point_storage.iter_mut()) { [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/single_dimension_list.rs:31:42 [INFO] [stdout] | [INFO] [stdout] 31 | *point_destination = item_reader.read()?; [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/single_dimension_list.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | item_writer.write(|struct_field_writer| { [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/single_dimension_list.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | item_writer.write(|struct_field_writer| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | let struct_field_writer = struct_field_writer.write_left(val.0)?; [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 51 | item_writer.write(|struct_field_writer: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/single_dimension_list.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | item_reader.read(|struct_field_reader| { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-lcm-codec` (test "sliceable_list") due to 16 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/single_dimension_list.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | item_reader.read(|struct_field_reader| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | let (left, struct_field_reader) = struct_field_reader.read_left()?; [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 69 | item_reader.read(|struct_field_reader: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/single_dimension_list.rs:72:68 [INFO] [stdout] | [INFO] [stdout] 72 | let (right, struct_field_reader) = struct_field_reader.read_right()?; [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/single_dimension_list.rs:79:87 [INFO] [stdout] | [INFO] [stdout] 79 | let _read_done: generated::single_dimension_list::struct_list_t_read_done<_> = pr.done()?; [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/single_dimension_list.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | item_writer.write(*dot)?; [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/single_dimension_list.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | item_writer.write(*dash)?; [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/single_dimension_list.rs:109:38 [INFO] [stdout] | [INFO] [stdout] 109 | let (found_ndashes, mut pr) = pr.read_ndashes()?; [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/single_dimension_list.rs:113:37 [INFO] [stdout] | [INFO] [stdout] 113 | found_dots.push(item_reader.read()?); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/single_dimension_list.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | let mut pr = pr.done()?; [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/single_dimension_list.rs:119:39 [INFO] [stdout] | [INFO] [stdout] 119 | found_dashes.push(item_reader.read()?); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-lcm-codec` (test "single_dimension_list") due to 16 previous errors [INFO] [stdout] error[E0463]: can't find crate for `generated` [INFO] [stdout] --> tests/nested_list.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate generated; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nested_list.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | item_writer.write(|segment_writer| { [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nested_list.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | item_writer.write(|segment_writer| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 45 | let mut sw = segment_writer.write_nsingles(segment.singles.len() as i32)?; [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 44 | item_writer.write(|segment_writer: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nested_list.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | singles_writer.write(*single)?; [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nested_list.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | pair_writer.write(|pw| { [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nested_list.rs:52:40 [INFO] [stdout] | [INFO] [stdout] 52 | pair_writer.write(|pw| { [INFO] [stdout] | ^^ [INFO] [stdout] 53 | let pw = pw.write_left(pair.0)?; [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 52 | pair_writer.write(|pw: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nested_list.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | let (_, mut pr) = pr.read_nsegments()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nested_list.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | item_reader.read(|segment_reader| { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nested_list.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | item_reader.read(|segment_reader| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 74 | let (_, mut segment_reader) = segment_reader.read_nsingles()?; [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 73 | item_reader.read(|segment_reader: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nested_list.rs:76:52 [INFO] [stdout] | [INFO] [stdout] 76 | segment.singles.push(single_reader.read()?); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nested_list.rs:78:58 [INFO] [stdout] | [INFO] [stdout] 78 | let (_, mut segment_reader) = segment_reader.done()?.read_npairs()?; [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nested_list.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | pair_reader.read(|pair_reader| { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nested_list.rs:82:35 [INFO] [stdout] | [INFO] [stdout] 82 | pair_reader.read(|pair_reader| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 83 | let (l, pair_reader) = pair_reader.read_left()?; [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 82 | pair_reader.read(|pair_reader: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nested_list.rs:85:56 [INFO] [stdout] | [INFO] [stdout] 85 | let (r, pair_reader) = pair_reader.read_right()?; [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nested_list.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 91 | Ok(segment_reader.done()?) [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-lcm-codec` (test "nested_list") due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "3da89b511553f6ab85121533b54c766a0095e67eb02741e9ce94623b996f6021", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3da89b511553f6ab85121533b54c766a0095e67eb02741e9ce94623b996f6021", kill_on_drop: false }` [INFO] [stdout] 3da89b511553f6ab85121533b54c766a0095e67eb02741e9ce94623b996f6021