[INFO] fetching crate rust-iteratorcomprehensions 0.3.4... [INFO] checking rust-iteratorcomprehensions-0.3.4 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate rust-iteratorcomprehensions 0.3.4 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate rust-iteratorcomprehensions 0.3.4 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d880e66e8f41d12d5e2c36bd6e9189de4c61f6db0577e8eeebcee8f63db9051a [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" "d880e66e8f41d12d5e2c36bd6e9189de4c61f6db0577e8eeebcee8f63db9051a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d880e66e8f41d12d5e2c36bd6e9189de4c61f6db0577e8eeebcee8f63db9051a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d880e66e8f41d12d5e2c36bd6e9189de4c61f6db0577e8eeebcee8f63db9051a", kill_on_drop: false }` [INFO] [stdout] d880e66e8f41d12d5e2c36bd6e9189de4c61f6db0577e8eeebcee8f63db9051a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2aeb679953453035fc2371a9274ba3c179791a15b872a1e8313fec2c790a363 [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" "f2aeb679953453035fc2371a9274ba3c179791a15b872a1e8313fec2c790a363", kill_on_drop: false }` [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: `$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: `$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: `$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: `$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: `$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: `$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: `$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: 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[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: `$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[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 230 | fn iterator1_test() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [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] [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[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 236 | fn iterator1_map_test() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [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] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 242 | fn iterator1_filter_test() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [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] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 248 | fn iterator1_filter_map_test() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [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] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 254 | fn iterator2_map_test() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [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] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 260 | fn iterator2_filter_map_test() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 261 | let xs: Vec = iterator!( [INFO] [stdout] | ^^^ not found in this scope [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] 268 | fn iterator2_example_test() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 269 | let xs: Vec<(int,int)> = iterator!( [INFO] [stdout] | ^^^ not found in this scope [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] 268 | fn iterator2_example_test() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 269 | let xs: Vec<(int,int)> = iterator!( [INFO] [stdout] | ^^^ not found in this scope [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] 276 | fn iterator3_map_test() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 280 | let xs: Vec = iterator!( [INFO] [stdout] | ^^^ not found in this scope [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] 287 | fn iterator3_filter_map_test() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 288 | let xs: Vec<(int, int, int)> = iterator!( [INFO] [stdout] | ^^^ not found in this scope [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] 287 | fn iterator3_filter_map_test() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 288 | let xs: Vec<(int, int, int)> = iterator!( [INFO] [stdout] | ^^^ not found in this scope [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] 287 | fn iterator3_filter_map_test() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 288 | let xs: Vec<(int, int, int)> = iterator!( [INFO] [stdout] | ^^^ not found in this scope [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] 296 | fn iterator3_empty_test() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 297 | let xs: Vec = iterator!( [INFO] [stdout] | ^^^ not found in this scope [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] 320 | fn pythagorean_triples_test() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [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] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:331:24 [INFO] [stdout] | [INFO] [stdout] 320 | fn pythagorean_triples_test() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [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] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:331:30 [INFO] [stdout] | [INFO] [stdout] 320 | fn pythagorean_triples_test() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [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] [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: `$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: `$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: `$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: `$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: `$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: `$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: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-iteratorcomprehensions` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: build failed [INFO] running `Command { std: "docker" "inspect" "f2aeb679953453035fc2371a9274ba3c179791a15b872a1e8313fec2c790a363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2aeb679953453035fc2371a9274ba3c179791a15b872a1e8313fec2c790a363", kill_on_drop: false }` [INFO] [stdout] f2aeb679953453035fc2371a9274ba3c179791a15b872a1e8313fec2c790a363