[INFO] crate cute 0.3.0 is already in cache [INFO] extracting crate cute 0.3.0 into work/ex/beta-1.38-1/sources/1.37.0/reg/cute/0.3.0 [INFO] extracting crate cute 0.3.0 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/cute/0.3.0 [INFO] validating manifest of cute-0.3.0 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of cute-0.3.0 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing cute-0.3.0 [INFO] finished frobbing cute-0.3.0 [INFO] frobbed toml for cute-0.3.0 written to work/ex/beta-1.38-1/sources/1.37.0/reg/cute/0.3.0/Cargo.toml [INFO] started frobbing cute-0.3.0 [INFO] finished frobbing cute-0.3.0 [INFO] frobbed toml for cute-0.3.0 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/cute/0.3.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing cute-0.3.0 against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/cute/0.3.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] b253e1b1176cb8a336557e18812a924fcbf3b651be88b1b772dd1eb7b3ee4f82 [INFO] running `"docker" "start" "-a" "b253e1b1176cb8a336557e18812a924fcbf3b651be88b1b772dd1eb7b3ee4f82"` [INFO] [stderr] Compiling cute v0.3.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `"docker" "inspect" "b253e1b1176cb8a336557e18812a924fcbf3b651be88b1b772dd1eb7b3ee4f82"` [INFO] running `"docker" "rm" "-f" "b253e1b1176cb8a336557e18812a924fcbf3b651be88b1b772dd1eb7b3ee4f82"` [INFO] [stdout] b253e1b1176cb8a336557e18812a924fcbf3b651be88b1b772dd1eb7b3ee4f82 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/cute/0.3.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 962cd7efe457ce17c936c311489621298e75d16fb4e8d2d97da49268d0daf574 [INFO] running `"docker" "start" "-a" "962cd7efe457ce17c936c311489621298e75d16fb4e8d2d97da49268d0daf574"` [INFO] [stderr] Compiling cute v0.3.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.22s [INFO] running `"docker" "inspect" "962cd7efe457ce17c936c311489621298e75d16fb4e8d2d97da49268d0daf574"` [INFO] running `"docker" "rm" "-f" "962cd7efe457ce17c936c311489621298e75d16fb4e8d2d97da49268d0daf574"` [INFO] [stdout] 962cd7efe457ce17c936c311489621298e75d16fb4e8d2d97da49268d0daf574 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/cute/0.3.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen"` [INFO] [stdout] bf1298df0584144f9a18075725bfa059b442929423e345cc16fe6dda4bd1f6a4 [INFO] running `"docker" "start" "-a" "bf1298df0584144f9a18075725bfa059b442929423e345cc16fe6dda4bd1f6a4"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running /opt/crater/target/debug/deps/cute-09c193e199780260 [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test tests::filter_nested_comprehension ... ok [INFO] [stdout] test tests::filter_comprehension_two ... ok [INFO] [stdout] test tests::conditional_hashmap_from_range ... ok [INFO] [stdout] test tests::conditional_hashmap_from_iter ... ok [INFO] [stdout] test tests::apply_user_defined_function ... ok [INFO] [stdout] test tests::hashmap_comprehension_three ... ok [INFO] [stdout] test tests::hashmap_comprehension_two ... ok [INFO] [stdout] test tests::apply_function_comprehension ... ok [INFO] [stdout] test tests::hashmap_from_iter ... ok [INFO] [stdout] test tests::hashmap_from_range ... ok [INFO] [stdout] test tests::hashmap_tuple_comprehension ... ok [INFO] [stdout] test tests::simple_comprehension ... ok [INFO] [stdout] test tests::simple_nested_comprehension ... ok [INFO] [stdout] test tests::vector_to_iter_comprehension ... ok [INFO] [stdout] test tests::hashmap_comprehension ... ok [INFO] [stderr] Doc-tests cute [INFO] [stdout] test tests::conditional_hashmap_tuple_comprehension ... ok [INFO] [stdout] test tests::filter_comprehension ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/lib.rs - (line 35) ... FAILED [INFO] [stdout] test src/lib.rs - (line 131) ... FAILED [INFO] [stdout] test src/lib.rs - (line 107) ... FAILED [INFO] [stdout] test src/lib.rs - (line 119) ... FAILED [INFO] [stdout] test src/lib.rs - (line 49) ... FAILED [INFO] [stdout] test src/lib.rs - (line 55) ... FAILED [INFO] [stdout] test src/lib.rs - (line 8) ... FAILED [INFO] [stdout] test src/lib.rs - (line 42) ... FAILED [INFO] [stdout] test src/lib.rs - (line 17) ... FAILED [INFO] [stdout] test src/lib.rs - (line 95) ... FAILED [INFO] [stdout] test src/lib.rs - (line 63) ... FAILED [INFO] [stdout] test src/lib.rs - (line 69) ... FAILED [INFO] [stdout] test src/lib.rs - (line 77) ... FAILED [INFO] [stdout] test src/lib.rs - (line 83) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 35) stdout ---- [INFO] [stdout] error: cannot find macro `c!` in this scope [INFO] [stdout] --> src/lib.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 4 | let v_squared = c![x*x, for x in v]; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 131) stdout ---- [INFO] [stdout] error: cannot find macro `c!` in this scope [INFO] [stdout] --> src/lib.rs:133:11 [INFO] [stdout] | [INFO] [stdout] 4 | let map = c! {*key => key*key, for key in vec![1,2].iter(), if *key % 2 == 0}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `HashMap` [INFO] [stdout] --> src/lib.rs:134:32 [INFO] [stdout] | [INFO] [stdout] 5 | let mut e: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `HashMap` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/lib.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 5 | let mut e: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::hash_map::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 107) stdout ---- [INFO] [stdout] error: cannot find macro `c!` in this scope [INFO] [stdout] --> src/lib.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 4 | let map = c!{key => val, for (key, val) in v}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `HashMap` [INFO] [stdout] --> src/lib.rs:111:40 [INFO] [stdout] | [INFO] [stdout] 6 | let mut expected: HashMap<&str, i32> = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `HashMap` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/lib.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 6 | let mut expected: HashMap<&str, i32> = HashMap::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::hash_map::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 119) stdout ---- [INFO] [stdout] error: cannot find macro `c!` in this scope [INFO] [stdout] --> src/lib.rs:122:11 [INFO] [stdout] | [INFO] [stdout] 5 | let map = c! {key => val, for (key, val) in v, if val == 1 || val == 2}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `HashMap` [INFO] [stdout] --> src/lib.rs:124:40 [INFO] [stdout] | [INFO] [stdout] 7 | let mut expected: HashMap<&str, i32> = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `HashMap` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/lib.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 7 | let mut expected: HashMap<&str, i32> = HashMap::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::hash_map::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 49) stdout ---- [INFO] [stdout] error: cannot find macro `c!` in this scope [INFO] [stdout] --> src/lib.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 4 | let flat: Vec = c![x, for x in y, for y in nested]; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 55) stdout ---- [INFO] [stdout] error: cannot find macro `c!` in this scope [INFO] [stdout] --> src/lib.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 4 | let even_flat: Vec = c![x, for x in y, for y in nested, if x % 2 == 0]; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 8) stdout ---- [INFO] [stdout] error: expected one of `!`, `,`, `.`, `::`, `;`, `?`, `]`, `{`, or an operator, found `for` [INFO] [stdout] --> src/lib.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 3 | squares = [x*x for x in range(10)] [INFO] [stdout] | ^^^ expected one of 9 possible tokens here [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 42) stdout ---- [INFO] [stdout] error: cannot find macro `c!` in this scope [INFO] [stdout] --> src/lib.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 3 | let squares = c![x*x, for x in 0..10, if x % 2 == 0]; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 17) stdout ---- [INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root [INFO] [stdout] --> src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate cute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0468`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 95) stdout ---- [INFO] [stdout] error: cannot find macro `c!` in this scope [INFO] [stdout] --> src/lib.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 4 | let map = c!{key => key.to_uppercase(), for key in v}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `HashMap` [INFO] [stdout] --> src/lib.rs:99:43 [INFO] [stdout] | [INFO] [stdout] 6 | let mut expected: HashMap<&str, String> = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `HashMap` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/lib.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 6 | let mut expected: HashMap<&str, String> = HashMap::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::hash_map::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 63) stdout ---- [INFO] [stdout] error: cannot find macro `c!` in this scope [INFO] [stdout] --> src/lib.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 4 | let output: Vec = c![x*2, for x in vec.iter()]; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 69) stdout ---- [INFO] [stdout] error: cannot find macro `c!` in this scope [INFO] [stdout] --> src/lib.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 4 | let output: Vec = c![x, for x in vec.iter(), if *x >= 0i32]; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 77) stdout ---- [INFO] [stdout] error: cannot find macro `c!` in this scope [INFO] [stdout] --> src/lib.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 4 | let output: Vec = c![x.abs(), for x in vec.iter()]; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 83) stdout ---- [INFO] [stdout] error: cannot find macro `c!` in this scope [INFO] [stdout] --> src/lib.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 8 | let squares: Vec = c![square(x), for x in vec]; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 107) [INFO] [stdout] src/lib.rs - (line 119) [INFO] [stdout] src/lib.rs - (line 131) [INFO] [stdout] src/lib.rs - (line 17) [INFO] [stdout] src/lib.rs - (line 35) [INFO] [stdout] src/lib.rs - (line 42) [INFO] [stdout] src/lib.rs - (line 49) [INFO] [stdout] src/lib.rs - (line 55) [INFO] [stdout] src/lib.rs - (line 63) [INFO] [stdout] src/lib.rs - (line 69) [INFO] [stdout] src/lib.rs - (line 77) [INFO] [stdout] src/lib.rs - (line 8) [INFO] [stdout] src/lib.rs - (line 83) [INFO] [stdout] src/lib.rs - (line 95) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "bf1298df0584144f9a18075725bfa059b442929423e345cc16fe6dda4bd1f6a4"` [INFO] running `"docker" "rm" "-f" "bf1298df0584144f9a18075725bfa059b442929423e345cc16fe6dda4bd1f6a4"` [INFO] [stdout] bf1298df0584144f9a18075725bfa059b442929423e345cc16fe6dda4bd1f6a4