[INFO] fetching crate rust-iteratorcomprehensions 0.3.4... [INFO] checking rust-iteratorcomprehensions-0.3.4 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate rust-iteratorcomprehensions 0.3.4 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate rust-iteratorcomprehensions 0.3.4 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rust-iteratorcomprehensions 0.3.4 [INFO] finished tweaking crates.io crate rust-iteratorcomprehensions 0.3.4 [INFO] tweaked toml for crates.io crate rust-iteratorcomprehensions 0.3.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4cb7cbb836c120537c1d2fac6b493c3f466bb7cd9c94027af093f421c70e9961 [INFO] running `Command { std: "docker" "start" "-a" "4cb7cbb836c120537c1d2fac6b493c3f466bb7cd9c94027af093f421c70e9961", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4cb7cbb836c120537c1d2fac6b493c3f466bb7cd9c94027af093f421c70e9961", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cb7cbb836c120537c1d2fac6b493c3f466bb7cd9c94027af093f421c70e9961", kill_on_drop: false }` [INFO] [stdout] 4cb7cbb836c120537c1d2fac6b493c3f466bb7cd9c94027af093f421c70e9961 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0f5c1c6fcced704a6a1a8919992f88c46c997e6a166dd7a7454b1dd76f88f3c [INFO] running `Command { std: "docker" "start" "-a" "e0f5c1c6fcced704a6a1a8919992f88c46c997e6a166dd7a7454b1dd76f88f3c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking rust-iteratorcomprehensions v0.3.4 (/opt/rustwide/workdir) [INFO] [stdout] error: `$map:expr` is followed by `for`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | for $var:ident in $gen:expr [INFO] [stdout] | ^^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$map:expr` is followed by `for`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | for $var:ident in $gen:expr [INFO] [stdout] | ^^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$gen:expr` may be followed by `for`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | for $vars:ident in $gens:expr [INFO] [stdout] | ^^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$gen:expr` may be followed by `for`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | for $vars:ident in $gens:expr [INFO] [stdout] | ^^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$gens:expr` may be followed by `if`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | $(if $filters:expr)* [INFO] [stdout] | ^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$gens:expr` may be followed by `if`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | $(if $filters:expr)* [INFO] [stdout] | ^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$map:expr` is followed by `for`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | for $var:ident in $gen:expr [INFO] [stdout] | ^^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$map:expr` is followed by `for`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | for $var:ident in $gen:expr [INFO] [stdout] | ^^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$gen:expr` is followed by `if`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | if $filter:expr [INFO] [stdout] | ^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$gen:expr` is followed by `if`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | if $filter:expr [INFO] [stdout] | ^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$filter:expr` may be followed by `for`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | for $vars:ident in $gens:expr [INFO] [stdout] | ^^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$filter:expr` may be followed by `for`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | for $vars:ident in $gens:expr [INFO] [stdout] | ^^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$gens:expr` may be followed by `if`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | $(if $filters:expr)* [INFO] [stdout] | ^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$map:expr` is followed by `for`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | for $var:ident in $gen:expr [INFO] [stdout] | ^^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$gens:expr` may be followed by `if`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | $(if $filters:expr)* [INFO] [stdout] | ^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$gen:expr` may be followed by `for`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | for $vars:ident in $gens:expr [INFO] [stdout] | ^^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$map:expr` is followed by `for`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | for $var:ident in $gen:expr [INFO] [stdout] | ^^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$gens:expr` may be followed by `if`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | $(if $filters:expr)* [INFO] [stdout] | ^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$gen:expr` may be followed by `for`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | for $vars:ident in $gens:expr [INFO] [stdout] | ^^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$map:expr` is followed by `for`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | for $var:ident in $gen:expr [INFO] [stdout] | ^^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$gens:expr` may be followed by `if`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | $(if $filters:expr)* [INFO] [stdout] | ^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$map:expr` is followed by `for`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | for $var:ident in $gen:expr [INFO] [stdout] | ^^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$gen:expr` is followed by `if`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | if $filter:expr [INFO] [stdout] | ^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$gen:expr` is followed by `if`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | if $filter:expr [INFO] [stdout] | ^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$filter:expr` may be followed by `for`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | for $vars:ident in $gens:expr [INFO] [stdout] | ^^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$filter:expr` may be followed by `for`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | for $vars:ident in $gens:expr [INFO] [stdout] | ^^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$gens:expr` may be followed by `if`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | $(if $filters:expr)* [INFO] [stdout] | ^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$gens:expr` may be followed by `if`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | $(if $filters:expr)* [INFO] [stdout] | ^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$map:expr` is followed by `for`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | for $vars:ident in $gens:expr [INFO] [stdout] | ^^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$map:expr` is followed by `for`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | for $vars:ident in $gens:expr [INFO] [stdout] | ^^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$gens:expr` is followed by `if`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:209:11 [INFO] [stdout] | [INFO] [stdout] 209 | $(if $filters:expr)* [INFO] [stdout] | ^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$gens:expr` is followed by `if`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/lib.rs:209:11 [INFO] [stdout] | [INFO] [stdout] 209 | $(if $filters:expr)* [INFO] [stdout] | ^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-iteratorcomprehensions` (lib) due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `std::iter::count` [INFO] [stdout] --> src/lib.rs:322:11 [INFO] [stdout] | [INFO] [stdout] 322 | use std::iter::count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `count` in `iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | let xs: Vec = iterator!( i for i in range(0i, 3i) ).collect(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: perhaps you intended to use this type [INFO] [stdout] | [INFO] [stdout] 231 | let xs: Vec = iterator!( i for i in range(0i, 3i) ).collect(); [INFO] [stdout] | ~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 230 | fn iterator1_test() { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | let xs: Vec = iterator!( i + 1 for i in range(0i, 3i) ).collect(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: perhaps you intended to use this type [INFO] [stdout] | [INFO] [stdout] 237 | let xs: Vec = iterator!( i + 1 for i in range(0i, 3i) ).collect(); [INFO] [stdout] | ~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 236 | fn iterator1_map_test() { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | let xs: Vec = iterator!( i for i in range(0i, 3i) if i % 2 == 1 ).collect(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: perhaps you intended to use this type [INFO] [stdout] | [INFO] [stdout] 243 | let xs: Vec = iterator!( i for i in range(0i, 3i) if i % 2 == 1 ).collect(); [INFO] [stdout] | ~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 242 | fn iterator1_filter_test() { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | let xs: Vec = iterator!( i * 2 for i in range(0i, 3i) if i % 2 == 1 ).collect(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: perhaps you intended to use this type [INFO] [stdout] | [INFO] [stdout] 249 | let xs: Vec = iterator!( i * 2 for i in range(0i, 3i) if i % 2 == 1 ).collect(); [INFO] [stdout] | ~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 248 | fn iterator1_filter_map_test() { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | let xs: Vec = iterator!( i * j for i in range(1i, 3i) for j in range(2i, 4i) ).collect(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: perhaps you intended to use this type [INFO] [stdout] | [INFO] [stdout] 255 | let xs: Vec = iterator!( i * j for i in range(1i, 3i) for j in range(2i, 4i) ).collect(); [INFO] [stdout] | ~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 254 | fn iterator2_map_test() { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | let xs: Vec = iterator!( [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: perhaps you intended to use this type [INFO] [stdout] | [INFO] [stdout] 261 | let xs: Vec = iterator!( [INFO] [stdout] | ~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 260 | fn iterator2_filter_map_test() { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:269:18 [INFO] [stdout] | [INFO] [stdout] 269 | let xs: Vec<(int,int)> = iterator!( [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: perhaps you intended to use this type [INFO] [stdout] | [INFO] [stdout] 269 | let xs: Vec<(i32,int)> = iterator!( [INFO] [stdout] | ~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 268 | fn iterator2_example_test() { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 269 | let xs: Vec<(int,int)> = iterator!( [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: perhaps you intended to use this type [INFO] [stdout] | [INFO] [stdout] 269 | let xs: Vec<(int,i32)> = iterator!( [INFO] [stdout] | ~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 268 | fn iterator2_example_test() { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:280:17 [INFO] [stdout] | [INFO] [stdout] 280 | let xs: Vec = iterator!( [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: perhaps you intended to use this type [INFO] [stdout] | [INFO] [stdout] 280 | let xs: Vec = iterator!( [INFO] [stdout] | ~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 276 | fn iterator3_map_test() { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:288:18 [INFO] [stdout] | [INFO] [stdout] 288 | let xs: Vec<(int, int, int)> = iterator!( [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: perhaps you intended to use this type [INFO] [stdout] | [INFO] [stdout] 288 | let xs: Vec<(i32, int, int)> = iterator!( [INFO] [stdout] | ~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 287 | fn iterator3_filter_map_test() { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:288:23 [INFO] [stdout] | [INFO] [stdout] 288 | let xs: Vec<(int, int, int)> = iterator!( [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: perhaps you intended to use this type [INFO] [stdout] | [INFO] [stdout] 288 | let xs: Vec<(int, i32, int)> = iterator!( [INFO] [stdout] | ~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 287 | fn iterator3_filter_map_test() { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:288:28 [INFO] [stdout] | [INFO] [stdout] 288 | let xs: Vec<(int, int, int)> = iterator!( [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: perhaps you intended to use this type [INFO] [stdout] | [INFO] [stdout] 288 | let xs: Vec<(int, int, i32)> = iterator!( [INFO] [stdout] | ~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 287 | fn iterator3_filter_map_test() { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | let xs: Vec = iterator!( [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: perhaps you intended to use this type [INFO] [stdout] | [INFO] [stdout] 297 | let xs: Vec = iterator!( [INFO] [stdout] | ~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 296 | fn iterator3_empty_test() { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:331:18 [INFO] [stdout] | [INFO] [stdout] 331 | let xs: Vec<(uint, uint, uint)> = triples.take(3).collect(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 320 | fn pythagorean_triples_test() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:331:24 [INFO] [stdout] | [INFO] [stdout] 331 | let xs: Vec<(uint, uint, uint)> = triples.take(3).collect(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 320 | fn pythagorean_triples_test() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:331:30 [INFO] [stdout] | [INFO] [stdout] 331 | let xs: Vec<(uint, uint, uint)> = triples.take(3).collect(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 320 | fn pythagorean_triples_test() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/lib.rs:277:18 [INFO] [stdout] | [INFO] [stdout] 277 | let a = vec!(1i, 2i); [INFO] [stdout] | ^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/lib.rs:277:22 [INFO] [stdout] | [INFO] [stdout] 277 | let a = vec!(1i, 2i); [INFO] [stdout] | ^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/lib.rs:278:18 [INFO] [stdout] | [INFO] [stdout] 278 | let b = vec!(3i, 5i); [INFO] [stdout] | ^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/lib.rs:278:22 [INFO] [stdout] | [INFO] [stdout] 278 | let b = vec!(3i, 5i); [INFO] [stdout] | ^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/lib.rs:279:18 [INFO] [stdout] | [INFO] [stdout] 279 | let c = vec!(7i, 11i); [INFO] [stdout] | ^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/lib.rs:279:22 [INFO] [stdout] | [INFO] [stdout] 279 | let c = vec!(7i, 11i); [INFO] [stdout] | ^^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/lib.rs:333:26 [INFO] [stdout] | [INFO] [stdout] 333 | assert_eq!(xs, vec!((3u, 4u, 5u), (6, 8, 10), (5, 12, 13))); [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/lib.rs:333:30 [INFO] [stdout] | [INFO] [stdout] 333 | assert_eq!(xs, vec!((3u, 4u, 5u), (6, 8, 10), (5, 12, 13))); [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/lib.rs:333:34 [INFO] [stdout] | [INFO] [stdout] 333 | assert_eq!(xs, vec!((3u, 4u, 5u), (6, 8, 10), (5, 12, 13))); [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 42 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-iteratorcomprehensions` (lib test) due to 43 previous errors [INFO] running `Command { std: "docker" "inspect" "e0f5c1c6fcced704a6a1a8919992f88c46c997e6a166dd7a7454b1dd76f88f3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0f5c1c6fcced704a6a1a8919992f88c46c997e6a166dd7a7454b1dd76f88f3c", kill_on_drop: false }` [INFO] [stdout] e0f5c1c6fcced704a6a1a8919992f88c46c997e6a166dd7a7454b1dd76f88f3c