[INFO] fetching crate batch_oper 1.1.1... [INFO] testing batch_oper-1.1.1 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] extracting crate batch_oper 1.1.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate batch_oper 1.1.1 on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate batch_oper 1.1.1 [INFO] finished tweaking crates.io crate batch_oper 1.1.1 [INFO] tweaked toml for crates.io crate batch_oper 1.1.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=forbid" "-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" "+28742a1146f10a4f09369baad027a464acb7a766" "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] 75c5e9ee18cebd17285bc5a7811c6ec5c27ad84735a5b4cba267dd668131bc02 [INFO] running `"docker" "start" "-a" "75c5e9ee18cebd17285bc5a7811c6ec5c27ad84735a5b4cba267dd668131bc02"` [INFO] [stderr] Compiling batch_oper v1.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `"docker" "inspect" "75c5e9ee18cebd17285bc5a7811c6ec5c27ad84735a5b4cba267dd668131bc02"` [INFO] running `"docker" "rm" "-f" "75c5e9ee18cebd17285bc5a7811c6ec5c27ad84735a5b4cba267dd668131bc02"` [INFO] [stdout] 75c5e9ee18cebd17285bc5a7811c6ec5c27ad84735a5b4cba267dd668131bc02 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=forbid" "-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" "+28742a1146f10a4f09369baad027a464acb7a766" "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] 971d014d8db197ca837bd78d317fff99cca8d8c639a0af4353a92e2f40932794 [INFO] running `"docker" "start" "-a" "971d014d8db197ca837bd78d317fff99cca8d8c639a0af4353a92e2f40932794"` [INFO] [stderr] Compiling batch_oper v1.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `"docker" "inspect" "971d014d8db197ca837bd78d317fff99cca8d8c639a0af4353a92e2f40932794"` [INFO] running `"docker" "rm" "-f" "971d014d8db197ca837bd78d317fff99cca8d8c639a0af4353a92e2f40932794"` [INFO] [stdout] 971d014d8db197ca837bd78d317fff99cca8d8c639a0af4353a92e2f40932794 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=forbid" "-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" "+28742a1146f10a4f09369baad027a464acb7a766" "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] 5968785f4f3ed98d55eb3d63fc3679b1a1d1b3c57fae253c32aa08d48039545c [INFO] running `"docker" "start" "-a" "5968785f4f3ed98d55eb3d63fc3679b1a1d1b3c57fae253c32aa08d48039545c"` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/batch_oper-3ab2d5f79fb498d1 [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::test_match ... ok [INFO] [stdout] test tests::test_using ... ok [INFO] [stdout] test tests::test_in ... ok [INFO] [stdout] test tests::test_let ... ok [INFO] [stdout] test tests::test_fn ... ok [INFO] [stdout] test tests::it_works ... ok [INFO] [stderr] Doc-tests batch_oper [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 54 tests [INFO] [stdout] test src/lib.rs - (line 112) ... FAILED [INFO] [stdout] test src/lib.rs - (line 26) ... FAILED [INFO] [stdout] test src/lib.rs - (line 160) ... FAILED [INFO] [stdout] test src/lib.rs - (line 170) ... FAILED [INFO] [stdout] test src/lib.rs - (line 130) ... FAILED [INFO] [stdout] test src/lib.rs - (line 148) ... FAILED [INFO] [stdout] test src/lib.rs - (line 16) ... FAILED [INFO] [stdout] test src/lib.rs - (line 175) ... FAILED [INFO] [stdout] test src/lib.rs - (line 139) ... FAILED [INFO] [stdout] test src/lib.rs - (line 36) ... FAILED [INFO] [stdout] test src/lib.rs - (line 165) ... FAILED [INFO] [stdout] test src/lib.rs - (line 121) ... FAILED [INFO] [stdout] test src/lib.rs - (line 11) ... FAILED [INFO] [stdout] test src/lib.rs - (line 50) ... FAILED [INFO] [stdout] test src/lib.rs - (line 62) ... FAILED [INFO] [stdout] test src/lib.rs - (line 89) ... FAILED [INFO] [stdout] test src/lib.rs - (line 180) ... FAILED [INFO] [stdout] test src/lib.rs - bop (line 194) ... FAILED [INFO] [stdout] test src/lib.rs - (line 6) ... FAILED [INFO] [stdout] test src/lib.rs - (line 21) ... FAILED [INFO] [stdout] test src/lib.rs - (line 98) ... FAILED [INFO] [stdout] test src/lib.rs - bop (line 204) ... FAILED [INFO] [stdout] test src/lib.rs - bop (line 214) ... FAILED [INFO] [stdout] test src/lib.rs - bop (line 224) ... FAILED [INFO] [stdout] test src/lib.rs - (line 154) ... ok [INFO] [stdout] test src/lib.rs - bop (line 238) ... FAILED [INFO] [stdout] test src/lib.rs - (line 31) ... FAILED [INFO] [stdout] test src/lib.rs - bop (line 250) ... FAILED [INFO] [stdout] test src/lib.rs - bop (line 219) ... FAILED [INFO] [stdout] test src/lib.rs - bop (line 318) ... FAILED [INFO] [stdout] test src/lib.rs - bop (line 209) ... FAILED [INFO] [stdout] test src/lib.rs - bop (line 199) ... FAILED [INFO] [stdout] test src/lib.rs - bop (line 309) ... FAILED [INFO] [stdout] test src/lib.rs - bop (line 336) ... FAILED [INFO] [stdout] test src/lib.rs - bop (line 327) ... FAILED [INFO] [stdout] test src/lib.rs - (line 189) ... ok [INFO] [stdout] test src/lib.rs - bop (line 277) ... FAILED [INFO] [stdout] test src/lib.rs - bop (line 286) ... FAILED [INFO] [stdout] test src/lib.rs - bop (line 300) ... FAILED [INFO] [stdout] test src/lib.rs - (line 74) ... ok [INFO] [stdout] test src/lib.rs - (line 55) ... ok [INFO] [stdout] test src/lib.rs - bop (line 348) ... FAILED [INFO] [stdout] test src/lib.rs - bop (line 358) ... FAILED [INFO] [stdout] test src/lib.rs - bop (line 353) ... FAILED [INFO] [stdout] test src/lib.rs - bop (line 363) ... FAILED [INFO] [stdout] test src/lib.rs - (line 42) ... ok [INFO] [stdout] test src/lib.rs - using (line 390) ... FAILED [INFO] [stdout] test src/lib.rs - effect (line 418) ... FAILED [INFO] [stdout] test src/lib.rs - using (line 430) ... FAILED [INFO] [stdout] test src/lib.rs - bop (line 230) ... ok [INFO] [stdout] test src/lib.rs - bop (line 262) ... ok [INFO] [stdout] test src/lib.rs - bop (line 243) ... ok [INFO] [stdout] test src/lib.rs - bop (line 342) ... ok [INFO] [stdout] test src/lib.rs - using (line 398) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 112) stdout ---- [INFO] [stdout] error: cannot find macro `bop` in this scope [INFO] [stdout] --> src/lib.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 3 | let _: i32 = bop!(!loop match && Some(va) = a, Some(vb) = b => { [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 26) stdout ---- [INFO] [stdout] error: cannot find macro `bop` in this scope [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 3 | bop!(|| a; == 1;!, == 2); [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 160) stdout ---- [INFO] [stdout] error: cannot find macro `bop` in this scope [INFO] [stdout] --> src/lib.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 3 | let c = bop!(&1, &2 => in || r); [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 170) stdout ---- [INFO] [stdout] error: cannot find macro `bop` in this scope [INFO] [stdout] --> src/lib.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 3 | let c = bop!(has; &1, &2 => in && r); [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 130) stdout ---- [INFO] [stdout] error: cannot find macro `bop` in this scope [INFO] [stdout] --> src/lib.rs:131:15 [INFO] [stdout] | [INFO] [stdout] 3 | let _: bool = bop!(!loop bool match && Some(va) = a, Some(vb) = b => { [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 148) stdout ---- [INFO] [stdout] error: cannot find macro `bop` in this scope [INFO] [stdout] --> src/lib.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 4 | let c = bop!(&1, &2 => in && r); [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 16) stdout ---- [INFO] [stdout] error: cannot find macro `bop` in this scope [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 3 | bop!(&& 4; == 2, > 3); [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 175) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `r` in this scope [INFO] [stdout] --> src/lib.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 3 | let c = r.has(&1) && r.has(&2); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `r` in this scope [INFO] [stdout] --> src/lib.rs:176:22 [INFO] [stdout] | [INFO] [stdout] 3 | let c = r.has(&1) && r.has(&2); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 139) stdout ---- [INFO] [stdout] error: expected `;`, found ``}`` [INFO] [stdout] --> src/lib.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 7 | } else { { 2 }; false } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 8 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/lib.rs:140:33 [INFO] [stdout] | [INFO] [stdout] 3 | let _: bool = if let Some(va) = a { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `b` in this scope [INFO] [stdout] --> src/lib.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 4 | if let Some(vb) = b { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 36) stdout ---- [INFO] [stdout] error: cannot find macro `bop` in this scope [INFO] [stdout] --> src/lib.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 4 | bop!(= a; + 1, - 2;!, * 3); [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 165) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `r` in this scope [INFO] [stdout] --> src/lib.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 3 | let c = r.contains(&1) || r.contains(&2); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `r` in this scope [INFO] [stdout] --> src/lib.rs:166:27 [INFO] [stdout] | [INFO] [stdout] 3 | let c = r.contains(&1) || r.contains(&2); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 121) stdout ---- [INFO] [stdout] error: expected `;`, found ``}`` [INFO] [stdout] --> src/lib.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 7 | } else { { 2 } } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 8 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/lib.rs:122:32 [INFO] [stdout] | [INFO] [stdout] 3 | let _: i32 = if let Some(va) = a { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `b` in this scope [INFO] [stdout] --> src/lib.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 4 | if let Some(vb) = b { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 11) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] 3 | 4 == 2 || 4 > 3 [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `()`, found `bool` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 50) stdout ---- [INFO] [stdout] error: cannot find macro `bop` in this scope [INFO] [stdout] --> src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 3 | bop! { let a|u8 = 1, mut b = 2 } [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 62) stdout ---- [INFO] [stdout] error: cannot find macro `bop` in this scope [INFO] [stdout] --> src/lib.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 6 | let _: i32 = bop!(match && Some(va) = a, Some(vb) = b => { [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 89) stdout ---- [INFO] [stdout] error: cannot find macro `bop` in this scope [INFO] [stdout] --> src/lib.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 3 | let _: bool = bop!(bool match && Some(va) = a, Some(vb) = b => { [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 180) stdout ---- [INFO] [stdout] error: cannot find macro `using` in this scope [INFO] [stdout] --> src/lib.rs:183:1 [INFO] [stdout] | [INFO] [stdout] 5 | using!((a, b) = v, (c, d) = v2; { [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 - bop (line 194) stdout ---- [INFO] [stdout] error: cannot find macro `bop` in this scope [INFO] [stdout] --> src/lib.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 3 | bop!(|| 4; == 2, > 3); [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 6) stdout ---- [INFO] [stdout] error: cannot find macro `bop` in this scope [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 3 | bop!(|| 4; == 2, > 3); [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 21) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] 3 | 4 == 2 && 4 > 3 [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `()`, found `bool` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 98) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/lib.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 4 | if let Some(va) = a { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `b` in this scope [INFO] [stdout] --> src/lib.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 5 | if let Some(vb) = b { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - bop (line 204) stdout ---- [INFO] [stdout] error: cannot find macro `bop` in this scope [INFO] [stdout] --> src/lib.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 3 | bop!(&& 4; == 2, > 3); [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 - bop (line 214) stdout ---- [INFO] [stdout] error: cannot find macro `bop` in this scope [INFO] [stdout] --> src/lib.rs:215:1 [INFO] [stdout] | [INFO] [stdout] 3 | bop!(|| a; == 1;!, == 2); [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 - bop (line 224) stdout ---- [INFO] [stdout] error: cannot find macro `bop` in this scope [INFO] [stdout] --> src/lib.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 4 | bop!(= a; + 1, - 2;!, * 3); [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 - bop (line 238) stdout ---- [INFO] [stdout] error: cannot find macro `bop` in this scope [INFO] [stdout] --> src/lib.rs:239:1 [INFO] [stdout] | [INFO] [stdout] 3 | bop! { let a|u8 = 1, mut b = 2 } [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 31) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/lib.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 3 | 1 == a || a == 2 [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/lib.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 3 | 1 == a || a == 2 [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] 3 | 1 == a || a == 2 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `()`, found `bool` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - bop (line 250) stdout ---- [INFO] [stdout] error: cannot find macro `bop` in this scope [INFO] [stdout] --> src/lib.rs:254:14 [INFO] [stdout] | [INFO] [stdout] 6 | let _: i32 = bop!(match && Some(va) = a, Some(vb) = b => { [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 - bop (line 219) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/lib.rs:220:6 [INFO] [stdout] | [INFO] [stdout] 3 | 1 == a || a == 2 [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/lib.rs:220:11 [INFO] [stdout] | [INFO] [stdout] 3 | 1 == a || a == 2 [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] 3 | 1 == a || a == 2 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `()`, found `bool` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - bop (line 318) stdout ---- [INFO] [stdout] error: cannot find macro `bop` in this scope [INFO] [stdout] --> src/lib.rs:319:15 [INFO] [stdout] | [INFO] [stdout] 3 | let _: bool = bop!(!loop bool match && Some(va) = a, Some(vb) = b => { [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 - bop (line 209) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] 3 | 4 == 2 && 4 > 3 [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `()`, found `bool` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - bop (line 199) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] 3 | 4 == 2 || 4 > 3 [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `()`, found `bool` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - bop (line 309) stdout ---- [INFO] [stdout] error: expected `;`, found ``}`` [INFO] [stdout] --> src/lib.rs:314:18 [INFO] [stdout] | [INFO] [stdout] 7 | } else { { 2 } } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 8 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/lib.rs:310:32 [INFO] [stdout] | [INFO] [stdout] 3 | let _: i32 = if let Some(va) = a { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `b` in this scope [INFO] [stdout] --> src/lib.rs:311:23 [INFO] [stdout] | [INFO] [stdout] 4 | if let Some(vb) = b { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - bop (line 336) stdout ---- [INFO] [stdout] error: cannot find macro `bop` in this scope [INFO] [stdout] --> src/lib.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 4 | let c = bop!(&1, &2 => in && r); [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 - bop (line 327) stdout ---- [INFO] [stdout] error: expected `;`, found ``}`` [INFO] [stdout] --> src/lib.rs:332:25 [INFO] [stdout] | [INFO] [stdout] 7 | } else { { 2 }; false } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 8 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/lib.rs:328:33 [INFO] [stdout] | [INFO] [stdout] 3 | let _: bool = if let Some(va) = a { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `b` in this scope [INFO] [stdout] --> src/lib.rs:329:23 [INFO] [stdout] | [INFO] [stdout] 4 | if let Some(vb) = b { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - bop (line 277) stdout ---- [INFO] [stdout] error: cannot find macro `bop` in this scope [INFO] [stdout] --> src/lib.rs:278:15 [INFO] [stdout] | [INFO] [stdout] 3 | let _: bool = bop!(bool match && Some(va) = a, Some(vb) = b => { [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 - bop (line 286) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/lib.rs:288:23 [INFO] [stdout] | [INFO] [stdout] 4 | if let Some(va) = a { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `b` in this scope [INFO] [stdout] --> src/lib.rs:289:27 [INFO] [stdout] | [INFO] [stdout] 5 | if let Some(vb) = b { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - bop (line 300) stdout ---- [INFO] [stdout] error: cannot find macro `bop` in this scope [INFO] [stdout] --> src/lib.rs:301:14 [INFO] [stdout] | [INFO] [stdout] 3 | let _: i32 = bop!(!loop match && Some(va) = a, Some(vb) = b => { [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 - bop (line 348) stdout ---- [INFO] [stdout] error: cannot find macro `bop` in this scope [INFO] [stdout] --> src/lib.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 3 | let c = bop!(&1, &2 => in || r); [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 - bop (line 358) stdout ---- [INFO] [stdout] error: cannot find macro `bop` in this scope [INFO] [stdout] --> src/lib.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 3 | let c = bop!(has; &1, &2 => in && r); [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 - bop (line 353) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `r` in this scope [INFO] [stdout] --> src/lib.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 3 | let c = r.contains(&1) || r.contains(&2); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `r` in this scope [INFO] [stdout] --> src/lib.rs:354:27 [INFO] [stdout] | [INFO] [stdout] 3 | let c = r.contains(&1) || r.contains(&2); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - bop (line 363) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `r` in this scope [INFO] [stdout] --> src/lib.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 3 | let c = r.has(&1) && r.has(&2); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `r` in this scope [INFO] [stdout] --> src/lib.rs:364:22 [INFO] [stdout] | [INFO] [stdout] 3 | let c = r.has(&1) && r.has(&2); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - using (line 390) stdout ---- [INFO] [stdout] error: cannot find macro `using` in this scope [INFO] [stdout] --> src/lib.rs:393:1 [INFO] [stdout] | [INFO] [stdout] 5 | using!((a, b) = v, (c, d) = v2; { [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 - effect (line 418) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `effect` in this scope [INFO] [stdout] --> src/lib.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 4 | let v = effect(v, |v| { assert_eq!(*v, 1) }); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use batch_oper::effect; [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - using (line 430) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `using` in this scope [INFO] [stdout] --> src/lib.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 4 | let mut v = using(v, |v| { v + 1 }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use batch_oper::using; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `using` in this scope [INFO] [stdout] --> src/lib.rs:434:1 [INFO] [stdout] | [INFO] [stdout] 6 | using(&mut v, |v| { *v = 3 }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use batch_oper::using; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 11) [INFO] [stdout] src/lib.rs - (line 112) [INFO] [stdout] src/lib.rs - (line 121) [INFO] [stdout] src/lib.rs - (line 130) [INFO] [stdout] src/lib.rs - (line 139) [INFO] [stdout] src/lib.rs - (line 148) [INFO] [stdout] src/lib.rs - (line 16) [INFO] [stdout] src/lib.rs - (line 160) [INFO] [stdout] src/lib.rs - (line 165) [INFO] [stdout] src/lib.rs - (line 170) [INFO] [stdout] src/lib.rs - (line 175) [INFO] [stdout] src/lib.rs - (line 180) [INFO] [stdout] src/lib.rs - (line 21) [INFO] [stdout] src/lib.rs - (line 26) [INFO] [stdout] src/lib.rs - (line 31) [INFO] [stdout] src/lib.rs - (line 36) [INFO] [stdout] src/lib.rs - (line 50) [INFO] [stdout] src/lib.rs - (line 6) [INFO] [stdout] src/lib.rs - (line 62) [INFO] [stdout] src/lib.rs - (line 89) [INFO] [stdout] src/lib.rs - (line 98) [INFO] [stdout] src/lib.rs - bop (line 194) [INFO] [stdout] src/lib.rs - bop (line 199) [INFO] [stdout] src/lib.rs - bop (line 204) [INFO] [stdout] src/lib.rs - bop (line 209) [INFO] [stdout] src/lib.rs - bop (line 214) [INFO] [stdout] src/lib.rs - bop (line 219) [INFO] [stdout] src/lib.rs - bop (line 224) [INFO] [stdout] src/lib.rs - bop (line 238) [INFO] [stdout] src/lib.rs - bop (line 250) [INFO] [stdout] src/lib.rs - bop (line 277) [INFO] [stdout] src/lib.rs - bop (line 286) [INFO] [stdout] src/lib.rs - bop (line 300) [INFO] [stdout] src/lib.rs - bop (line 309) [INFO] [stdout] src/lib.rs - bop (line 318) [INFO] [stdout] src/lib.rs - bop (line 327) [INFO] [stdout] src/lib.rs - bop (line 336) [INFO] [stdout] src/lib.rs - bop (line 348) [INFO] [stdout] src/lib.rs - bop (line 353) [INFO] [stdout] src/lib.rs - bop (line 358) [INFO] [stdout] src/lib.rs - bop (line 363) [INFO] [stdout] src/lib.rs - effect (line 418) [INFO] [stdout] src/lib.rs - using (line 390) [INFO] [stdout] src/lib.rs - using (line 430) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 10 passed; 44 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "5968785f4f3ed98d55eb3d63fc3679b1a1d1b3c57fae253c32aa08d48039545c"` [INFO] running `"docker" "rm" "-f" "5968785f4f3ed98d55eb3d63fc3679b1a1d1b3c57fae253c32aa08d48039545c"` [INFO] [stdout] 5968785f4f3ed98d55eb3d63fc3679b1a1d1b3c57fae253c32aa08d48039545c