[INFO] fetching crate bloomfx 0.1.1... [INFO] checking bloomfx-0.1.1 against try#595142ec72045c7f2fab2923de8e59995a52e6e7 for pr-151830 [INFO] extracting crate bloomfx 0.1.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate bloomfx 0.1.1 [INFO] finished tweaking crates.io crate bloomfx 0.1.1 [INFO] tweaked toml for crates.io crate bloomfx 0.1.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bloomfx 0.1.1 on toolchain 595142ec72045c7f2fab2923de8e59995a52e6e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dea8e585a7c1db1bd218782e82e475ed7f370ba69a3c86d95f57515ca8976936 [INFO] running `Command { std: "docker" "start" "-a" "dea8e585a7c1db1bd218782e82e475ed7f370ba69a3c86d95f57515ca8976936", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dea8e585a7c1db1bd218782e82e475ed7f370ba69a3c86d95f57515ca8976936", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dea8e585a7c1db1bd218782e82e475ed7f370ba69a3c86d95f57515ca8976936", kill_on_drop: false }` [INFO] [stdout] dea8e585a7c1db1bd218782e82e475ed7f370ba69a3c86d95f57515ca8976936 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51f3ed67d87b406b08345680735618b86fbc8b08f84a977c0bb98caa37d9314a [INFO] running `Command { std: "docker" "start" "-a" "51f3ed67d87b406b08345680735618b86fbc8b08f84a977c0bb98caa37d9314a", kill_on_drop: false }` [INFO] [stderr] Checking bloomfx v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0214]: parenthesized type parameters may only be used with a `Fn` trait [INFO] [stdout] --> src/bloom.rs:128:46 [INFO] [stdout] | [INFO] [stdout] 128 | init.push($generator()); [INFO] [stdout] | ^ only `Fn` traits may use parentheses [INFO] [stdout] ... [INFO] [stdout] 155 | bloom_filter_types!(i32, 100, 2, || rand_int() as i32); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bloom_filter_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0214]: parenthesized type parameters may only be used with a `Fn` trait [INFO] [stdout] --> src/bloom.rs:128:46 [INFO] [stdout] | [INFO] [stdout] 128 | init.push($generator()); [INFO] [stdout] | ^ only `Fn` traits may use parentheses [INFO] [stdout] ... [INFO] [stdout] 156 | bloom_filter_types!(u32, 250, 2, || rand_int() as u32); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bloom_filter_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0214]: parenthesized type parameters may only be used with a `Fn` trait [INFO] [stdout] --> src/bloom.rs:128:46 [INFO] [stdout] | [INFO] [stdout] 128 | init.push($generator()); [INFO] [stdout] | ^ only `Fn` traits may use parentheses [INFO] [stdout] ... [INFO] [stdout] 157 | bloom_filter_types!(i64, 1000, 2, || rand_int() as i64); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bloom_filter_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0214]: parenthesized type parameters may only be used with a `Fn` trait [INFO] [stdout] --> src/bloom.rs:128:46 [INFO] [stdout] | [INFO] [stdout] 128 | init.push($generator()); [INFO] [stdout] | ^ only `Fn` traits may use parentheses [INFO] [stdout] ... [INFO] [stdout] 158 | bloom_filter_types!(u64, 30, 2, || rand_int() as u64); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bloom_filter_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bloom.rs:135:38 [INFO] [stdout] | [INFO] [stdout] 128 | init.push($generator()); [INFO] [stdout] | - the found closure [INFO] [stdout] ... [INFO] [stdout] 135 | bloom.insert(i.clone()); [INFO] [stdout] | ------ ^^^^^^^^^ expected `i32`, found closure [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 155 | bloom_filter_types!(i32, 100, 2, || rand_int() as i32); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found closure `{closure@src/bloom.rs:128:46: 128:47}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/bloom.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn insert(&mut self, key: K) { [INFO] [stdout] | ^^^^^^ ------ [INFO] [stdout] = note: this error originates in the macro `bloom_filter_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use parentheses to call this closure [INFO] [stdout] | [INFO] [stdout] 135 | bloom.insert((i.clone())()); [INFO] [stdout] | + +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bloom.rs:136:45 [INFO] [stdout] | [INFO] [stdout] 128 | init.push($generator()); [INFO] [stdout] | - the found closure [INFO] [stdout] ... [INFO] [stdout] 136 | assert!(bloom.check(i)); [INFO] [stdout] | ----- ^ expected `i32`, found closure [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 155 | bloom_filter_types!(i32, 100, 2, || rand_int() as i32); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found closure `{closure@src/bloom.rs:128:46: 128:47}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/bloom.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn check(&self, key: K) -> bool { [INFO] [stdout] | ^^^^^ ------ [INFO] [stdout] = note: this error originates in the macro `bloom_filter_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use parentheses to call this closure [INFO] [stdout] | [INFO] [stdout] 136 | assert!(bloom.check(i())); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bloom.rs:135:38 [INFO] [stdout] | [INFO] [stdout] 128 | init.push($generator()); [INFO] [stdout] | - the found closure [INFO] [stdout] ... [INFO] [stdout] 135 | bloom.insert(i.clone()); [INFO] [stdout] | ------ ^^^^^^^^^ expected `u32`, found closure [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 156 | bloom_filter_types!(u32, 250, 2, || rand_int() as u32); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `u32` [INFO] [stdout] found closure `{closure@src/bloom.rs:128:46: 128:47}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/bloom.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn insert(&mut self, key: K) { [INFO] [stdout] | ^^^^^^ ------ [INFO] [stdout] = note: this error originates in the macro `bloom_filter_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use parentheses to call this closure [INFO] [stdout] | [INFO] [stdout] 135 | bloom.insert((i.clone())()); [INFO] [stdout] | + +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bloom.rs:136:45 [INFO] [stdout] | [INFO] [stdout] 128 | init.push($generator()); [INFO] [stdout] | - the found closure [INFO] [stdout] ... [INFO] [stdout] 136 | assert!(bloom.check(i)); [INFO] [stdout] | ----- ^ expected `u32`, found closure [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 156 | bloom_filter_types!(u32, 250, 2, || rand_int() as u32); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `u32` [INFO] [stdout] found closure `{closure@src/bloom.rs:128:46: 128:47}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/bloom.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn check(&self, key: K) -> bool { [INFO] [stdout] | ^^^^^ ------ [INFO] [stdout] = note: this error originates in the macro `bloom_filter_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use parentheses to call this closure [INFO] [stdout] | [INFO] [stdout] 136 | assert!(bloom.check(i())); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bloom.rs:135:38 [INFO] [stdout] | [INFO] [stdout] 128 | init.push($generator()); [INFO] [stdout] | - the found closure [INFO] [stdout] ... [INFO] [stdout] 135 | bloom.insert(i.clone()); [INFO] [stdout] | ------ ^^^^^^^^^ expected `i64`, found closure [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 157 | bloom_filter_types!(i64, 1000, 2, || rand_int() as i64); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `i64` [INFO] [stdout] found closure `{closure@src/bloom.rs:128:46: 128:47}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/bloom.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn insert(&mut self, key: K) { [INFO] [stdout] | ^^^^^^ ------ [INFO] [stdout] = note: this error originates in the macro `bloom_filter_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use parentheses to call this closure [INFO] [stdout] | [INFO] [stdout] 135 | bloom.insert((i.clone())()); [INFO] [stdout] | + +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bloom.rs:136:45 [INFO] [stdout] | [INFO] [stdout] 128 | init.push($generator()); [INFO] [stdout] | - the found closure [INFO] [stdout] ... [INFO] [stdout] 136 | assert!(bloom.check(i)); [INFO] [stdout] | ----- ^ expected `i64`, found closure [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 157 | bloom_filter_types!(i64, 1000, 2, || rand_int() as i64); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `i64` [INFO] [stdout] found closure `{closure@src/bloom.rs:128:46: 128:47}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/bloom.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn check(&self, key: K) -> bool { [INFO] [stdout] | ^^^^^ ------ [INFO] [stdout] = note: this error originates in the macro `bloom_filter_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use parentheses to call this closure [INFO] [stdout] | [INFO] [stdout] 136 | assert!(bloom.check(i())); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bloom.rs:135:38 [INFO] [stdout] | [INFO] [stdout] 128 | init.push($generator()); [INFO] [stdout] | - the found closure [INFO] [stdout] ... [INFO] [stdout] 135 | bloom.insert(i.clone()); [INFO] [stdout] | ------ ^^^^^^^^^ expected `u64`, found closure [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 158 | bloom_filter_types!(u64, 30, 2, || rand_int() as u64); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `u64` [INFO] [stdout] found closure `{closure@src/bloom.rs:128:46: 128:47}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/bloom.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn insert(&mut self, key: K) { [INFO] [stdout] | ^^^^^^ ------ [INFO] [stdout] = note: this error originates in the macro `bloom_filter_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use parentheses to call this closure [INFO] [stdout] | [INFO] [stdout] 135 | bloom.insert((i.clone())()); [INFO] [stdout] | + +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bloom.rs:136:45 [INFO] [stdout] | [INFO] [stdout] 128 | init.push($generator()); [INFO] [stdout] | - the found closure [INFO] [stdout] ... [INFO] [stdout] 136 | assert!(bloom.check(i)); [INFO] [stdout] | ----- ^ expected `u64`, found closure [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 158 | bloom_filter_types!(u64, 30, 2, || rand_int() as u64); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `u64` [INFO] [stdout] found closure `{closure@src/bloom.rs:128:46: 128:47}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/bloom.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn check(&self, key: K) -> bool { [INFO] [stdout] | ^^^^^ ------ [INFO] [stdout] = note: this error originates in the macro `bloom_filter_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use parentheses to call this closure [INFO] [stdout] | [INFO] [stdout] 136 | assert!(bloom.check(i())); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0214, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0214`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bloomfx` (lib test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "51f3ed67d87b406b08345680735618b86fbc8b08f84a977c0bb98caa37d9314a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51f3ed67d87b406b08345680735618b86fbc8b08f84a977c0bb98caa37d9314a", kill_on_drop: false }` [INFO] [stdout] 51f3ed67d87b406b08345680735618b86fbc8b08f84a977c0bb98caa37d9314a