[INFO] fetching crate turbo-mpmc 0.1.0... [INFO] testing turbo-mpmc-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate turbo-mpmc 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate turbo-mpmc 0.1.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate turbo-mpmc 0.1.0 [INFO] tweaked toml for crates.io crate turbo-mpmc 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate turbo-mpmc 0.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate turbo-mpmc 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c93df9aacb9f4ed28414f69daf478e49ef9721f03640763a54edd8ead5cb1f6 [INFO] running `Command { std: "docker" "start" "-a" "4c93df9aacb9f4ed28414f69daf478e49ef9721f03640763a54edd8ead5cb1f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c93df9aacb9f4ed28414f69daf478e49ef9721f03640763a54edd8ead5cb1f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c93df9aacb9f4ed28414f69daf478e49ef9721f03640763a54edd8ead5cb1f6", kill_on_drop: false }` [INFO] [stdout] 4c93df9aacb9f4ed28414f69daf478e49ef9721f03640763a54edd8ead5cb1f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 505162c68803c26d1f882ccdc426d54a6bbd6eae5ca152373120b0d127657bbc [INFO] running `Command { std: "docker" "start" "-a" "505162c68803c26d1f882ccdc426d54a6bbd6eae5ca152373120b0d127657bbc", kill_on_drop: false }` [INFO] [stderr] Compiling turbo-mpmc v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "505162c68803c26d1f882ccdc426d54a6bbd6eae5ca152373120b0d127657bbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "505162c68803c26d1f882ccdc426d54a6bbd6eae5ca152373120b0d127657bbc", kill_on_drop: false }` [INFO] [stdout] 505162c68803c26d1f882ccdc426d54a6bbd6eae5ca152373120b0d127657bbc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4df991d67af1c8e0b2f3451846fb820fab14827517f4a757187aee012276159 [INFO] running `Command { std: "docker" "start" "-a" "b4df991d67af1c8e0b2f3451846fb820fab14827517f4a757187aee012276159", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling zerocopy v0.8.28 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling clap_builder v4.5.53 [INFO] [stderr] Compiling cc v1.2.47 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling generator v0.8.7 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling clap v4.5.53 [INFO] [stderr] Compiling zerocopy-derive v0.8.28 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling loom v0.7.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling turbo-mpmc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `is_err` found for unit type `()` in the current scope [INFO] [stdout] --> examples/simple.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | while producer_queue.send(message.clone()).is_err() { [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/simple.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 30 | match consumer_queue.recv() { [INFO] [stdout] | --------------------- this expression has type `String` [INFO] [stdout] 31 | Ok(message) => { [INFO] [stdout] | ^^^^^^^^^^^ expected `String`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `String` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/simple.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 30 | match consumer_queue.recv() { [INFO] [stdout] | --------------------- this expression has type `String` [INFO] [stdout] ... [INFO] [stdout] 35 | Err(_) => { [INFO] [stdout] | ^^^^^^ expected `String`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `String` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `turbo-mpmc` (example "simple") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `is_err` found for unit type `()` in the current scope [INFO] [stdout] --> examples/quick_perf.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | while q_send.send(i).is_err() { [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_err` found for type `usize` in the current scope [INFO] [stdout] --> examples/quick_perf.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | while q_recv.recv().is_err() { [INFO] [stdout] | ^^^^^^ method not found in `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_err` found for unit type `()` in the current scope [INFO] [stdout] --> examples/quick_perf.rs:90:57 [INFO] [stdout] | [INFO] [stdout] 90 | while q.send(p * MSGS_PER_PRODUCER + i).is_err() { [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_err` found for type `usize` in the current scope [INFO] [stdout] --> examples/quick_perf.rs:100:28 [INFO] [stdout] | [INFO] [stdout] 100 | while q.recv().is_err() { [INFO] [stdout] | ^^^^^^ method not found in `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/lib.rs:812:9 [INFO] [stdout] | [INFO] [stdout] 812 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/lib.rs:813:9 [INFO] [stdout] | [INFO] [stdout] 813 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_err` found for unit type `()` in the current scope [INFO] [stdout] --> examples/quick_perf.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | while q.send(i).is_err() { [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_err` found for type `usize` in the current scope [INFO] [stdout] --> examples/quick_perf.rs:131:32 [INFO] [stdout] | [INFO] [stdout] 131 | while q.recv().is_err() { [INFO] [stdout] | ^^^^^^ method not found in `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_err` found for unit type `()` in the current scope [INFO] [stdout] --> examples/quick_perf.rs:156:57 [INFO] [stdout] | [INFO] [stdout] 156 | while q.send(p * MSGS_PER_PRODUCER + i).is_err() { [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_err` found for type `usize` in the current scope [INFO] [stdout] --> examples/quick_perf.rs:167:32 [INFO] [stdout] | [INFO] [stdout] 167 | while q.recv().is_err() { [INFO] [stdout] | ^^^^^^ method not found in `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_err` found for unit type `()` in the current scope [INFO] [stdout] --> examples/work_queue.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | while jobs_tx.send(job.clone()).is_err() { [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_err` found for unit type `()` in the current scope [INFO] [stdout] --> tests/integration_tests.rs:98:45 [INFO] [stdout] | [INFO] [stdout] 98 | while q.send(p * 10000 + i).is_err() { [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `turbo-mpmc` (example "quick_perf") due to 8 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration_tests.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 110 | match q.recv() { [INFO] [stdout] | -------- this expression has type `usize` [INFO] [stdout] 111 | Ok(val) => { [INFO] [stdout] | ^^^^^^^ expected `usize`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration_tests.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 110 | match q.recv() { [INFO] [stdout] | -------- this expression has type `usize` [INFO] [stdout] ... [INFO] [stdout] 115 | Err(_) => std::hint::spin_loop(), [INFO] [stdout] | ^^^^^^ expected `usize`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_err` found for unit type `()` in the current scope [INFO] [stdout] --> tests/integration_tests.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | while q.send(i).is_err() { [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration_tests.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 153 | match q.recv() { [INFO] [stdout] | -------- this expression has type `usize` [INFO] [stdout] 154 | Ok(_) => { [INFO] [stdout] | ^^^^^ expected `usize`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration_tests.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 153 | match q.recv() { [INFO] [stdout] | -------- this expression has type `usize` [INFO] [stdout] ... [INFO] [stdout] 157 | Err(_) => { [INFO] [stdout] | ^^^^^^ expected `usize`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/work_queue.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 36 | match jobs_rx.recv() { [INFO] [stdout] | -------------- this expression has type `String` [INFO] [stdout] 37 | Ok(job) => { [INFO] [stdout] | ^^^^^^^ expected `String`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `String` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/work_queue.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 36 | match jobs_rx.recv() { [INFO] [stdout] | -------------- this expression has type `String` [INFO] [stdout] ... [INFO] [stdout] 49 | Err(_) => { [INFO] [stdout] | ^^^^^^ expected `String`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `String` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_err` found for unit type `()` in the current scope [INFO] [stdout] --> tests/integration_tests.rs:192:45 [INFO] [stdout] | [INFO] [stdout] 192 | while q.send(p * 10000 + i).is_err() { [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration_tests.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 205 | match q.recv() { [INFO] [stdout] | -------- this expression has type `usize` [INFO] [stdout] 206 | Ok(_) => { [INFO] [stdout] | ^^^^^ expected `usize`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration_tests.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 205 | match q.recv() { [INFO] [stdout] | -------- this expression has type `usize` [INFO] [stdout] ... [INFO] [stdout] 209 | Err(_) => { [INFO] [stdout] | ^^^^^^ expected `usize`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> tests/integration_tests.rs:248:37 [INFO] [stdout] | [INFO] [stdout] 248 | queue.send(DropCounter).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_err` found for unit type `()` in the current scope [INFO] [stdout] --> tests/integration_tests.rs:263:30 [INFO] [stdout] | [INFO] [stdout] 263 | while q1.send(i).is_err() { [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_err` found for type `usize` in the current scope [INFO] [stdout] --> tests/integration_tests.rs:271:29 [INFO] [stdout] | [INFO] [stdout] 271 | while q2.recv().is_err() { [INFO] [stdout] | ^^^^^^ method not found in `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> tests/integration_tests.rs:286:23 [INFO] [stdout] | [INFO] [stdout] 286 | queue.send(i).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for type `i32` in the current scope [INFO] [stdout] --> tests/integration_tests.rs:287:33 [INFO] [stdout] | [INFO] [stdout] 287 | assert_eq!(queue.recv().unwrap(), i); [INFO] [stdout] | ^^^^^^ method not found in `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> tests/integration_tests.rs:297:41 [INFO] [stdout] | [INFO] [stdout] 297 | queue.send(round * 100 + i).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for type `usize` in the current scope [INFO] [stdout] --> tests/integration_tests.rs:300:37 [INFO] [stdout] | [INFO] [stdout] 300 | assert_eq!(queue.recv().unwrap(), round * 100 + i); [INFO] [stdout] | ^^^^^^ method not found in `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> tests/integration_tests.rs:321:37 [INFO] [stdout] | [INFO] [stdout] 321 | queue.send("first".to_string()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_err` found for unit type `()` in the current scope [INFO] [stdout] --> examples/work_queue.rs:43:63 [INFO] [stdout] | [INFO] [stdout] 43 | while results_tx.send(result.clone()).is_err() { [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> tests/integration_tests.rs:322:38 [INFO] [stdout] | [INFO] [stdout] 322 | queue.send("second".to_string()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration_tests.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 325 | match result { [INFO] [stdout] | ------ this expression has type `()` [INFO] [stdout] 326 | Err(SendError(value)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/work_queue.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 65 | match results_rx.recv() { [INFO] [stdout] | ----------------- this expression has type `String` [INFO] [stdout] 66 | Ok(result) => { [INFO] [stdout] | ^^^^^^^^^^ expected `String`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `String` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/work_queue.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 65 | match results_rx.recv() { [INFO] [stdout] | ----------------- this expression has type `String` [INFO] [stdout] ... [INFO] [stdout] 70 | Err(_) => { [INFO] [stdout] | ^^^^^^ expected `String`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `String` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `turbo-mpmc` (test "integration_tests") due to 19 previous errors [INFO] [stderr] error: could not compile `turbo-mpmc` (example "work_queue") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "b4df991d67af1c8e0b2f3451846fb820fab14827517f4a757187aee012276159", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4df991d67af1c8e0b2f3451846fb820fab14827517f4a757187aee012276159", kill_on_drop: false }` [INFO] [stdout] b4df991d67af1c8e0b2f3451846fb820fab14827517f4a757187aee012276159