[INFO] fetching crate microcrates-bytes 0.4.8... [INFO] checking microcrates-bytes-0.4.8 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] extracting crate microcrates-bytes 0.4.8 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate microcrates-bytes 0.4.8 on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate microcrates-bytes 0.4.8 [INFO] finished tweaking crates.io crate microcrates-bytes 0.4.8 [INFO] tweaked toml for crates.io crate microcrates-bytes 0.4.8 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b6b447ef1ecefcf3565649945341a02b9479594b8e8e1e18d1c0fedf47484072 [INFO] running `Command { std: "docker" "start" "-a" "b6b447ef1ecefcf3565649945341a02b9479594b8e8e1e18d1c0fedf47484072", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6b447ef1ecefcf3565649945341a02b9479594b8e8e1e18d1c0fedf47484072", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6b447ef1ecefcf3565649945341a02b9479594b8e8e1e18d1c0fedf47484072", kill_on_drop: false }` [INFO] [stdout] b6b447ef1ecefcf3565649945341a02b9479594b8e8e1e18d1c0fedf47484072 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7788f86f1bb7855ddfa72469cfd1909cf3bda1fe694b9772ee4aaabe4240dc5c [INFO] running `Command { std: "docker" "start" "-a" "7788f86f1bb7855ddfa72469cfd1909cf3bda1fe694b9772ee4aaabe4240dc5c", kill_on_drop: false }` [INFO] [stderr] Checking microcrates-bytes v0.4.8 (/opt/rustwide/workdir) [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debug.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | try!(write!(fmt, "b\"")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | #![deny(warnings, missing_docs, missing_debug_implementations)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debug.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | try!(write!(fmt, "\\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debug.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | try!(write!(fmt, "\\r")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debug.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | try!(write!(fmt, "\\t")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debug.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | try!(write!(fmt, "\\{}", c as char)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debug.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | try!(write!(fmt, "\\0")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debug.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | try!(write!(fmt, "{}", c as char)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debug.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | try!(write!(fmt, "\\x{:02x}", c)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debug.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | try!(write!(fmt, "\"")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `std`? [INFO] [stdout] --> src/buf/cursor.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^ maybe a missing crate `std`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/buf/cursor.rs:370:38 [INFO] [stdout] | [INFO] [stdout] 370 | let mut writer = Cursor::new(vec![0u8; 9].into_boxed_slice()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] alloc::vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/buf/cursor.rs:447:38 [INFO] [stdout] | [INFO] [stdout] 447 | let mut reader = Cursor::new(vec![0, 1, 2, 3, 4, 5, 6, 7]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] alloc::vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/buf/cursor.rs:469:38 [INFO] [stdout] | [INFO] [stdout] 469 | let mut reader = Cursor::new(vec![0, 1, 2, 3, 4, 5, 6, 7].into_boxed_slice()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] alloc::vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/buf/cursor.rs:491:38 [INFO] [stdout] | [INFO] [stdout] 491 | let mut reader = Cursor::new(vec![0, 1, 2, 3, 4, 5, 6, 7]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] alloc::vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/buf/cursor.rs:499:22 [INFO] [stdout] | [INFO] [stdout] 499 | let in_buf = vec![0, 1, 2, 3, 4, 5, 6, 7]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] alloc::vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/buf/cursor.rs:521:22 [INFO] [stdout] | [INFO] [stdout] 521 | let in_buf = vec![0, 1, 2, 3, 4, 5, 6, 7]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] alloc::vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/buf/cursor.rs:539:22 [INFO] [stdout] | [INFO] [stdout] 539 | let in_buf = vec![0, 1, 2, 3, 4, 5, 6, 7]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] alloc::vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/buf/cursor.rs:586:33 [INFO] [stdout] | [INFO] [stdout] 586 | let mut r = Cursor::new(vec![10]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] alloc::vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/buf/cursor.rs:595:33 [INFO] [stdout] | [INFO] [stdout] 595 | let mut r = Cursor::new(vec![10].into_boxed_slice()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] alloc::vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/buf/cursor.rs:611:33 [INFO] [stdout] | [INFO] [stdout] 611 | let mut r = Cursor::new(vec![10]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] alloc::vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/buf/cursor.rs:628:33 [INFO] [stdout] | [INFO] [stdout] 628 | let mut r = Cursor::new(vec![10].into_boxed_slice()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] alloc::vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/buf/cursor.rs:643:33 [INFO] [stdout] | [INFO] [stdout] 643 | let mut r = Cursor::new(vec![10]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] alloc::vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/buf/cursor.rs:650:33 [INFO] [stdout] | [INFO] [stdout] 650 | let mut r = Cursor::new(vec![10].into_boxed_slice()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] alloc::vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/bytes.rs:1550:40 [INFO] [stdout] | [INFO] [stdout] 1550 | let mut inner: Inner = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/bytes.rs:1736:40 [INFO] [stdout] | [INFO] [stdout] 1736 | let mut inner: Inner = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/bytes.rs:2012:36 [INFO] [stdout] | [INFO] [stdout] 2012 | let mut inner: Inner = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:416:36 [INFO] [stdout] | [INFO] [stdout] 416 | assert_eq!(writer.seek(SeekFrom::Start(2)).unwrap(), 2); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:421:36 [INFO] [stdout] | [INFO] [stdout] 421 | assert_eq!(writer.seek(SeekFrom::Current(-2)).unwrap(), 1); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:426:36 [INFO] [stdout] | [INFO] [stdout] 426 | assert_eq!(writer.seek(SeekFrom::End(-1)).unwrap(), 7); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:583:27 [INFO] [stdout] | [INFO] [stdout] 583 | assert_eq!(r.seek(SeekFrom::Start(10)).unwrap(), 10); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:587:27 [INFO] [stdout] | [INFO] [stdout] 587 | assert_eq!(r.seek(SeekFrom::Start(10)).unwrap(), 10); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:592:27 [INFO] [stdout] | [INFO] [stdout] 592 | assert_eq!(r.seek(SeekFrom::Start(10)).unwrap(), 10); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:596:27 [INFO] [stdout] | [INFO] [stdout] 596 | assert_eq!(r.seek(SeekFrom::Start(10)).unwrap(), 10); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:604:27 [INFO] [stdout] | [INFO] [stdout] 604 | assert_eq!(r.seek(SeekFrom::Start(6)).unwrap(), 6); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:605:27 [INFO] [stdout] | [INFO] [stdout] 605 | assert_eq!(r.seek(SeekFrom::Current(0x7ffffffffffffff0)).unwrap(), 0x7ffffffffffffff6); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:606:27 [INFO] [stdout] | [INFO] [stdout] 606 | assert_eq!(r.seek(SeekFrom::Current(0x10)).unwrap(), 0x8000000000000006); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:607:27 [INFO] [stdout] | [INFO] [stdout] 607 | assert_eq!(r.seek(SeekFrom::Current(0)).unwrap(), 0x8000000000000006); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:608:24 [INFO] [stdout] | [INFO] [stdout] 608 | assert!(r.seek(SeekFrom::Current(0x7ffffffffffffffd)).is_err()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:609:27 [INFO] [stdout] | [INFO] [stdout] 609 | assert_eq!(r.seek(SeekFrom::Current(-0x8000000000000000)).unwrap(), 6); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:612:27 [INFO] [stdout] | [INFO] [stdout] 612 | assert_eq!(r.seek(SeekFrom::Start(6)).unwrap(), 6); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:613:27 [INFO] [stdout] | [INFO] [stdout] 613 | assert_eq!(r.seek(SeekFrom::Current(0x7ffffffffffffff0)).unwrap(), 0x7ffffffffffffff6); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:614:27 [INFO] [stdout] | [INFO] [stdout] 614 | assert_eq!(r.seek(SeekFrom::Current(0x10)).unwrap(), 0x8000000000000006); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:615:27 [INFO] [stdout] | [INFO] [stdout] 615 | assert_eq!(r.seek(SeekFrom::Current(0)).unwrap(), 0x8000000000000006); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:616:24 [INFO] [stdout] | [INFO] [stdout] 616 | assert!(r.seek(SeekFrom::Current(0x7ffffffffffffffd)).is_err()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:617:27 [INFO] [stdout] | [INFO] [stdout] 617 | assert_eq!(r.seek(SeekFrom::Current(-0x8000000000000000)).unwrap(), 6); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:621:27 [INFO] [stdout] | [INFO] [stdout] 621 | assert_eq!(r.seek(SeekFrom::Start(6)).unwrap(), 6); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:622:27 [INFO] [stdout] | [INFO] [stdout] 622 | assert_eq!(r.seek(SeekFrom::Current(0x7ffffffffffffff0)).unwrap(), 0x7ffffffffffffff6); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:623:27 [INFO] [stdout] | [INFO] [stdout] 623 | assert_eq!(r.seek(SeekFrom::Current(0x10)).unwrap(), 0x8000000000000006); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:624:27 [INFO] [stdout] | [INFO] [stdout] 624 | assert_eq!(r.seek(SeekFrom::Current(0)).unwrap(), 0x8000000000000006); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:625:24 [INFO] [stdout] | [INFO] [stdout] 625 | assert!(r.seek(SeekFrom::Current(0x7ffffffffffffffd)).is_err()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:626:27 [INFO] [stdout] | [INFO] [stdout] 626 | assert_eq!(r.seek(SeekFrom::Current(-0x8000000000000000)).unwrap(), 6); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:629:27 [INFO] [stdout] | [INFO] [stdout] 629 | assert_eq!(r.seek(SeekFrom::Start(6)).unwrap(), 6); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:630:27 [INFO] [stdout] | [INFO] [stdout] 630 | assert_eq!(r.seek(SeekFrom::Current(0x7ffffffffffffff0)).unwrap(), 0x7ffffffffffffff6); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:631:27 [INFO] [stdout] | [INFO] [stdout] 631 | assert_eq!(r.seek(SeekFrom::Current(0x10)).unwrap(), 0x8000000000000006); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:632:27 [INFO] [stdout] | [INFO] [stdout] 632 | assert_eq!(r.seek(SeekFrom::Current(0)).unwrap(), 0x8000000000000006); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:633:24 [INFO] [stdout] | [INFO] [stdout] 633 | assert!(r.seek(SeekFrom::Current(0x7ffffffffffffffd)).is_err()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:634:27 [INFO] [stdout] | [INFO] [stdout] 634 | assert_eq!(r.seek(SeekFrom::Current(-0x8000000000000000)).unwrap(), 6); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:641:24 [INFO] [stdout] | [INFO] [stdout] 641 | assert!(r.seek(SeekFrom::End(-2)).is_err()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:644:24 [INFO] [stdout] | [INFO] [stdout] 644 | assert!(r.seek(SeekFrom::End(-2)).is_err()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:648:24 [INFO] [stdout] | [INFO] [stdout] 648 | assert!(r.seek(SeekFrom::End(-2)).is_err()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:651:24 [INFO] [stdout] | [INFO] [stdout] 651 | assert!(r.seek(SeekFrom::End(-2)).is_err()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:667:32 [INFO] [stdout] | [INFO] [stdout] 667 | assert_eq!(writer.seek(SeekFrom::Start(0)).unwrap(), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:673:32 [INFO] [stdout] | [INFO] [stdout] 673 | assert_eq!(writer.seek(SeekFrom::Current(1)).unwrap(), 3); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:678:32 [INFO] [stdout] | [INFO] [stdout] 678 | assert_eq!(writer.seek(SeekFrom::End(-1)).unwrap(), 7); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:683:32 [INFO] [stdout] | [INFO] [stdout] 683 | assert_eq!(writer.seek(SeekFrom::End(1)).unwrap(), 10); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:693:27 [INFO] [stdout] | [INFO] [stdout] 693 | assert_eq!(r.seek(SeekFrom::Start(10)).unwrap(), 10); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom` [INFO] [stdout] --> src/buf/cursor.rs:700:24 [INFO] [stdout] | [INFO] [stdout] 700 | assert!(r.seek(SeekFrom::End(-2)).is_err()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debug.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | try!(write!(fmt, "b\"")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | #![deny(warnings, missing_docs, missing_debug_implementations)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debug.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | try!(write!(fmt, "\\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debug.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | try!(write!(fmt, "\\r")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debug.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | try!(write!(fmt, "\\t")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debug.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | try!(write!(fmt, "\\{}", c as char)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debug.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | try!(write!(fmt, "\\0")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debug.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | try!(write!(fmt, "{}", c as char)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debug.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | try!(write!(fmt, "\\x{:02x}", c)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debug.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | try!(write!(fmt, "\"")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/bytes.rs:1550:40 [INFO] [stdout] | [INFO] [stdout] 1550 | let mut inner: Inner = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/bytes.rs:1736:40 [INFO] [stdout] | [INFO] [stdout] 1736 | let mut inner: Inner = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/bytes.rs:2012:36 [INFO] [stdout] | [INFO] [stdout] 2012 | let mut inner: Inner = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `microcrates-bytes` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `write` found for struct `alloc::vec::Vec<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:338:27 [INFO] [stdout] | [INFO] [stdout] 338 | assert_eq!(writer.write(&[0]).unwrap(), 1); [INFO] [stdout] | ^^^^^ method not found in `alloc::vec::Vec<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::io::Write;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `alloc::vec::Vec<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:339:27 [INFO] [stdout] | [INFO] [stdout] 339 | assert_eq!(writer.write(&[1, 2, 3]).unwrap(), 3); [INFO] [stdout] | ^^^^^ method not found in `alloc::vec::Vec<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::io::Write;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `alloc::vec::Vec<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:340:27 [INFO] [stdout] | [INFO] [stdout] 340 | assert_eq!(writer.write(&[4, 5, 6, 7]).unwrap(), 4); [INFO] [stdout] | ^^^^^ method not found in `alloc::vec::Vec<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::io::Write;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:349:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 349 | assert_eq!(writer.write(&[0]).unwrap(), 1); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:350:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 350 | assert_eq!(writer.write(&[1, 2, 3]).unwrap(), 3); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:351:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 351 | assert_eq!(writer.write(&[4, 5, 6, 7]).unwrap(), 4); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor<&mut alloc::vec::Vec<_>>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:361:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 361 | assert_eq!(writer.write(&[0]).unwrap(), 1); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor<&mut alloc::vec::Vec<_>>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor<&mut alloc::vec::Vec<_>>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:362:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 362 | assert_eq!(writer.write(&[1, 2, 3]).unwrap(), 3); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor<&mut alloc::vec::Vec<_>>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor<&mut alloc::vec::Vec<_>>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:363:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 363 | assert_eq!(writer.write(&[4, 5, 6, 7]).unwrap(), 4); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor<&mut alloc::vec::Vec<_>>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:372:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 372 | assert_eq!(writer.write(&[0]).unwrap(), 1); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:374:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 374 | assert_eq!(writer.write(&[1, 2, 3]).unwrap(), 3); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:375:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 375 | assert_eq!(writer.write(&[4, 5, 6, 7]).unwrap(), 4); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:377:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 377 | assert_eq!(writer.write(&[]).unwrap(), 0); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:380:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 380 | assert_eq!(writer.write(&[8, 9]).unwrap(), 1); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:381:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 381 | assert_eq!(writer.write(&[10]).unwrap(), 0); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor<&mut [u8]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:392:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 392 | assert_eq!(writer.write(&[0]).unwrap(), 1); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor<&mut [u8]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor<&mut [u8]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:394:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 394 | assert_eq!(writer.write(&[1, 2, 3]).unwrap(), 3); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor<&mut [u8]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor<&mut [u8]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:395:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 395 | assert_eq!(writer.write(&[4, 5, 6, 7]).unwrap(), 4); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor<&mut [u8]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor<&mut [u8]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:397:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 397 | assert_eq!(writer.write(&[]).unwrap(), 0); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor<&mut [u8]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor<&mut [u8]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:400:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 400 | assert_eq!(writer.write(&[8, 9]).unwrap(), 1); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor<&mut [u8]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor<&mut [u8]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:401:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 401 | assert_eq!(writer.write(&[10]).unwrap(), 0); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor<&mut [u8]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor<&mut [u8]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:413:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 413 | assert_eq!(writer.write(&[1]).unwrap(), 1); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor<&mut [u8]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<&mut [u8]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:416:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 416 | assert_eq!(writer.seek(SeekFrom::Start(2)).unwrap(), 2); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<&mut [u8]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor<&mut [u8]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:418:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 418 | assert_eq!(writer.write(&[2]).unwrap(), 1); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor<&mut [u8]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<&mut [u8]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:421:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 421 | assert_eq!(writer.seek(SeekFrom::Current(-2)).unwrap(), 1); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<&mut [u8]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor<&mut [u8]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:423:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 423 | assert_eq!(writer.write(&[3]).unwrap(), 1); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor<&mut [u8]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<&mut [u8]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:426:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 426 | assert_eq!(writer.seek(SeekFrom::End(-1)).unwrap(), 7); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<&mut [u8]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor<&mut [u8]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:428:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 428 | assert_eq!(writer.write(&[4]).unwrap(), 1); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor<&mut [u8]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor<&mut [u8]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:440:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 440 | assert_eq!(writer.write(&[0]).unwrap(), 1); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor<&mut [u8]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor<&mut [u8]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:441:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 441 | assert_eq!(writer.write(&[0, 0]).unwrap(), 1); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor<&mut [u8]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor<&mut [u8]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:442:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 442 | assert_eq!(writer.write(&[0, 0]).unwrap(), 0); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor<&mut [u8]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:449:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 449 | assert_eq!(reader.read(&mut buf).unwrap(), 0); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:452:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 452 | assert_eq!(reader.read(&mut buf).unwrap(), 1); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:457:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 457 | assert_eq!(reader.read(&mut buf).unwrap(), 4); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:461:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 461 | assert_eq!(reader.read(&mut buf).unwrap(), 3); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:464:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 464 | assert_eq!(reader.read(&mut buf).unwrap(), 0); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:471:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 471 | assert_eq!(reader.read(&mut buf).unwrap(), 0); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:474:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 474 | assert_eq!(reader.read(&mut buf).unwrap(), 1); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:479:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 479 | assert_eq!(reader.read(&mut buf).unwrap(), 4); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:483:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 483 | assert_eq!(reader.read(&mut buf).unwrap(), 3); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:486:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 486 | assert_eq!(reader.read(&mut buf).unwrap(), 0); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_to_end` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:493:16 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `read_to_end` not found for this [INFO] [stdout] ... [INFO] [stdout] 493 | reader.read_to_end(&mut v).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read_to_end`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:542:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 542 | assert_eq!(reader.read(&mut buf).unwrap(), 0); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:545:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 545 | assert_eq!(reader.read(&mut buf).unwrap(), 1); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:550:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 550 | assert_eq!(reader.read(&mut buf).unwrap(), 4); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:554:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 554 | assert_eq!(reader.read(&mut buf).unwrap(), 3); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:557:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 557 | assert_eq!(reader.read(&mut buf).unwrap(), 0); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<&[{integer}]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:583:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 583 | assert_eq!(r.seek(SeekFrom::Start(10)).unwrap(), 10); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<&[{integer}]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `cursor::Cursor<&[{integer}]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:584:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 584 | assert_eq!(r.read(&mut [0]).unwrap(), 0); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<&[{integer}]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:587:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 587 | assert_eq!(r.seek(SeekFrom::Start(10)).unwrap(), 10); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:588:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 588 | assert_eq!(r.read(&mut [0]).unwrap(), 0); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<&mut [{integer}]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:592:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 592 | assert_eq!(r.seek(SeekFrom::Start(10)).unwrap(), 10); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<&mut [{integer}]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor<&mut [{integer}]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:593:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 593 | assert_eq!(r.write(&[3]).unwrap(), 0); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor<&mut [{integer}]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:596:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 596 | assert_eq!(r.seek(SeekFrom::Start(10)).unwrap(), 10); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:597:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 597 | assert_eq!(r.write(&[3]).unwrap(), 0); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<&[{integer}]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:604:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 604 | assert_eq!(r.seek(SeekFrom::Start(6)).unwrap(), 6); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<&[{integer}]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<&[{integer}]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:605:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 605 | assert_eq!(r.seek(SeekFrom::Current(0x7ffffffffffffff0)).unwrap(), 0x7ffffffffffffff6); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<&[{integer}]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<&[{integer}]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:606:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 606 | assert_eq!(r.seek(SeekFrom::Current(0x10)).unwrap(), 0x8000000000000006); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<&[{integer}]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<&[{integer}]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:607:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 607 | assert_eq!(r.seek(SeekFrom::Current(0)).unwrap(), 0x8000000000000006); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<&[{integer}]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<&[{integer}]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:608:19 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 608 | assert!(r.seek(SeekFrom::Current(0x7ffffffffffffffd)).is_err()); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<&[{integer}]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<&[{integer}]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:609:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 609 | assert_eq!(r.seek(SeekFrom::Current(-0x8000000000000000)).unwrap(), 6); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<&[{integer}]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:612:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 612 | assert_eq!(r.seek(SeekFrom::Start(6)).unwrap(), 6); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:613:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 613 | assert_eq!(r.seek(SeekFrom::Current(0x7ffffffffffffff0)).unwrap(), 0x7ffffffffffffff6); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:614:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 614 | assert_eq!(r.seek(SeekFrom::Current(0x10)).unwrap(), 0x8000000000000006); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:615:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 615 | assert_eq!(r.seek(SeekFrom::Current(0)).unwrap(), 0x8000000000000006); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:616:19 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 616 | assert!(r.seek(SeekFrom::Current(0x7ffffffffffffffd)).is_err()); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:617:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 617 | assert_eq!(r.seek(SeekFrom::Current(-0x8000000000000000)).unwrap(), 6); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<&mut [{integer}]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:621:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 621 | assert_eq!(r.seek(SeekFrom::Start(6)).unwrap(), 6); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<&mut [{integer}]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<&mut [{integer}]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:622:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 622 | assert_eq!(r.seek(SeekFrom::Current(0x7ffffffffffffff0)).unwrap(), 0x7ffffffffffffff6); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<&mut [{integer}]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<&mut [{integer}]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:623:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 623 | assert_eq!(r.seek(SeekFrom::Current(0x10)).unwrap(), 0x8000000000000006); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<&mut [{integer}]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<&mut [{integer}]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:624:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 624 | assert_eq!(r.seek(SeekFrom::Current(0)).unwrap(), 0x8000000000000006); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<&mut [{integer}]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<&mut [{integer}]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:625:19 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 625 | assert!(r.seek(SeekFrom::Current(0x7ffffffffffffffd)).is_err()); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<&mut [{integer}]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<&mut [{integer}]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:626:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 626 | assert_eq!(r.seek(SeekFrom::Current(-0x8000000000000000)).unwrap(), 6); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<&mut [{integer}]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:629:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 629 | assert_eq!(r.seek(SeekFrom::Start(6)).unwrap(), 6); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:630:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 630 | assert_eq!(r.seek(SeekFrom::Current(0x7ffffffffffffff0)).unwrap(), 0x7ffffffffffffff6); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:631:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 631 | assert_eq!(r.seek(SeekFrom::Current(0x10)).unwrap(), 0x8000000000000006); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:632:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 632 | assert_eq!(r.seek(SeekFrom::Current(0)).unwrap(), 0x8000000000000006); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:633:19 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 633 | assert!(r.seek(SeekFrom::Current(0x7ffffffffffffffd)).is_err()); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:634:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 634 | assert_eq!(r.seek(SeekFrom::Current(-0x8000000000000000)).unwrap(), 6); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<&[{integer}]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:641:19 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 641 | assert!(r.seek(SeekFrom::End(-2)).is_err()); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<&[{integer}]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:644:19 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 644 | assert!(r.seek(SeekFrom::End(-2)).is_err()); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<&mut [{integer}]>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:648:19 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 648 | assert!(r.seek(SeekFrom::End(-2)).is_err()); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<&mut [{integer}]>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:651:19 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 651 | assert!(r.seek(SeekFrom::End(-2)).is_err()); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:659:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 659 | assert_eq!(writer.write(&[0]).unwrap(), 1); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:661:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 661 | assert_eq!(writer.write(&[1, 2, 3]).unwrap(), 3); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:662:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 662 | assert_eq!(writer.write(&[4, 5, 6, 7]).unwrap(), 4); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:667:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 667 | assert_eq!(writer.seek(SeekFrom::Start(0)).unwrap(), 0); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:669:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 669 | assert_eq!(writer.write(&[3, 4]).unwrap(), 2); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:673:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 673 | assert_eq!(writer.seek(SeekFrom::Current(1)).unwrap(), 3); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:674:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 674 | assert_eq!(writer.write(&[0, 1]).unwrap(), 2); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:678:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 678 | assert_eq!(writer.seek(SeekFrom::End(-1)).unwrap(), 7); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:679:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 679 | assert_eq!(writer.write(&[1, 2]).unwrap(), 2); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:683:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 683 | assert_eq!(writer.seek(SeekFrom::End(1)).unwrap(), 10); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:684:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 684 | assert_eq!(writer.write(&[1]).unwrap(), 1); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:693:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 693 | assert_eq!(r.seek(SeekFrom::Start(10)).unwrap(), 10); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:694:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 694 | assert_eq!(r.write(&[3]).unwrap(), 1); [INFO] [stdout] | ^^^^^ method not found in `cursor::Cursor>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:700:19 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this [INFO] [stdout] ... [INFO] [stdout] 700 | assert!(r.seek(SeekFrom::End(-2)).is_err()); [INFO] [stdout] | ^^^^ method not found in `cursor::Cursor>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 164 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7788f86f1bb7855ddfa72469cfd1909cf3bda1fe694b9772ee4aaabe4240dc5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7788f86f1bb7855ddfa72469cfd1909cf3bda1fe694b9772ee4aaabe4240dc5c", kill_on_drop: false }` [INFO] [stdout] 7788f86f1bb7855ddfa72469cfd1909cf3bda1fe694b9772ee4aaabe4240dc5c