[INFO] cloning repository https://github.com/duanjp8617/ringbuf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/duanjp8617/ringbuf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduanjp8617%2Fringbuf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduanjp8617%2Fringbuf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7da9bf2d7e1cb9f50d21d5540098fcfcd288897f [INFO] testing duanjp8617/ringbuf against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduanjp8617%2Fringbuf" "/workspace/builds/worker-76/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-76/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/duanjp8617/ringbuf on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/duanjp8617/ringbuf [INFO] finished tweaking git repo https://github.com/duanjp8617/ringbuf [INFO] tweaked toml for git repo https://github.com/duanjp8617/ringbuf written to /workspace/builds/worker-76/source/Cargo.toml [INFO] crate git repo https://github.com/duanjp8617/ringbuf already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24f071d6bda64e3bb4a3e446ee094c9c661b118301fbf883b6bbb53b7fc737a9 [INFO] running `Command { std: "docker" "start" "-a" "24f071d6bda64e3bb4a3e446ee094c9c661b118301fbf883b6bbb53b7fc737a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24f071d6bda64e3bb4a3e446ee094c9c661b118301fbf883b6bbb53b7fc737a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24f071d6bda64e3bb4a3e446ee094c9c661b118301fbf883b6bbb53b7fc737a9", kill_on_drop: false }` [INFO] [stdout] 24f071d6bda64e3bb4a3e446ee094c9c661b118301fbf883b6bbb53b7fc737a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 714a7c3fdf3ea1bceee7ca3fab49fb1751caabe5c950e802a7ac0fd057295ed9 [INFO] running `Command { std: "docker" "start" "-a" "714a7c3fdf3ea1bceee7ca3fab49fb1751caabe5c950e802a7ac0fd057295ed9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ringbuf v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.28s [INFO] running `Command { std: "docker" "inspect" "714a7c3fdf3ea1bceee7ca3fab49fb1751caabe5c950e802a7ac0fd057295ed9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "714a7c3fdf3ea1bceee7ca3fab49fb1751caabe5c950e802a7ac0fd057295ed9", kill_on_drop: false }` [INFO] [stdout] 714a7c3fdf3ea1bceee7ca3fab49fb1751caabe5c950e802a7ac0fd057295ed9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1607b56c6709929394f2b4002ed00be14afae291989b14b2d5552abe15e54de [INFO] running `Command { std: "docker" "start" "-a" "a1607b56c6709929394f2b4002ed00be14afae291989b14b2d5552abe15e54de", kill_on_drop: false }` [INFO] [stderr] Compiling ringbuf v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.48s [INFO] running `Command { std: "docker" "inspect" "a1607b56c6709929394f2b4002ed00be14afae291989b14b2d5552abe15e54de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1607b56c6709929394f2b4002ed00be14afae291989b14b2d5552abe15e54de", kill_on_drop: false }` [INFO] [stdout] a1607b56c6709929394f2b4002ed00be14afae291989b14b2d5552abe15e54de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3aa5424519758d8df4c253193f1a56f9d1038e646d0a649a0b2ad02bef3989fb [INFO] running `Command { std: "docker" "start" "-a" "3aa5424519758d8df4c253193f1a56f9d1038e646d0a649a0b2ad02bef3989fb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ringbuf-c48700d188619a75) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test tests::cache_aligned ... ok [INFO] [stdout] test tests::capacity ... ok [INFO] [stdout] test tests::batched_small_queue ... ok [INFO] [stdout] test tests::zero_sized_batch ... ok [INFO] [stdout] test tests::drop ... ok [INFO] [stdout] test tests::super_large_capacity - should panic ... ok [INFO] [stdout] test tests::capacity_of_one - should panic ... ok [INFO] [stdout] test tests::batched_two_threads ... ok [INFO] [stdout] test tests::zero_sized_object ... ok [INFO] [stdout] test tests::two_threads ... ok [INFO] [stdout] test tests::send_around ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 7.53s [INFO] [stdout] [INFO] [stderr] Doc-tests ringbuf [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - SyncRingBuf::try_send (line 127) ... FAILED [INFO] [stdout] test src/lib.rs - SyncRingBuf::try_recv (line 244) ... FAILED [INFO] [stdout] test src/lib.rs - Sender (line 373) ... FAILED [INFO] [stdout] test src/lib.rs - SyncRingBuf (line 80) ... FAILED [INFO] [stdout] test src/lib.rs - SyncRingBuf (line 40) ... FAILED [INFO] [stdout] test src/lib.rs - Receiver (line 454) ... FAILED [INFO] [stdout] test src/lib.rs - SyncRingBuf::send_batch (line 187) ... FAILED [INFO] [stdout] test src/lib.rs - SyncRingBuf (line 29) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - SyncRingBuf::try_send (line 127) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SyncRingBuf` [INFO] [stdout] --> src/lib.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 3 | use SyncRingBuf::lib::SyncRingBuf; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SyncRingBuf` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SyncRingBuf` [INFO] [stdout] --> src/lib.rs:130:11 [INFO] [stdout] | [INFO] [stdout] 5 | let srb = SyncRingBuf::with_capacity_at_least(2); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SyncRingBuf` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - SyncRingBuf::try_recv (line 244) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SyncRingBuf` [INFO] [stdout] --> src/lib.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 3 | use SyncRingBuf::lib::SyncRingBuf; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SyncRingBuf` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SyncRingBuf` [INFO] [stdout] --> src/lib.rs:247:11 [INFO] [stdout] | [INFO] [stdout] 5 | let srb = SyncRingBuf::with_capacity_at_least(2); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SyncRingBuf` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Sender (line 373) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `SyncRingBuf` [INFO] [stdout] --> src/lib.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 3 | use SyncRingBuf::lib; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SyncRingBuf` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Vec` in this scope [INFO] [stdout] --> src/lib.rs:382:30 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(s.send_batch(&mut Vec!(2, 3)), 0); [INFO] [stdout] | ^^^ help: a macro with a similar name exists (notice the capitalization): `vec` [INFO] [stdout] | [INFO] [stdout] = note: `Vec` is in scope, but it is a struct, not a macro [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Vec` in this scope [INFO] [stdout] --> src/lib.rs:379:30 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(s.send_batch(&mut Vec!(2, 3)), 2); [INFO] [stdout] | ^^^ help: a macro with a similar name exists (notice the capitalization): `vec` [INFO] [stdout] | [INFO] [stdout] = note: `Vec` is in scope, but it is a struct, not a macro [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - SyncRingBuf (line 80) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SyncRingBuf` [INFO] [stdout] --> src/lib.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 3 | use SyncRingBuf::lib::SyncRingBuf; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SyncRingBuf` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SyncRingBuf` [INFO] [stdout] --> src/lib.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 4 | let srb = SyncRingBuf::with_capacity_at_least(2); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SyncRingBuf` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SyncRingBuf` [INFO] [stdout] --> src/lib.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 6 | let srb = SyncRingBuf::with_capacity_at_least(7); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SyncRingBuf` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SyncRingBuf` [INFO] [stdout] --> src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 8 | let srb = SyncRingBuf::with_capacity_at_least(16); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SyncRingBuf` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - SyncRingBuf (line 40) stdout ---- [INFO] [stdout] error: unknown start of token: \u{ff01} [INFO] [stdout] --> src/lib.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 6 | let data_send = Vec!(1, 2, 3).as_ptr(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '!' (Fullwidth Exclamation Mark) looks like '!' (Exclamation Mark), but it is not [INFO] [stdout] | [INFO] [stdout] 6 | let data_send = Vec!(1, 2, 3).as_ptr(); [INFO] [stdout] | ~ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SyncRingBuf` [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 3 | use SyncRingBuf::lib::SyncRingBuf; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SyncRingBuf` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Vec` in this scope [INFO] [stdout] --> src/lib.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 6 | let data_send = Vec!(1, 2, 3).as_ptr(); [INFO] [stdout] | ^^^ help: a macro with a similar name exists (notice the capitalization): `vec` [INFO] [stdout] | [INFO] [stdout] = note: `Vec` is in scope, but it is a struct, not a macro [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Vec` in this scope [INFO] [stdout] --> src/lib.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(data_recv, Vec!(1, 2, 3).as_mut_ptr()); [INFO] [stdout] | ^^^ help: a macro with a similar name exists (notice the capitalization): `vec` [INFO] [stdout] | [INFO] [stdout] = note: `Vec` is in scope, but it is a struct, not a macro [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SyncRingBuf` [INFO] [stdout] --> src/lib.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 5 | let srb = SyncRingBuf::with_capacity_at_least(10); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SyncRingBuf` [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lib.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 7 | let data_recv = Vec::with_capacity().as_mut_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Receiver (line 454) stdout ---- [INFO] [stdout] error: mismatched closing delimiter: `}` [INFO] [stdout] --> src/lib.rs:463:11 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_454_0() { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] ... [INFO] [stdout] 11 | assert_eq!(r.recv_batch(&mut batch, 0); [INFO] [stdout] | ^ unclosed delimiter [INFO] [stdout] 12 | } _doctest_main_src_lib_rs_454_0() } [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `;` [INFO] [stdout] --> src/lib.rs:461:39 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(r.recv_batch(&mut batch, 3); [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `SyncRingBuf` [INFO] [stdout] --> src/lib.rs:455:5 [INFO] [stdout] | [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] 3 | use SyncRingBuf::lib; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SyncRingBuf` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Vec` in this scope [INFO] [stdout] --> src/lib.rs:459:30 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(s.send_batch(&mut Vec!(1, 2, 3)), 0); [INFO] [stdout] | ^^^ help: a macro with a similar name exists (notice the capitalization): `vec` [INFO] [stdout] | [INFO] [stdout] = note: `Vec` is in scope, but it is a struct, not a macro [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - SyncRingBuf::send_batch (line 187) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SyncRingBuf` [INFO] [stdout] --> src/lib.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 3 | use SyncRingBuf::lib::SyncRingBuf; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SyncRingBuf` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Vec` in this scope [INFO] [stdout] --> src/lib.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 7 | let batch = Vec!(1, 2, 3, 4, 5).as_ptr(); [INFO] [stdout] | ^^^ help: a macro with a similar name exists (notice the capitalization): `vec` [INFO] [stdout] | [INFO] [stdout] = note: `Vec` is in scope, but it is a struct, not a macro [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SyncRingBuf` [INFO] [stdout] --> src/lib.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 5 | let srb_a = SyncRingBuf::with_capacity_at_least(2); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SyncRingBuf` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SyncRingBuf` [INFO] [stdout] --> src/lib.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 6 | let srb_b = SyncRingBuf::with_capacity_at_least(10); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SyncRingBuf` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - SyncRingBuf (line 29) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `SyncRingBuf` [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 3 | use SyncRingBuf::lib; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SyncRingBuf` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SyncRingBuf` [INFO] [stdout] --> src/lib.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 5 | let srb = SyncRingBuf::with_capacity_at_least(2); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SyncRingBuf` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Receiver (line 454) [INFO] [stdout] src/lib.rs - Sender (line 373) [INFO] [stdout] src/lib.rs - SyncRingBuf (line 29) [INFO] [stdout] src/lib.rs - SyncRingBuf (line 40) [INFO] [stdout] src/lib.rs - SyncRingBuf (line 80) [INFO] [stdout] src/lib.rs - SyncRingBuf::send_batch (line 187) [INFO] [stdout] src/lib.rs - SyncRingBuf::try_recv (line 244) [INFO] [stdout] src/lib.rs - SyncRingBuf::try_send (line 127) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.92s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3aa5424519758d8df4c253193f1a56f9d1038e646d0a649a0b2ad02bef3989fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3aa5424519758d8df4c253193f1a56f9d1038e646d0a649a0b2ad02bef3989fb", kill_on_drop: false }` [INFO] [stdout] 3aa5424519758d8df4c253193f1a56f9d1038e646d0a649a0b2ad02bef3989fb