[INFO] crate cute 0.3.0 is already in cache [INFO] testing cute-0.3.0 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate cute 0.3.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate cute 0.3.0 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate cute 0.3.0 [INFO] finished tweaking crates.io crate cute 0.3.0 [INFO] tweaked toml for crates.io crate cute 0.3.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5e3867c7d6d7c6fcb5f1a7fa1e7cae5a61b03a1f58616517d181371552b6f885 [INFO] running `"docker" "start" "-a" "5e3867c7d6d7c6fcb5f1a7fa1e7cae5a61b03a1f58616517d181371552b6f885"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling cute v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `"docker" "inspect" "5e3867c7d6d7c6fcb5f1a7fa1e7cae5a61b03a1f58616517d181371552b6f885"` [INFO] running `"docker" "rm" "-f" "5e3867c7d6d7c6fcb5f1a7fa1e7cae5a61b03a1f58616517d181371552b6f885"` [INFO] [stdout] 5e3867c7d6d7c6fcb5f1a7fa1e7cae5a61b03a1f58616517d181371552b6f885 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 948b6894dee17f98f8dbedc3161c4e0d30693fe7d4384954c9c72e2bcaf340bf [INFO] running `"docker" "start" "-a" "948b6894dee17f98f8dbedc3161c4e0d30693fe7d4384954c9c72e2bcaf340bf"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling cute v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `"docker" "inspect" "948b6894dee17f98f8dbedc3161c4e0d30693fe7d4384954c9c72e2bcaf340bf"` [INFO] running `"docker" "rm" "-f" "948b6894dee17f98f8dbedc3161c4e0d30693fe7d4384954c9c72e2bcaf340bf"` [INFO] [stdout] 948b6894dee17f98f8dbedc3161c4e0d30693fe7d4384954c9c72e2bcaf340bf [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d48eda25d512bb8a8ded75a0d294343b2f72be2fe3a0816dc4c3df46b7948e40 [INFO] running `"docker" "start" "-a" "d48eda25d512bb8a8ded75a0d294343b2f72be2fe3a0816dc4c3df46b7948e40"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/cute-3901815dc8f08be4 [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test tests::apply_user_defined_function ... ok [INFO] [stdout] test tests::conditional_hashmap_from_iter ... ok [INFO] [stdout] test tests::conditional_hashmap_from_range ... ok [INFO] [stdout] test tests::conditional_hashmap_tuple_comprehension ... ok [INFO] [stdout] test tests::hashmap_tuple_comprehension ... ok [INFO] [stdout] test tests::simple_comprehension ... ok [INFO] [stdout] test tests::filter_comprehension ... ok [INFO] [stdout] test tests::simple_nested_comprehension ... ok [INFO] [stdout] test tests::hashmap_comprehension_two ... ok [INFO] [stdout] test tests::hashmap_from_iter ... ok [INFO] [stdout] test tests::hashmap_from_range ... ok [INFO] [stdout] test tests::filter_nested_comprehension ... ok [INFO] [stdout] test tests::vector_to_iter_comprehension ... ok [INFO] [stdout] test tests::hashmap_comprehension ... ok [INFO] [stdout] test tests::filter_comprehension_two ... ok [INFO] [stdout] test tests::hashmap_comprehension_three ... ok [INFO] [stdout] test tests::apply_function_comprehension ... ok [INFO] [stderr] Doc-tests cute [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 83) ... FAILED [INFO] [stdout] test src/lib.rs - (line 95) ... FAILED [INFO] [stdout] test src/lib.rs - (line 8) ... FAILED [INFO] [stdout] test src/lib.rs - (line 35) ... FAILED [INFO] [stdout] test src/lib.rs - (line 49) ... FAILED [INFO] [stdout] test src/lib.rs - (line 69) ... 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 77) ... FAILED [INFO] [stdout] test src/lib.rs - (line 17) ... FAILED [INFO] [stdout] test src/lib.rs - (line 63) ... FAILED [INFO] [stdout] test src/lib.rs - (line 42) ... FAILED [INFO] [stdout] test src/lib.rs - (line 119) ... FAILED [INFO] [stdout] test src/lib.rs - (line 55) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] ---- 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] | [INFO] [stdout] help: consider importing one of these items [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 8) stdout ---- [INFO] [stdout] error: expected one of `!`, `,`, `.`, `::`, `;`, `?`, `]`, `{`, or an operator, found keyword `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 [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 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 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 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 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] | [INFO] [stdout] help: consider importing one of these items [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] | [INFO] [stdout] help: consider importing one of these items [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 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 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 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 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 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] | [INFO] [stdout] help: consider importing one of these items [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 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] [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" "d48eda25d512bb8a8ded75a0d294343b2f72be2fe3a0816dc4c3df46b7948e40"` [INFO] running `"docker" "rm" "-f" "d48eda25d512bb8a8ded75a0d294343b2f72be2fe3a0816dc4c3df46b7948e40"` [INFO] [stdout] d48eda25d512bb8a8ded75a0d294343b2f72be2fe3a0816dc4c3df46b7948e40